diff options
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alc.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index 73c0b2da..c51eb3c1 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -1299,10 +1299,15 @@ void alc_initconfig(void) else eax_g_is_enabled = true; - if(eax_g_is_enabled && DisabledEffects[EAXREVERB_EFFECT]) + if((DisabledEffects[EAXREVERB_EFFECT] || DisabledEffects[CHORUS_EFFECT]) + && eax_g_is_enabled) { eax_g_is_enabled = false; - TRACE("%s\n", "EAX disabled because EAXReverb is disabled."); + TRACE("EAX disabled because %s disabled.\n", + (DisabledEffects[EAXREVERB_EFFECT] && DisabledEffects[CHORUS_EFFECT]) + ? "EAXReverb and Chorus are" : + DisabledEffects[EAXREVERB_EFFECT] ? "EAXReverb is" : + DisabledEffects[CHORUS_EFFECT] ? "Chorus is" : ""); } } #endif // ALSOFT_EAX |