diff options
author | Chris Robinson <[email protected]> | 2012-10-14 11:21:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-10-14 11:21:52 -0700 |
commit | a852669dcebf7ff80a0698ca8afe6c8400480202 (patch) | |
tree | a190d8cb692f7e21e29b30283b7709b0cd957cbe /Alc/mixer_c.c | |
parent | 3240894cd5ee4d3bae6798b6d480ef2dfacc403a (diff) |
Store the output buffers in the DirectParams struct
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r-- | Alc/mixer_c.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c index 39bf260c..a0a7b4d0 100644 --- a/Alc/mixer_c.c +++ b/Alc/mixer_c.c @@ -87,12 +87,13 @@ void MixDirect_C(ALCdevice *Device, DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) { - ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = Device->DryBuffer; - ALfloat *RESTRICT ClickRemoval = Device->ClickRemoval; - ALfloat *RESTRICT PendingClicks = Device->PendingClicks; + ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = params->OutBuffer; + ALfloat *RESTRICT ClickRemoval = params->ClickRemoval; + ALfloat *RESTRICT PendingClicks = params->PendingClicks; ALfloat DrySend; ALuint pos; ALuint c; + (void)Device; for(c = 0;c < MaxChannels;c++) { |