diff options
Diffstat (limited to 'Alc/mmdevapi.c')
-rw-r--r-- | Alc/mmdevapi.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Alc/mmdevapi.c b/Alc/mmdevapi.c index 44ef45bc..abfa9fe6 100644 --- a/Alc/mmdevapi.c +++ b/Alc/mmdevapi.c @@ -561,12 +561,19 @@ void alcMMDevApiDeinit(void) } } -void alcMMDevApiProbe(int type) +void alcMMDevApiProbe(enum DevProbe type) { if(!MMDevApiLoad()) return; - if(type == DEVICE_PROBE) - AppendDeviceList(mmDevice); - else if(type == ALL_DEVICE_PROBE) - AppendAllDeviceList(mmDevice); + switch(type) + { + case DEVICE_PROBE: + AppendDeviceList(mmDevice); + break; + case ALL_DEVICE_PROBE: + AppendAllDeviceList(mmDevice); + break; + case CAPTURE_DEVICE_PROBE: + break; + } } |