[Mplayer-cvslog] CVS: main/libao2 ao_alsa9.c,1.17,1.18
Alex Beregszaszi
alex at mplayerhq.hu
Sun May 26 14:30:57 CEST 2002
Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv31704
Modified Files:
ao_alsa9.c
Log Message:
removed unused controls
Index: ao_alsa9.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_alsa9.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ao_alsa9.c 26 May 2002 12:23:19 -0000 1.17
+++ ao_alsa9.c 26 May 2002 12:30:54 -0000 1.18
@@ -175,23 +175,6 @@
/* to set/get/query special features/parameters */
static int control(int cmd, int arg)
{
- switch(cmd)
- {
- case AOCONTROL_GET_DEVICE:
- return((char *)alsa_device); /* egy kicsit brutalis, dehat :) */
- case AOCONTROL_SET_DEVICE:
- {
- int ret;
-
- strncpy(alsa_device, (char *)arg, ALSA_DEVICE_SIZE);
- uninit();
- ret = init(ao_data.samplerate, ao_data.channels, ao_data.format, 0);
- if (ret == 0)
- return(CONTROL_ERROR);
- else
- return(CONTROL_OK);
- }
- }
return(CONTROL_UNKNOWN);
}
More information about the MPlayer-cvslog
mailing list