aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-23 15:11:34 -0700
committerChris Robinson <[email protected]>2015-10-23 15:11:34 -0700
commitbca854baacf0c92038f0e2633fb92e9255b05603 (patch)
tree32055b17fe38b82f177704f192038dd2df4433fa /Alc/mixer.c
parent4813125d310292fc9c97a1892f102dadf1f3e836 (diff)
Use one send gain per buffer channel
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c2
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);
}
}