diff options
author | Chris Robinson <[email protected]> | 2016-03-09 23:43:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-03-09 23:43:57 -0800 |
commit | a45715751640992e8caeac8c36b5ecb23ba3c190 (patch) | |
tree | 5ae3f2d8611487be37ff1c52eb2eeabfc4b62d69 /Alc/effects/chorus.c | |
parent | 3e2672ec9f5c2a84a0f871bd0379ee387f9a95ce (diff) |
Organize the dry buffer properties into a struct
Diffstat (limited to 'Alc/effects/chorus.c')
-rw-r--r-- | Alc/effects/chorus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/chorus.c b/Alc/effects/chorus.c index 1c9efd47..e212cd75 100644 --- a/Alc/effects/chorus.c +++ b/Alc/effects/chorus.c @@ -113,9 +113,9 @@ static ALvoid ALchorusState_update(ALchorusState *state, const ALCdevice *Device /* Gains for left and right sides */ CalcXYZCoeffs(-1.0f, 0.0f, 0.0f, coeffs); - ComputePanningGains(Device->AmbiCoeffs, Device->NumChannels, coeffs, Slot->Gain, state->Gain[0]); + ComputePanningGains(Device->Dry.AmbiCoeffs, Device->Dry.NumChannels, coeffs, Slot->Gain, state->Gain[0]); CalcXYZCoeffs( 1.0f, 0.0f, 0.0f, coeffs); - ComputePanningGains(Device->AmbiCoeffs, Device->NumChannels, coeffs, Slot->Gain, state->Gain[1]); + ComputePanningGains(Device->Dry.AmbiCoeffs, Device->Dry.NumChannels, coeffs, Slot->Gain, state->Gain[1]); phase = Slot->EffectProps.Chorus.Phase; rate = Slot->EffectProps.Chorus.Rate; |