Rename GetReverbEffect to LoadReverbPreset

This commit is contained in:
Chris Robinson 2012-03-13 15:48:51 -07:00
parent 07e34cc3cf
commit e356527a88
3 changed files with 4 additions and 6 deletions

View File

@ -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);
}

View File

@ -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
}

View File

@ -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;