aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer')
-rw-r--r--Alc/mixer/mixer_c.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/Alc/mixer/mixer_c.c b/Alc/mixer/mixer_c.c
index 5f913101..e40c2cad 100644
--- a/Alc/mixer/mixer_c.c
+++ b/Alc/mixer/mixer_c.c
@@ -93,45 +93,6 @@ const ALfloat *Resample_bsinc_C(const InterpState *state, const ALfloat *restric
}
-void ALfilterState_processC(ALfilterState *filter, ALfloat *restrict dst, const ALfloat *restrict src, ALsizei numsamples)
-{
- ALsizei i;
- if(LIKELY(numsamples > 1))
- {
- ALfloat x0 = filter->x[0];
- ALfloat x1 = filter->x[1];
- ALfloat y0 = filter->y[0];
- ALfloat y1 = filter->y[1];
-
- for(i = 0;i < numsamples;i++)
- {
- dst[i] = filter->b0* src[i] +
- filter->b1*x0 + filter->b2*x1 -
- filter->a1*y0 - filter->a2*y1;
- y1 = y0; y0 = dst[i];
- x1 = x0; x0 = src[i];
- }
-
- filter->x[0] = x0;
- filter->x[1] = x1;
- filter->y[0] = y0;
- filter->y[1] = y1;
- }
- else if(numsamples == 1)
- {
- dst[0] = filter->b0 * src[0] +
- filter->b1 * filter->x[0] +
- filter->b2 * filter->x[1] -
- filter->a1 * filter->y[0] -
- filter->a2 * filter->y[1];
- filter->x[1] = filter->x[0];
- filter->x[0] = src[0];
- filter->y[1] = filter->y[0];
- filter->y[0] = dst[0];
- }
-}
-
-
static inline void ApplyCoeffs(ALsizei Offset, ALfloat (*restrict Values)[2],
const ALsizei IrSize,
const ALfloat (*restrict Coeffs)[2],