diff options
author | Chris Robinson <[email protected]> | 2012-03-13 15:48:51 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-13 15:48:51 -0700 |
commit | e356527a886dc412e023c3e500f199cd3b9c814e (patch) | |
tree | 48c796feb680dc9359de8935a2af14b28bcd6f8f | |
parent | 07e34cc3cf0c741c1c0092bf78f2ae19fa0177a4 (diff) |
Rename GetReverbEffect to LoadReverbPreset
-rw-r--r-- | Alc/ALc.c | 6 | ||||
-rw-r--r-- | OpenAL32/Include/alEffect.h | 2 | ||||
-rw-r--r-- | OpenAL32/alEffect.c | 2 |
3 files changed, 4 insertions, 6 deletions
@@ -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); } diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index a52eee23..ff7acc46 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -105,7 +105,7 @@ static __inline ALboolean IsReverbEffect(ALenum type) ALenum InitEffect(ALeffect *effect); ALvoid ReleaseALEffects(ALCdevice *device); -ALvoid GetReverbEffect(const char *name, ALeffect *effect); +ALvoid LoadReverbPreset(const char *name, ALeffect *effect); #ifdef __cplusplus } diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index 335b51c4..e00a3fb9 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -1451,7 +1451,7 @@ static const struct { #undef DECL static const ALsizei reverblistsize = COUNTOF(reverblist); -ALvoid GetReverbEffect(const char *name, ALeffect *effect) +ALvoid LoadReverbPreset(const char *name, ALeffect *effect) { int i; |