Simplify committing EAX effect properties
commit96b3d98ac330a29e34f4161f9c0e9d1daa05994e
authorChris Robinson <chris.kcat@gmail.com>
Sat, 11 Mar 2023 23:03:18 +0000 (11 15:03 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 11 Mar 2023 23:03:18 +0000 (11 15:03 -0800)
treeb549913189b58344bfa9fa04b53ef0f9fc15e9eb
parent0bda22af1065e3cc251346d720f6f61c7dca17bd
Simplify committing EAX effect properties

There's no need to explicitly clamp to EFX limits when they're the same as or
more lenient than EAX, which were already validated when set, or when it's
within tolerance of the effect implementation.

Also it's generally better to check once all properties for changes and apply
them all if one is different, rather than checking and setting each member
individually.
al/effects/autowah.cpp
al/effects/chorus.cpp
al/effects/distortion.cpp
al/effects/echo.cpp
al/effects/equalizer.cpp