[Mplayer-cvslog] CVS: main/libao2 ao_alsa9.c,1.37,1.38

Alex Beregszaszi alex at mplayerhq.hu
Mon Aug 18 15:39:34 CEST 2003


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

Modified Files:
	ao_alsa9.c 
Log Message:
100l

Index: ao_alsa9.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa9.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ao_alsa9.c	15 Aug 2003 18:02:24 -0000	1.37
+++ ao_alsa9.c	18 Aug 2003 13:39:07 -0000	1.38
@@ -85,10 +85,9 @@
   switch(cmd) {
   case AOCONTROL_QUERY_FORMAT:
     return CONTROL_TRUE;
+#ifndef WORDS_BIGENDIAN 
   case AOCONTROL_GET_VOLUME:
   case AOCONTROL_SET_VOLUME:
-#ifndef WORDS_BIGENDIAN 
-{ //seems to be a problem on macs?
     {
       ao_control_vol_t *vol = (ao_control_vol_t *)arg;
 
@@ -181,17 +180,9 @@
       snd_mixer_close(handle);
       return CONTROL_OK;
     }
-}// end big-endian
-#endif
-#ifdef WORDS_BIGENDIAN
-{
-  {
-    return (CONTROL_UNKNOWN);
-  }
-}
 #endif
     
-  } //end witch
+  } //end switch
   return(CONTROL_UNKNOWN);
 }
 
@@ -393,7 +384,7 @@
 
       default:
 	fprintf(stderr, "%d channels are not supported\n", channels);
-	exit (0);
+	return(0);
       }
 
       alsa_device = devstr;



More information about the MPlayer-cvslog mailing list