[Mplayer-cvslog] CVS: main/libao2 ao_sdl.c,1.17,1.18
Arpi of Ize
arpi at mplayerhq.hu
Mon Oct 7 22:01:31 CEST 2002
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv6617
Modified Files:
ao_sdl.c
Log Message:
fill ao_data correctly
Index: ao_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_sdl.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ao_sdl.c 9 Aug 2002 21:30:20 -0000 1.17
+++ ao_sdl.c 7 Oct 2002 20:01:28 -0000 1.18
@@ -160,6 +160,10 @@
printf("SDL: using %s audio driver\n", ao_subdevice);
}
+ ao_data.channels=channels;
+ ao_data.samplerate=rate;
+ ao_data.format=format;
+
ao_data.bps=channels*rate;
if(format != AFMT_U8 && format != AFMT_S8)
ao_data.bps*=2;
More information about the MPlayer-cvslog
mailing list