Hide the wave writer device if no output file is set

This commit is contained in:
Chris Robinson
2009-09-21 05:03:40 -07:00
parent e2905b6bc9
commit b641f993ac
+3
View File
@@ -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)