From 64ead7d36de7dc748414530121b69876a0c84e05 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 11 Mar 2023 00:47:22 -0800 Subject: Convert the EAX Echo and Equalizer effects --- al/eax/effect.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'al/eax') diff --git a/al/eax/effect.h b/al/eax/effect.h index bf03fea3..69380986 100644 --- a/al/eax/effect.h +++ b/al/eax/effect.h @@ -177,6 +177,12 @@ struct EaxCompressorCommitter : public EaxCommitter { struct EaxDistortionCommitter : public EaxCommitter { using EaxCommitter::EaxCommitter; }; +struct EaxEchoCommitter : public EaxCommitter { + using EaxCommitter::EaxCommitter; +}; +struct EaxEqualizerCommitter : public EaxCommitter { + using EaxCommitter::EaxCommitter; +}; struct EaxFlangerCommitter : public EaxCommitter { using EaxCommitter::EaxCommitter; }; @@ -248,6 +254,10 @@ public: return call_set_defaults(props); if(altype == AL_EFFECT_DISTORTION) return call_set_defaults(props); + if(altype == AL_EFFECT_ECHO) + return call_set_defaults(props); + if(altype == AL_EFFECT_EQUALIZER) + return call_set_defaults(props); if(altype == AL_EFFECT_FLANGER) return call_set_defaults(props); return call_set_defaults(props); @@ -293,6 +303,10 @@ public: return Callable(__VA_ARGS__); \ if(T == EaxEffectType::Distortion) \ return Callable(__VA_ARGS__); \ + if(T == EaxEffectType::Echo) \ + return Callable(__VA_ARGS__); \ + if(T == EaxEffectType::Equalizer) \ + return Callable(__VA_ARGS__); \ if(T == EaxEffectType::Flanger) \ return Callable(__VA_ARGS__); \ return Callable(__VA_ARGS__) -- cgit v1.2.3