Avoid AL types and enums in the effect processors

This commit is contained in:
Chris Robinson
2020-12-21 21:11:25 -08:00
parent eedc42890f
commit 0d3b041aa2
17 changed files with 391 additions and 203 deletions
+3
View File
@@ -10,6 +10,9 @@
namespace {
static_assert(EchoMaxDelay >= AL_ECHO_MAX_DELAY, "Echo max delay too short");
static_assert(EchoMaxLRDelay >= AL_ECHO_MAX_LRDELAY, "Echo max left-right delay too short");
void Echo_setParami(EffectProps*, ALenum param, int)
{ throw effect_exception{AL_INVALID_ENUM, "Invalid echo integer property 0x%04x", param}; }
void Echo_setParamiv(EffectProps*, ALenum param, const int*)