aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_defs.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-03-11 20:59:12 -0800
committerChris Robinson <[email protected]>2016-03-11 20:59:12 -0800
commit22abaa287d7c10fb1ae8ae34b32d5e0ebbbfad78 (patch)
treed2bc8ff92512024e5fefae19ca6ed6208ad1e61d /Alc/mixer_defs.h
parent532897219326e5ee47eb08810734b2f2ed4409a3 (diff)
Use the real output's left and right channels with HRTF
Diffstat (limited to 'Alc/mixer_defs.h')
-rw-r--r--Alc/mixer_defs.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/Alc/mixer_defs.h b/Alc/mixer_defs.h
index 3fecab87..5db804b1 100644
--- a/Alc/mixer_defs.h
+++ b/Alc/mixer_defs.h
@@ -21,18 +21,18 @@ const ALfloat *Resample_bsinc32_C(const BsincState *state, const ALfloat *src, A
/* C mixers */
-void MixHrtf_C(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
- ALuint Counter, ALuint Offset, ALuint OutPos, const ALuint IrSize,
- const struct MixHrtfParams *hrtfparams, struct HrtfState *hrtfstate,
- ALuint BufferSize);
+void MixHrtf_C(ALfloat (*restrict OutBuffer)[BUFFERSIZE], ALuint lidx, ALuint ridx,
+ const ALfloat *data, ALuint Counter, ALuint Offset, ALuint OutPos,
+ const ALuint IrSize, const struct MixHrtfParams *hrtfparams,
+ struct HrtfState *hrtfstate, ALuint BufferSize);
void Mix_C(const ALfloat *data, ALuint OutChans, ALfloat (*restrict OutBuffer)[BUFFERSIZE],
struct MixGains *Gains, ALuint Counter, ALuint OutPos, ALuint BufferSize);
/* SSE mixers */
-void MixHrtf_SSE(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
- ALuint Counter, ALuint Offset, ALuint OutPos, const ALuint IrSize,
- const struct MixHrtfParams *hrtfparams, struct HrtfState *hrtfstate,
- ALuint BufferSize);
+void MixHrtf_SSE(ALfloat (*restrict OutBuffer)[BUFFERSIZE], ALuint lidx, ALuint ridx,
+ const ALfloat *data, ALuint Counter, ALuint Offset, ALuint OutPos,
+ const ALuint IrSize, const struct MixHrtfParams *hrtfparams,
+ struct HrtfState *hrtfstate, ALuint BufferSize);
void Mix_SSE(const ALfloat *data, ALuint OutChans, ALfloat (*restrict OutBuffer)[BUFFERSIZE],
struct MixGains *Gains, ALuint Counter, ALuint OutPos, ALuint BufferSize);
@@ -70,10 +70,10 @@ const ALfloat *Resample_fir8_32_SSE41(const BsincState *state, const ALfloat *sr
ALfloat *restrict dst, ALuint numsamples);
/* Neon mixers */
-void MixHrtf_Neon(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
- ALuint Counter, ALuint Offset, ALuint OutPos, const ALuint IrSize,
- const struct MixHrtfParams *hrtfparams, struct HrtfState *hrtfstate,
- ALuint BufferSize);
+void MixHrtf_Neon(ALfloat (*restrict OutBuffer)[BUFFERSIZE], ALuint lidx, ALuint ridx,
+ const ALfloat *data, ALuint Counter, ALuint Offset, ALuint OutPos,
+ const ALuint IrSize, const struct MixHrtfParams *hrtfparams,
+ struct HrtfState *hrtfstate, ALuint BufferSize);
void Mix_Neon(const ALfloat *data, ALuint OutChans, ALfloat (*restrict OutBuffer)[BUFFERSIZE],
struct MixGains *Gains, ALuint Counter, ALuint OutPos, ALuint BufferSize);