aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_c.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-18 07:54:51 -0700
committerChris Robinson <[email protected]>2014-05-18 08:59:10 -0700
commit29b5dae6aa010224b2fd428530e1cd67d6d92e1a (patch)
tree544b4c9d9d82ad3e0e050aa12ad7dcd71101ff38 /Alc/mixer_c.c
parentbd2721dc7a2bd3376e01ff32c18737a6fa38ff42 (diff)
Pass some DirectParams as function parameters
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r--Alc/mixer_c.c7
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;