aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-13 15:48:51 -0700
committerChris Robinson <[email protected]>2012-03-13 15:48:51 -0700
commite356527a886dc412e023c3e500f199cd3b9c814e (patch)
tree48c796feb680dc9359de8935a2af14b28bcd6f8f /Alc
parent07e34cc3cf0c741c1c0092bf78f2ae19fa0177a4 (diff)
Rename GetReverbEffect to LoadReverbPreset
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 0c47818e..c2c3cebd 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -724,10 +724,8 @@ static void alc_initconfig(void)
InitEffect(&DefaultEffect);
str = getenv("ALSOFT_DEFAULT_REVERB");
- if(str && str[0])
- GetReverbEffect(str, &DefaultEffect);
- else if(ConfigValueStr(NULL, "default-reverb", &str))
- GetReverbEffect(str, &DefaultEffect);
+ if((str && str[0]) || ConfigValueStr(NULL, "default-reverb", &str))
+ LoadReverbPreset(str, &DefaultEffect);
}