diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-21 22:31:07 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-21 22:31:07 +0000 |
commit | 547e358796b9d82041b94f18f9ddcb972b8f1e7e (patch) | |
tree | a9a49eb760ebf7d3f77f2dffac74902996574b95 /src/flac_decode.c | |
parent | aea1ae9b9ec6d2e8d00d11ee59047a8e71afe123 (diff) | |
download | mpd-547e358796b9d82041b94f18f9ddcb972b8f1e7e.tar.gz mpd-547e358796b9d82041b94f18f9ddcb972b8f1e7e.tar.xz mpd-547e358796b9d82041b94f18f9ddcb972b8f1e7e.zip |
do input buffering in while sleeping loop of sending stuff to output buffer
git-svn-id: https://svn.musicpd.org/mpd/trunk@1125 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/flac_decode.c')
-rw-r--r-- | src/flac_decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flac_decode.c b/src/flac_decode.c index a721c0a62..6ef56d22e 100644 --- a/src/flac_decode.c +++ b/src/flac_decode.c @@ -376,8 +376,8 @@ int flacSendChunk(FlacData * data) { doReplayGain(data->chunk,data->chunk_length,&(data->dc->audioFormat), data->replayGainScale); - switch(sendDataToOutputBuffer(data->cb,data->dc,data->chunk, - data->chunk_length,data->time,data->bitRate)) + switch(sendDataToOutputBuffer(data->cb, NULL, data->dc, data->chunk, + data->chunk_length, data->time, data->bitRate)) { case OUTPUT_BUFFER_DC_STOP: return -1; |