aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/convolution.cpp
diff options
context:
space:
mode:
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];