[Mplayer-cvslog] CVS: main/libmpcodecs ad_roqaudio.c,1.2,1.3

Mike Melanson melanson at mplayer.dev.hu
Sun Mar 31 19:25:14 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv28156/libmpcodecs

Modified Files:
	ad_roqaudio.c 
Log Message:
fixed ibps


Index: ad_roqaudio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_roqaudio.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ad_roqaudio.c	26 Mar 2002 04:22:47 -0000	1.2
+++ ad_roqaudio.c	31 Mar 2002 17:25:11 -0000	1.3
@@ -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)




More information about the MPlayer-cvslog mailing list