9 static __inline
void ApplyCoeffsStep(ALuint Offset
, ALfloat (*RESTRICT Values
)[2],
11 ALfloat (*RESTRICT Coeffs
)[2],
12 ALfloat (*RESTRICT CoeffStep
)[2],
13 ALfloat left
, ALfloat right
)
16 for(c
= 0;c
< IrSize
;c
++)
18 const ALuint off
= (Offset
+c
)&HRIR_MASK
;
19 Values
[off
][0] += Coeffs
[c
][0] * left
;
20 Values
[off
][1] += Coeffs
[c
][1] * right
;
21 Coeffs
[c
][0] += CoeffStep
[c
][0];
22 Coeffs
[c
][1] += CoeffStep
[c
][1];
26 static __inline
void ApplyCoeffs(ALuint Offset
, ALfloat (*RESTRICT Values
)[2],
28 ALfloat (*RESTRICT Coeffs
)[2],
29 ALfloat left
, ALfloat right
)
32 for(c
= 0;c
< IrSize
;c
++)
34 const ALuint off
= (Offset
+c
)&HRIR_MASK
;
35 Values
[off
][0] += Coeffs
[c
][0] * left
;
36 Values
[off
][1] += Coeffs
[c
][1] * right
;
42 #include "mixer_inc.c"