[Mplayer-cvslog] CVS: main mixer.c,1.12,1.13

Alex Beregszaszi alex at mplayerhq.hu
Fri Mar 21 17:41:23 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv17598

Modified Files:
	mixer.c 
Log Message:
64bit libao2 fix by Jens Axboe <mplayer-dev at kernel.dk>

Index: mixer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mixer.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- mixer.c	6 Jun 2002 07:13:42 -0000	1.12
+++ mixer.c	21 Mar 2003 16:41:16 -0000	1.13
@@ -22,7 +22,7 @@
   ao_control_vol_t vol;
   *l=0; *r=0;
   if(audio_out){
-    if(CONTROL_OK != audio_out->control(AOCONTROL_GET_VOLUME,(int)&vol))
+    if(CONTROL_OK != audio_out->control(AOCONTROL_GET_VOLUME,&vol))
       return;
     *r=vol.right;
     *l=vol.left;
@@ -34,7 +34,7 @@
   ao_control_vol_t vol;
   vol.right=r; vol.left=l;
   if(audio_out){
-    if(CONTROL_OK != audio_out->control(AOCONTROL_SET_VOLUME,(int)&vol))
+    if(CONTROL_OK != audio_out->control(AOCONTROL_SET_VOLUME,&vol))
       return;
   }
  muted=0;



More information about the MPlayer-cvslog mailing list