diff options
Diffstat (limited to 'Alc/null.c')
-rw-r--r-- | Alc/null.c | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -173,10 +173,17 @@ void alc_null_deinit(void) { } -void alc_null_probe(int type) +void alc_null_probe(enum DevProbe type) { - if(type == DEVICE_PROBE) - AppendDeviceList(nullDevice); - else if(type == ALL_DEVICE_PROBE) - AppendAllDeviceList(nullDevice); + switch(type) + { + case DEVICE_PROBE: + AppendDeviceList(nullDevice); + break; + case ALL_DEVICE_PROBE: + AppendAllDeviceList(nullDevice); + break; + case CAPTURE_DEVICE_PROBE: + break; + } } |