comparison libao2/ao_oss.c @ 6795:776b686069af

- add some control (ao_oss, pl_extrastereo) - cosmetic
author pontscho
date Thu, 25 Jul 2002 20:28:47 +0000
parents 12826366a806
children 4a45ce284efc
comparison
equal deleted inserted replaced
6794:77980ab4e296 6795:776b686069af
43 // to set/get/query special features/parameters 43 // to set/get/query special features/parameters
44 static int control(int cmd,int arg){ 44 static int control(int cmd,int arg){
45 switch(cmd){ 45 switch(cmd){
46 case AOCONTROL_SET_DEVICE: 46 case AOCONTROL_SET_DEVICE:
47 dsp=(char*)arg; 47 dsp=(char*)arg;
48 return CONTROL_OK;
49 case AOCONTROL_GET_DEVICE:
50 (char*)arg=dsp;
48 return CONTROL_OK; 51 return CONTROL_OK;
49 case AOCONTROL_QUERY_FORMAT: 52 case AOCONTROL_QUERY_FORMAT:
50 return CONTROL_TRUE; 53 return CONTROL_TRUE;
51 case AOCONTROL_GET_VOLUME: 54 case AOCONTROL_GET_VOLUME:
52 case AOCONTROL_SET_VOLUME: 55 case AOCONTROL_SET_VOLUME: