Move an HRTF mixer parameter and shorten a couple variable names
[openal-soft.git] / Alc / mixer_defs.h
blob130743c58a99fd8bcea97848f99df03d7c746e12
1 #ifndef MIXER_DEFS_H
2 #define MIXER_DEFS_H
4 #include "AL/alc.h"
5 #include "AL/al.h"
6 #include "alMain.h"
8 struct MixGains;
9 struct MixGainMono;
11 struct HrtfParams;
12 struct HrtfState;
14 /* C resamplers */
15 void Resample_copy32_C(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen);
16 void Resample_point32_C(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen);
17 void Resample_lerp32_C(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen);
18 void Resample_cubic32_C(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen);
21 /* C mixers */
22 void MixDirect_Hrtf_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,
25 ALuint BufferSize);
26 void MixDirect_C(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
27 struct MixGains *Gains, ALuint Counter, ALuint OutPos,
28 ALuint BufferSize);
29 void MixSend_C(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
30 struct MixGainMono *Gain, ALuint Counter, ALuint OutPos,
31 ALuint BufferSize);
33 /* SSE mixers */
34 void MixDirect_Hrtf_SSE(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
35 ALuint Counter, ALuint Offset, ALuint OutPos, const ALuint IrSize,
36 const struct HrtfParams *hrtfparams, struct HrtfState *hrtfstate,
37 ALuint BufferSize);
38 void MixDirect_SSE(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
39 struct MixGains *Gains, ALuint Counter, ALuint OutPos,
40 ALuint BufferSize);
41 void MixSend_SSE(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
42 struct MixGainMono *Gain, ALuint Counter, ALuint OutPos,
43 ALuint BufferSize);
45 /* Neon mixers */
46 void MixDirect_Hrtf_Neon(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
47 ALuint Counter, ALuint Offset, ALuint OutPos, const ALuint IrSize,
48 const struct HrtfParams *hrtfparams, struct HrtfState *hrtfstate,
49 ALuint BufferSize);
50 void MixDirect_Neon(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
51 struct MixGains *Gains, ALuint Counter, ALuint OutPos,
52 ALuint BufferSize);
53 void MixSend_Neon(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
54 struct MixGainMono *Gain, ALuint Counter, ALuint OutPos,
55 ALuint BufferSize);
57 #endif /* MIXER_DEFS_H */