diff options
author | Max Kellermann <max@duempel.org> | 2009-03-07 21:41:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-07 21:41:23 +0100 |
commit | 85cc46ad6fc9c7e2edfc274011f5c7a94e5e0b3e (patch) | |
tree | 282c3e686e300d70e06c4880261c772713d58ede /src/pcm_resample_libsamplerate.c | |
parent | eb2e3a554d25b2d829bb435c2f2114e935c236a6 (diff) | |
download | mpd-85cc46ad6fc9c7e2edfc274011f5c7a94e5e0b3e.tar.gz mpd-85cc46ad6fc9c7e2edfc274011f5c7a94e5e0b3e.tar.xz mpd-85cc46ad6fc9c7e2edfc274011f5c7a94e5e0b3e.zip |
decoder_internal: don't push empty chunk into pipe
When the decoder chunk is empty in decoder_flush_chunk(), don't push
it into the music pipe - return it to the music buffer instead. An
empty chunk in the pipe wastes resources for no advantage.
Diffstat (limited to 'src/pcm_resample_libsamplerate.c')
0 files changed, 0 insertions, 0 deletions