diff options
author | Max Kellermann <max@duempel.org> | 2014-08-12 15:56:41 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-12 15:56:41 +0200 |
commit | c94b4466d52c3c625467312ea565a4685184c517 (patch) | |
tree | 940116e9613eacca9746c7f1dfa729048d34f628 /src/output/OutputThread.cxx | |
parent | 61f9e79ec9921ccf5a5cd53707b8ae161c380bc4 (diff) | |
download | mpd-c94b4466d52c3c625467312ea565a4685184c517.tar.gz mpd-c94b4466d52c3c625467312ea565a4685184c517.tar.xz mpd-c94b4466d52c3c625467312ea565a4685184c517.zip |
MusicChunk: rename struct to MusicChunk
Diffstat (limited to '')
-rw-r--r-- | src/output/OutputThread.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/output/OutputThread.cxx b/src/output/OutputThread.cxx index a7fb2b87f..1986d2e1b 100644 --- a/src/output/OutputThread.cxx +++ b/src/output/OutputThread.cxx @@ -307,7 +307,7 @@ AudioOutput::WaitForDelay() } static const void * -ao_chunk_data(AudioOutput *ao, const struct music_chunk *chunk, +ao_chunk_data(AudioOutput *ao, const MusicChunk *chunk, Filter *replay_gain_filter, unsigned *replay_gain_serial_p, size_t *length_r) @@ -347,7 +347,7 @@ ao_chunk_data(AudioOutput *ao, const struct music_chunk *chunk, } static const void * -ao_filter_chunk(AudioOutput *ao, const struct music_chunk *chunk, +ao_filter_chunk(AudioOutput *ao, const MusicChunk *chunk, size_t *length_r) { size_t length; @@ -417,7 +417,7 @@ ao_filter_chunk(AudioOutput *ao, const struct music_chunk *chunk, } inline bool -AudioOutput::PlayChunk(const music_chunk *chunk) +AudioOutput::PlayChunk(const MusicChunk *chunk) { assert(filter != nullptr); @@ -478,7 +478,7 @@ AudioOutput::PlayChunk(const music_chunk *chunk) return true; } -inline const music_chunk * +inline const MusicChunk * AudioOutput::GetNextChunk() const { return current_chunk != nullptr @@ -493,7 +493,7 @@ AudioOutput::Play() { assert(pipe != nullptr); - const music_chunk *chunk = GetNextChunk(); + const MusicChunk *chunk = GetNextChunk(); if (chunk == nullptr) /* no chunk available */ return false; |