aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixvoice.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/mixvoice.c
parentb1fe40586192dc15f92d0476c85e9f9daa2a31f0 (diff)
Rename BiquadState to BiquadFilter
Diffstat (limited to 'Alc/mixvoice.c')
-rw-r--r--Alc/mixvoice.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/Alc/mixvoice.c b/Alc/mixvoice.c
index 82d1ce72..2d935ce5 100644
--- a/Alc/mixvoice.c
+++ b/Alc/mixvoice.c
@@ -263,7 +263,7 @@ static void LoadSamples(ALfloat *restrict dst, const ALvoid *restrict src, ALint
}
-static const ALfloat *DoFilters(BiquadState *lpfilter, BiquadState *hpfilter,
+static const ALfloat *DoFilters(BiquadFilter *lpfilter, BiquadFilter *hpfilter,
ALfloat *restrict dst, const ALfloat *restrict src,
ALsizei numsamples, enum ActiveFilters type)
{
@@ -271,17 +271,17 @@ static const ALfloat *DoFilters(BiquadState *lpfilter, BiquadState *hpfilter,
switch(type)
{
case AF_None:
- BiquadState_processPassthru(lpfilter, numsamples);
- BiquadState_processPassthru(hpfilter, numsamples);
+ BiquadFilter_passthru(lpfilter, numsamples);
+ BiquadFilter_passthru(hpfilter, numsamples);
break;
case AF_LowPass:
- BiquadState_process(lpfilter, dst, src, numsamples);
- BiquadState_processPassthru(hpfilter, numsamples);
+ BiquadFilter_process(lpfilter, dst, src, numsamples);
+ BiquadFilter_passthru(hpfilter, numsamples);
return dst;
case AF_HighPass:
- BiquadState_processPassthru(lpfilter, numsamples);
- BiquadState_process(hpfilter, dst, src, numsamples);
+ BiquadFilter_passthru(lpfilter, numsamples);
+ BiquadFilter_process(hpfilter, dst, src, numsamples);
return dst;
case AF_BandPass:
@@ -290,8 +290,8 @@ static const ALfloat *DoFilters(BiquadState *lpfilter, BiquadState *hpfilter,
ALfloat temp[256];
ALsizei todo = mini(256, numsamples-i);
- BiquadState_process(lpfilter, temp, src+i, todo);
- BiquadState_process(hpfilter, dst+i, temp, todo);
+ BiquadFilter_process(lpfilter, temp, src+i, todo);
+ BiquadFilter_process(hpfilter, dst+i, temp, todo);
i += todo;
}
return dst;