diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-20 17:07:13 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-20 17:07:13 +0000 |
commit | 6eb6c454be37c54a34fc871e21a9b1cc2ad41b89 (patch) | |
tree | cf26c19c6820838ed33c359f0b354397bd3828f0 /src/decode.c | |
parent | d8dbd29c2dfd743bdcc152cad0c634b5a32121fc (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/decode.c | 4 |
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; |