From b641f993accd1aa8a6e6fa1300888d35e00de90f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 21 Sep 2009 05:03:40 -0700 Subject: [PATCH] Hide the wave writer device if no output file is set --- Alc/wave.c | 3 +++ 1 file changed, 3 insertions(+) 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)