diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-19 22:27:29 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-19 22:27:29 +0000 |
commit | dbd79a6b47d1cf09f3ccc8df5ef1a8e1dfedd853 (patch) | |
tree | efa08ce06db6b210c91d8f2bf82d21a89975efa2 /src/inputPlugins/ogg_plugin.c | |
parent | 7f1553668329eb155629ef5a07b9161a26267d80 (diff) | |
download | mpd-dbd79a6b47d1cf09f3ccc8df5ef1a8e1dfedd853.tar.gz mpd-dbd79a6b47d1cf09f3ccc8df5ef1a8e1dfedd853.tar.xz mpd-dbd79a6b47d1cf09f3ccc8df5ef1a8e1dfedd853.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/ogg_plugin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inputPlugins/ogg_plugin.c b/src/inputPlugins/ogg_plugin.c index b50ea5ea1..adf11cf69 100644 --- a/src/inputPlugins/ogg_plugin.c +++ b/src/inputPlugins/ogg_plugin.c @@ -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; } } |