diff options
author | Chris Robinson <[email protected]> | 2015-10-23 15:11:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-10-23 15:11:34 -0700 |
commit | bca854baacf0c92038f0e2633fb92e9255b05603 (patch) | |
tree | 32055b17fe38b82f177704f192038dd2df4433fa /Alc/mixer.c | |
parent | 4813125d310292fc9c97a1892f102dadf1f3e836 (diff) |
Use one send gain per buffer channel
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c index 74208c9b..35c38431 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -505,7 +505,7 @@ ALvoid MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALuint Sam Device->FilteredData, ResampledData, DstBufferSize, parms->Filters[chan].ActiveType ); - MixSamples(samples, 1, parms->OutBuffer, &parms->Gain, + MixSamples(samples, 1, parms->OutBuffer, &parms->Gains[chan], parms->Counter, OutPos, DstBufferSize); } } |