Mercurial > mplayer.hg
comparison libao2/ao_oss.c @ 12383:94ba609e53f7
ok this one is beyond stupid. the code didn't even do what was intended
author | rfelker |
---|---|
date | Sat, 01 May 2004 19:43:59 +0000 |
parents | 99798c3cdb93 |
children | c1955840883d |
comparison
equal
deleted
inserted
replaced
12382:a830eebf6693 | 12383:94ba609e53f7 |
---|---|
44 switch(cmd){ | 44 switch(cmd){ |
45 case AOCONTROL_SET_DEVICE: | 45 case AOCONTROL_SET_DEVICE: |
46 dsp=(char*)arg; | 46 dsp=(char*)arg; |
47 return CONTROL_OK; | 47 return CONTROL_OK; |
48 case AOCONTROL_GET_DEVICE: | 48 case AOCONTROL_GET_DEVICE: |
49 (char*)arg=dsp; | 49 *(char**)arg=dsp; |
50 return CONTROL_OK; | 50 return CONTROL_OK; |
51 case AOCONTROL_QUERY_FORMAT: | 51 case AOCONTROL_QUERY_FORMAT: |
52 return CONTROL_TRUE; | 52 return CONTROL_TRUE; |
53 case AOCONTROL_GET_VOLUME: | 53 case AOCONTROL_GET_VOLUME: |
54 case AOCONTROL_SET_VOLUME: | 54 case AOCONTROL_SET_VOLUME: |