diff options
Diffstat (limited to 'libao2/ao_oss.c')
-rw-r--r-- | libao2/ao_oss.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libao2/ao_oss.c b/libao2/ao_oss.c index f55143d053..95044ffa53 100644 --- a/libao2/ao_oss.c +++ b/libao2/ao_oss.c @@ -46,6 +46,9 @@ static int control(int cmd,int arg){ case AOCONTROL_SET_DEVICE: dsp=(char*)arg; return CONTROL_OK; + case AOCONTROL_GET_DEVICE: + (char*)arg=dsp; + return CONTROL_OK; case AOCONTROL_QUERY_FORMAT: return CONTROL_TRUE; case AOCONTROL_GET_VOLUME: |