diff options
Diffstat (limited to 'alc/effects/fshifter.cpp')
-rw-r--r-- | alc/effects/fshifter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/fshifter.cpp b/alc/effects/fshifter.cpp index 7688c762..638325ec 100644 --- a/alc/effects/fshifter.cpp +++ b/alc/effects/fshifter.cpp @@ -222,8 +222,8 @@ void FshifterState::process(const ALsizei samplesToDo, const FloatBufferLine *RE } /* Now, mix the processed sound data to the output. */ - MixSamples(BufferOut, samplesOut, mGains[c].Current, mGains[c].Target, - maxi(samplesToDo, 512), 0, samplesToDo); + MixSamples({BufferOut, BufferOut+samplesToDo}, samplesOut, mGains[c].Current, + mGains[c].Target, maxi(samplesToDo, 512), 0); } } |