Use a separate EffectStateFactory for standard reverb

This commit is contained in:
Chris Robinson
2019-03-22 11:57:32 -07:00
parent 9790135127
commit 935f386982
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -1477,6 +1477,9 @@ EffectStateFactory *ReverbStateFactory_getFactory()
return &ReverbFactory;
}
EffectStateFactory *StdReverbStateFactory_getFactory()
{ return ReverbStateFactory_getFactory(); }
void ALeaxreverb_setParami(ALeffect *effect, ALCcontext *context, ALenum param, ALint val)
{
+1
View File
@@ -126,6 +126,7 @@ void UpdateAllEffectSlotProps(ALCcontext *context);
EffectStateFactory *NullStateFactory_getFactory(void);
EffectStateFactory *ReverbStateFactory_getFactory(void);
EffectStateFactory *StdReverbStateFactory_getFactory(void);
EffectStateFactory *AutowahStateFactory_getFactory(void);
EffectStateFactory *ChorusStateFactory_getFactory(void);
EffectStateFactory *CompressorStateFactory_getFactory(void);
+1 -1
View File
@@ -156,7 +156,7 @@ constexpr struct FactoryItem {
} FactoryList[] = {
{ AL_EFFECT_NULL, NullStateFactory_getFactory },
{ AL_EFFECT_EAXREVERB, ReverbStateFactory_getFactory },
{ AL_EFFECT_REVERB, ReverbStateFactory_getFactory },
{ AL_EFFECT_REVERB, StdReverbStateFactory_getFactory },
{ AL_EFFECT_AUTOWAH, AutowahStateFactory_getFactory },
{ AL_EFFECT_CHORUS, ChorusStateFactory_getFactory },
{ AL_EFFECT_COMPRESSOR, CompressorStateFactory_getFactory },