diff options
author | Chris Robinson <[email protected]> | 2019-03-22 11:57:32 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-03-22 11:57:32 -0700 |
commit | 935f386982f9d0d94fdf569b0cb1aa43fbfadefa (patch) | |
tree | 59af81b3ede8b2755209908e23d38f4f8f1f9418 /OpenAL32 | |
parent | 979013512750f83954d786028f8a419408f490a1 (diff) |
Use a separate EffectStateFactory for standard reverb
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alAuxEffectSlot.h | 1 | ||||
-rw-r--r-- | OpenAL32/alAuxEffectSlot.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h index 23484f1f..387c6462 100644 --- a/OpenAL32/Include/alAuxEffectSlot.h +++ b/OpenAL32/Include/alAuxEffectSlot.h @@ -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); diff --git a/OpenAL32/alAuxEffectSlot.cpp b/OpenAL32/alAuxEffectSlot.cpp index c681579c..771ed740 100644 --- a/OpenAL32/alAuxEffectSlot.cpp +++ b/OpenAL32/alAuxEffectSlot.cpp @@ -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 }, |