summaryrefslogtreecommitdiffstats
path: root/Alc/wave.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-21 05:03:40 -0700
committerChris Robinson <[email protected]>2009-09-21 05:03:40 -0700
commitb641f993accd1aa8a6e6fa1300888d35e00de90f (patch)
treed94c8f1e5bbf60b03c840516e24ecc5da292c092 /Alc/wave.c
parente2905b6bc9056f148b0e7ebcb8201ac32c730c4a (diff)
Hide the wave writer device if no output file is set
Diffstat (limited to 'Alc/wave.c')
-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)