diff options
author | Chris Robinson <[email protected]> | 2009-09-21 05:03:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-21 05:03:40 -0700 |
commit | b641f993accd1aa8a6e6fa1300888d35e00de90f (patch) | |
tree | d94c8f1e5bbf60b03c840516e24ecc5da292c092 /Alc | |
parent | e2905b6bc9056f148b0e7ebcb8201ac32c730c4a (diff) |
Hide the wave writer device if no output file is set
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/wave.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |