aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/wave.c')
-rw-r--r--Alc/wave.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index 47f43b66..d960588c 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -366,11 +366,16 @@ BackendFuncs wave_funcs = {
void alc_wave_init(BackendFuncs *func_list)
{
*func_list = wave_funcs;
-
- AppendDeviceList(waveDevice);
- AppendAllDeviceList(waveDevice);
}
void alc_wave_deinit(void)
{
}
+
+void alc_wave_probe(int type)
+{
+ if(type == DEVICE_PROBE)
+ AppendDeviceList(waveDevice);
+ else if(type == ALL_DEVICE_PROBE)
+ AppendAllDeviceList(waveDevice);
+}