aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-04 15:02:39 +0100
committerMax Kellermann <max@duempel.org>2009-01-04 15:02:39 +0100
commit63181233bb2a28ccd3776d48aa2229df920c2ed3 (patch)
tree5f9d029f9b41978f76f3be647248685fe79457c0 /src/command.c
parent16c224a7fa542eba121203512ef7f2b953f8e7f1 (diff)
downloadmpd-63181233bb2a28ccd3776d48aa2229df920c2ed3.tar.gz
mpd-63181233bb2a28ccd3776d48aa2229df920c2ed3.tar.xz
mpd-63181233bb2a28ccd3776d48aa2229df920c2ed3.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/command.c')
0 files changed, 0 insertions, 0 deletions