15 const ALfloat
*Resample_copy32_C(const ALfloat
*src
, ALuint frac
, ALuint increment
, ALfloat
*restrict dst
, ALuint dstlen
);
16 const ALfloat
*Resample_point32_C(const ALfloat
*src
, ALuint frac
, ALuint increment
, ALfloat
*restrict dst
, ALuint dstlen
);
17 const ALfloat
*Resample_lerp32_C(const ALfloat
*src
, ALuint frac
, ALuint increment
, ALfloat
*restrict dst
, ALuint dstlen
);
18 const ALfloat
*Resample_cubic32_C(const ALfloat
*src
, ALuint frac
, ALuint increment
, ALfloat
*restrict dst
, ALuint dstlen
);
22 void MixHrtf_C(ALfloat (*restrict OutBuffer
)[BUFFERSIZE
], const ALfloat
*data
,
23 ALuint Counter
, ALuint Offset
, ALuint OutPos
, const ALuint IrSize
,
24 const struct HrtfParams
*hrtfparams
, struct HrtfState
*hrtfstate
,
26 void Mix_C(const ALfloat
*data
, ALuint OutChans
, ALfloat (*restrict OutBuffer
)[BUFFERSIZE
],
27 struct MixGains
*Gains
, ALuint Counter
, ALuint OutPos
, ALuint BufferSize
);
30 void MixHrtf_SSE(ALfloat (*restrict OutBuffer
)[BUFFERSIZE
], const ALfloat
*data
,
31 ALuint Counter
, ALuint Offset
, ALuint OutPos
, const ALuint IrSize
,
32 const struct HrtfParams
*hrtfparams
, struct HrtfState
*hrtfstate
,
34 void Mix_SSE(const ALfloat
*data
, ALuint OutChans
, ALfloat (*restrict OutBuffer
)[BUFFERSIZE
],
35 struct MixGains
*Gains
, ALuint Counter
, ALuint OutPos
, ALuint BufferSize
);
38 inline void InitiatePositionArrays(ALuint frac
, ALuint increment
, ALuint
*frac_arr
, ALuint
*pos_arr
, ALuint size
)
44 for(i
= 1;i
< size
;i
++)
46 ALuint frac_tmp
= frac_arr
[i
-1] + increment
;
47 pos_arr
[i
] = pos_arr
[i
-1] + (frac_tmp
>>FRACTIONBITS
);
48 frac_arr
[i
] = frac_tmp
&FRACTIONMASK
;
52 const ALfloat
*Resample_lerp32_SSE2(const ALfloat
*src
, ALuint frac
, ALuint increment
,
53 ALfloat
*restrict dst
, ALuint numsamples
);
54 const ALfloat
*Resample_lerp32_SSE41(const ALfloat
*src
, ALuint frac
, ALuint increment
,
55 ALfloat
*restrict dst
, ALuint numsamples
);
58 void MixHrtf_Neon(ALfloat (*restrict OutBuffer
)[BUFFERSIZE
], const ALfloat
*data
,
59 ALuint Counter
, ALuint Offset
, ALuint OutPos
, const ALuint IrSize
,
60 const struct HrtfParams
*hrtfparams
, struct HrtfState
*hrtfstate
,
62 void Mix_Neon(const ALfloat
*data
, ALuint OutChans
, ALfloat (*restrict OutBuffer
)[BUFFERSIZE
],
63 struct MixGains
*Gains
, ALuint Counter
, ALuint OutPos
, ALuint BufferSize
);
65 #endif /* MIXER_DEFS_H */