diff options
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r-- | Alc/mixer_c.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c index 61769547..3db4f737 100644 --- a/Alc/mixer_c.c +++ b/Alc/mixer_c.c @@ -90,11 +90,10 @@ static inline void ApplyCoeffs(ALuint Offset, ALfloat (*restrict Values)[2], #undef SUFFIX -void MixDirect_C(DirectParams *params, const ALfloat *restrict data, ALuint srcchan, - ALuint OutPos, ALuint BufferSize) +void MixDirect_C(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; ALuint c; |