[MPlayer-dev-eng] [PATCH] enable ao_alsa AOCONTROL_{GET, SET}_VOLUME on bigendian
Emanuele Giaquinta
e.giaquinta at glauco.it
Tue Oct 3 19:49:44 CEST 2006
Hi,
The AOCONTROL_{GET,SET}_VOLUME controls in ao_alsa are conditional to
!WORDS_BIGENDIAN for no apparent reason; on ppc they work fine, am I
missing anything?
--
Emanuele Giaquinta
-------------- next part --------------
Index: libao2/ao_alsa.c
===================================================================
--- libao2/ao_alsa.c (revision 20016)
+++ libao2/ao_alsa.c (working copy)
@@ -98,7 +98,6 @@
switch(cmd) {
case AOCONTROL_QUERY_FORMAT:
return CONTROL_TRUE;
-#ifndef WORDS_BIGENDIAN
case AOCONTROL_GET_VOLUME:
case AOCONTROL_SET_VOLUME:
{
@@ -229,7 +228,6 @@
snd_mixer_close(handle);
return CONTROL_OK;
}
-#endif
} //end switch
return(CONTROL_UNKNOWN);
More information about the MPlayer-dev-eng
mailing list