fix a few bugs in mp3_decode and minimize alsa underruns by playing silence when switch songs

git-svn-id: https://svn.musicpd.org/mpd/trunk@1572 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-06-19 22:27:29 +00:00
parent 7f15536683
commit dbd79a6b47
5 changed files with 20 additions and 10 deletions

View File

@@ -321,9 +321,8 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
ov_pcm_tell(&vf)/
dc->audioFormat.sampleRate,
bitRate);
if(dc->stop) break;
chunkpos = 0;
if(dc->stop) break;
}
}