aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index 0b22ee27..22837978 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -343,13 +343,20 @@ void alc_wave_deinit(void)
{
}
-void alc_wave_probe(int type)
+void alc_wave_probe(enum DevProbe type)
{
if(!ConfigValueExists("wave", "file"))
return;
- if(type == DEVICE_PROBE)
- AppendDeviceList(waveDevice);
- else if(type == ALL_DEVICE_PROBE)
- AppendAllDeviceList(waveDevice);
+ switch(type)
+ {
+ case DEVICE_PROBE:
+ AppendDeviceList(waveDevice);
+ break;
+ case ALL_DEVICE_PROBE:
+ AppendAllDeviceList(waveDevice);
+ break;
+ case CAPTURE_DEVICE_PROBE:
+ break;
+ }
}