aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutput_shout.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-10-23 12:58:59 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-10-23 12:58:59 +0000
commit23c59e8cdaa40bc1902893c9dae862024edac66a (patch)
treeb54d757fdc294a907b5682821517557d68295a10 /src/audioOutput_shout.c
parent480023201aeaa198137c592eebcaff84bf59a5aa (diff)
downloadmpd-23c59e8cdaa40bc1902893c9dae862024edac66a.tar.gz
mpd-23c59e8cdaa40bc1902893c9dae862024edac66a.tar.xz
mpd-23c59e8cdaa40bc1902893c9dae862024edac66a.zip
wee found the audioFormatConversion bug, was actually a bug in shout plugin
git-svn-id: https://svn.musicpd.org/mpd/trunk@2311 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/audioOutput_shout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioOutput_shout.c b/src/audioOutput_shout.c
index 628483d21..3d3c332a3 100644
--- a/src/audioOutput_shout.c
+++ b/src/audioOutput_shout.c
@@ -321,7 +321,7 @@ static int shout_play(AudioOutput * audioOutput, char * playChunk, int size) {
}
}
- vorbis_analysis_wrote(&(sd->vd), size/4);
+ vorbis_analysis_wrote(&(sd->vd), samples);
while(1 == vorbis_analysis_blockout(&(sd->vd), &(sd->vb))) {
vorbis_analysis(&(sd->vb), NULL);