diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 14:55:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 14:55:02 +0100 |
commit | 55b6fd2f0c9b49f980d669e49dc6e04cbf4a769a (patch) | |
tree | 7d9e1d48fc113eeaab1d4eda3092ac83db78a3aa /src/output/null_plugin.c | |
parent | 96c18e7d159d5b4f38642982ed0b370f15b385e1 (diff) | |
download | mpd-55b6fd2f0c9b49f980d669e49dc6e04cbf4a769a.tar.gz mpd-55b6fd2f0c9b49f980d669e49dc6e04cbf4a769a.tar.xz mpd-55b6fd2f0c9b49f980d669e49dc6e04cbf4a769a.zip |
player_thread: fix cross-fading duplicate chunk bug
When the decoder of the new song is not fast enough, the player thread
has to wait for it for a moment. However the variable "nextChunk" was
reset to -1 during that, making the next loop iteration assume that
cross-fading has not begun yet. This patch overwrites it with "0"
while waiting.
Diffstat (limited to 'src/output/null_plugin.c')
0 files changed, 0 insertions, 0 deletions