• Max Kellermann's avatar
    player_thread: fix cross-fading duplicate chunk bug · 55b6fd2f
    Max Kellermann authored
    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.
    55b6fd2f
player_thread.c 13.2 KB