From 29b5dae6aa010224b2fd428530e1cd67d6d92e1a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 18 May 2014 07:54:51 -0700 Subject: Pass some DirectParams as function parameters --- Alc/mixer_neon.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Alc/mixer_neon.c') diff --git a/Alc/mixer_neon.c b/Alc/mixer_neon.c index cd3f4574..161c19c8 100644 --- a/Alc/mixer_neon.c +++ b/Alc/mixer_neon.c @@ -75,11 +75,10 @@ static inline void ApplyCoeffs(ALuint Offset, ALfloat (*restrict Values)[2], #undef SUFFIX -void MixDirect_Neon(DirectParams *params, const ALfloat *restrict data, ALuint srcchan, - ALuint OutPos, ALuint BufferSize) +void MixDirect_Neon(DirectParams *params, + ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *restrict data, + ALuint Counter, ALuint srcchan, ALuint OutPos, ALuint BufferSize) { - ALfloat (*restrict OutBuffer)[BUFFERSIZE] = params->OutBuffer; - ALuint Counter = maxu(params->Counter, OutPos) - OutPos; ALfloat DrySend, Step; float32x4_t gain; ALuint c; -- cgit v1.2.3