diff options
Diffstat (limited to 'alc/effects/modulator.cpp')
-rw-r--r-- | alc/effects/modulator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/modulator.cpp b/alc/effects/modulator.cpp index 8a6378cd..48022e15 100644 --- a/alc/effects/modulator.cpp +++ b/alc/effects/modulator.cpp @@ -160,8 +160,8 @@ void ModulatorState::process(const ALsizei samplesToDo, const FloatBufferLine *R for(i = 0;i < td;i++) temps[i] *= modsamples[i]; - MixSamples(temps, samplesOut, mChans[c].CurrentGains, mChans[c].TargetGains, - samplesToDo-base, base, td); + MixSamples({temps, temps+td}, samplesOut, mChans[c].CurrentGains, + mChans[c].TargetGains, samplesToDo-base, base); } base += td; |