aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r--Alc/alu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp
index b4b34e5f..e30f6a2e 100644
--- a/Alc/alu.cpp
+++ b/Alc/alu.cpp
@@ -973,11 +973,11 @@ static void CalcPanningAndFilters(ALvoice *voice, const ALfloat Azi, const ALflo
if(gainHF != 1.0f) voice->Direct.FilterType |= AF_LowPass;
if(gainLF != 1.0f) voice->Direct.FilterType |= AF_HighPass;
BiquadFilter_setParams(
- &voice->Direct.Params[0].LowPass, BiquadType_HighShelf,
+ &voice->Direct.Params[0].LowPass, BiquadType::HighShelf,
gainHF, hfScale, calc_rcpQ_from_slope(gainHF, 1.0f)
);
BiquadFilter_setParams(
- &voice->Direct.Params[0].HighPass, BiquadType_LowShelf,
+ &voice->Direct.Params[0].HighPass, BiquadType::LowShelf,
gainLF, lfScale, calc_rcpQ_from_slope(gainLF, 1.0f)
);
for(c = 1;c < num_channels;c++)
@@ -999,11 +999,11 @@ static void CalcPanningAndFilters(ALvoice *voice, const ALfloat Azi, const ALflo
if(gainHF != 1.0f) voice->Send[i].FilterType |= AF_LowPass;
if(gainLF != 1.0f) voice->Send[i].FilterType |= AF_HighPass;
BiquadFilter_setParams(
- &voice->Send[i].Params[0].LowPass, BiquadType_HighShelf,
+ &voice->Send[i].Params[0].LowPass, BiquadType::HighShelf,
gainHF, hfScale, calc_rcpQ_from_slope(gainHF, 1.0f)
);
BiquadFilter_setParams(
- &voice->Send[i].Params[0].HighPass, BiquadType_LowShelf,
+ &voice->Send[i].Params[0].HighPass, BiquadType::LowShelf,
gainLF, lfScale, calc_rcpQ_from_slope(gainLF, 1.0f)
);
for(c = 1;c < num_channels;c++)