aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/audiofile_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-17 23:57:10 +0100
committerMax Kellermann <max@duempel.org>2009-02-17 23:57:10 +0100
commit9d2f16d8272498f0c4b641ccfc493c849f558a5f (patch)
treed036507078814262ba76e06c1f73e0c3766f278e /src/decoder/audiofile_plugin.c
parent4aca1fa4935a42ccc7c330ff28ebd69b8f96e33c (diff)
downloadmpd-9d2f16d8272498f0c4b641ccfc493c849f558a5f.tar.gz
mpd-9d2f16d8272498f0c4b641ccfc493c849f558a5f.tar.xz
mpd-9d2f16d8272498f0c4b641ccfc493c849f558a5f.zip
player_thread: don't drop audio buffers when not seekable
When a file is not seekable, MPD dropped the audio buffers before even attempting to seek. This caused noticable sound corruption. Fix: first attempt to seek, and only if that succeeds, call audio_output_all_cancel().
Diffstat (limited to 'src/decoder/audiofile_plugin.c')
0 files changed, 0 insertions, 0 deletions