call dropBufferedAudio() when pausing
git-svn-id: https://svn.musicpd.org/mpd/trunk@3732 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
a34c4af172
commit
deac206b1e
@ -243,7 +243,10 @@ int decodeSeek(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb,
|
||||
} \
|
||||
pc->pause = 0; \
|
||||
kill(getppid(),SIGUSR1); \
|
||||
if(pause) closeAudioDevice(); \
|
||||
if(pause) { \
|
||||
dropBufferedAudio(); \
|
||||
closeAudioDevice(); \
|
||||
} \
|
||||
} \
|
||||
if(pc->seek) { \
|
||||
dropBufferedAudio(); \
|
||||
|
Loading…
Reference in New Issue
Block a user