aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/echo.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-04-04 18:07:46 -0700
committerChris Robinson <[email protected]>2018-04-04 18:07:46 -0700
commit9c5307a48a58959a564be1999b119a87b7cdb8e0 (patch)
tree84842432f646d1ce059ba67293b4edd0fc0bd798 /Alc/effects/echo.c
parentb1fe40586192dc15f92d0476c85e9f9daa2a31f0 (diff)
Rename BiquadState to BiquadFilter
Diffstat (limited to 'Alc/effects/echo.c')
-rw-r--r--Alc/effects/echo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Alc/effects/echo.c b/Alc/effects/echo.c
index 282aa1d7..a98ed933 100644
--- a/Alc/effects/echo.c
+++ b/Alc/effects/echo.c
@@ -52,7 +52,7 @@ typedef struct ALechoState {
ALfloat FeedGain;
- BiquadState Filter;
+ BiquadFilter Filter;
} ALechoState;
static ALvoid ALechoState_Destruct(ALechoState *state);
@@ -76,7 +76,7 @@ static void ALechoState_Construct(ALechoState *state)
state->Tap[1].delay = 0;
state->Offset = 0;
- BiquadState_clear(&state->Filter);
+ BiquadFilter_clear(&state->Filter);
}
static ALvoid ALechoState_Destruct(ALechoState *state)
@@ -135,9 +135,9 @@ static ALvoid ALechoState_update(ALechoState *state, const ALCcontext *context,
state->FeedGain = props->Echo.Feedback;
gainhf = maxf(1.0f - props->Echo.Damping, 0.0625f); /* Limit -24dB */
- BiquadState_setParams(&state->Filter, BiquadType_HighShelf,
- gainhf, LOWPASSFREQREF/frequency,
- calc_rcpQ_from_slope(gainhf, 1.0f));
+ BiquadFilter_setParams(&state->Filter, BiquadType_HighShelf,
+ gainhf, LOWPASSFREQREF/frequency, calc_rcpQ_from_slope(gainhf, 1.0f)
+ );
/* First tap panning */
CalcAngleCoeffs(-F_PI_2*lrpan, 0.0f, spread, coeffs);