diff options
author | Max Kellermann <max@duempel.org> | 2013-01-04 21:38:46 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-04 21:38:46 +0100 |
commit | e9b71a0d2846321dcf3f985b9f6332d051374edd (patch) | |
tree | cc916958e67731f68e496459383a913e28509bda /src/OutputThread.cxx | |
parent | efbfe66f21a8865454bc7a9e32305c84c09ba4be (diff) | |
download | mpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.tar.gz mpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.tar.xz mpd-e9b71a0d2846321dcf3f985b9f6332d051374edd.zip |
MusicChunk: move functions to methods
Diffstat (limited to 'src/OutputThread.cxx')
-rw-r--r-- | src/OutputThread.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputThread.cxx b/src/OutputThread.cxx index e88efd389..6fddf15de 100644 --- a/src/OutputThread.cxx +++ b/src/OutputThread.cxx @@ -327,8 +327,8 @@ ao_chunk_data(struct audio_output *ao, const struct music_chunk *chunk, size_t *length_r) { assert(chunk != NULL); - assert(!music_chunk_is_empty(chunk)); - assert(music_chunk_check_format(chunk, &ao->in_audio_format)); + assert(!chunk->IsEmpty()); + assert(chunk->CheckFormat(ao->in_audio_format)); const void *data = chunk->data; size_t length = chunk->length; |