changeset 5422:978991a26bb0

fixed ibps
author melanson
date Sun, 31 Mar 2002 17:25:11 +0000
parents d1ff2c2f74f0
children 1a87310b5ca9
files libmpcodecs/ad_roqaudio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_roqaudio.c	Sun Mar 31 17:24:12 2002 +0000
+++ b/libmpcodecs/ad_roqaudio.c	Sun Mar 31 17:25:11 2002 +0000
@@ -30,7 +30,7 @@
 {
   sh_audio->channels=sh_audio->wf->nChannels;
   sh_audio->samplerate=sh_audio->wf->nSamplesPerSec;
-  sh_audio->i_bps = (sh_audio->channels * 22050) / 2;
+  sh_audio->i_bps = 44100;
 
   if ((sh_audio->a_in_buffer =
     (unsigned char *)malloc(sh_audio->audio_out_minsize / 2)) == NULL)