aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/wave.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/wave.c b/Alc/wave.c
index 60739738..11a66243 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -337,6 +337,9 @@ void alc_wave_deinit(void)
void alc_wave_probe(int type)
{
+ if(*(GetConfigValue("wave", "file", "")) == 0)
+ return;
+
if(type == DEVICE_PROBE)
AppendDeviceList(waveDevice);
else if(type == ALL_DEVICE_PROBE)