aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-20 17:07:13 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-20 17:07:13 +0000
commit6eb6c454be37c54a34fc871e21a9b1cc2ad41b89 (patch)
treecf26c19c6820838ed33c359f0b354397bd3828f0 /src/decode.c
parentd8dbd29c2dfd743bdcc152cad0c634b5a32121fc (diff)
downloadmpd-6eb6c454be37c54a34fc871e21a9b1cc2ad41b89.tar.gz
mpd-6eb6c454be37c54a34fc871e21a9b1cc2ad41b89.tar.xz
mpd-6eb6c454be37c54a34fc871e21a9b1cc2ad41b89.zip
fix qball's bug, crossfading playing with funny samplerate
git-svn-id: https://svn.musicpd.org/mpd/trunk@1585 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index e81cddb76..c42d130d6 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -486,7 +486,9 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
pc->queueState = PLAYER_QUEUE_DECODE;
kill(getppid(),SIGUSR1);
}
- if(next>=0 && doCrossFade==0 && !dc->start) {
+ if(next>=0 && doCrossFade==0 && !dc->start &&
+ dc->state!=DECODE_STATE_START)
+ {
nextChunk = -1;
if(isCurrentAudioFormat(&(cb->audioFormat))) {
doCrossFade = 1;