drop the current audio buffer when seeking
git-svn-id: https://svn.musicpd.org/mpd/trunk@3107 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
ee8172643e
commit
2a0fa93b16
@ -246,6 +246,7 @@ int decodeSeek(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb,
|
||||
if(pause) closeAudioDevice(); \
|
||||
} \
|
||||
if(pc->seek) { \
|
||||
dropBufferedAudio(); \
|
||||
if(decodeSeek(pc,dc,cb,&decodeWaitedOn,&next) == 0) { \
|
||||
doCrossFade = 0; \
|
||||
nextChunk = -1; \
|
||||
|
Loading…
Reference in New Issue
Block a user