aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/convolution.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-10-12 06:42:32 -0700
committerChris Robinson <[email protected]>2023-10-12 06:42:32 -0700
commit5b86b80591ce85869716885ca393e080f6f72685 (patch)
tree73714ad6bdd3a2f0d76b4fe6fd6f8c85f79cf243 /al/effects/convolution.cpp
parentd1acb001a5c4779d382838fb02660ba9aa10e4cc (diff)
Rename the convolution reverb effect to just convolution
While the common use case, convolution can do more than just reverb, and it nicely shortens the name.
Diffstat (limited to 'al/effects/convolution.cpp')
-rw-r--r--al/effects/convolution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/al/effects/convolution.cpp b/al/effects/convolution.cpp
index 494950b7..3e7885f8 100644
--- a/al/effects/convolution.cpp
+++ b/al/effects/convolution.cpp
@@ -40,7 +40,7 @@ void Convolution_setParamfv(EffectProps *props, ALenum param, const float *value
{
switch(param)
{
- case AL_CONVOLUTION_REVERB_ORIENTATION_SOFT:
+ case AL_CONVOLUTION_ORIENTATION_SOFT:
if(!(std::isfinite(values[0]) && std::isfinite(values[1]) && std::isfinite(values[2])
&& std::isfinite(values[3]) && std::isfinite(values[4]) && std::isfinite(values[5])))
throw effect_exception{AL_INVALID_VALUE, "Property 0x%04x value out of range", param};
@@ -88,7 +88,7 @@ void Convolution_getParamfv(const EffectProps *props, ALenum param, float *value
{
switch(param)
{
- case AL_CONVOLUTION_REVERB_ORIENTATION_SOFT:
+ case AL_CONVOLUTION_ORIENTATION_SOFT:
values[0] = props->Convolution.OrientAt[0];
values[1] = props->Convolution.OrientAt[1];
values[2] = props->Convolution.OrientAt[2];