diff options
Diffstat (limited to 'alc/effects/echo.cpp')
-rw-r--r-- | alc/effects/echo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/echo.cpp b/alc/effects/echo.cpp index d41c4f67..57279005 100644 --- a/alc/effects/echo.cpp +++ b/alc/effects/echo.cpp @@ -156,8 +156,8 @@ void EchoState::process(const ALsizei samplesToDo, const FloatBufferLine *RESTRI mOffset = offset; for(ALsizei c{0};c < 2;c++) - MixSamples(mTempBuffer[c], samplesOut, mGains[c].Current, mGains[c].Target, samplesToDo, 0, - samplesToDo); + MixSamples({mTempBuffer[c], mTempBuffer[c]+samplesToDo}, samplesOut, mGains[c].Current, + mGains[c].Target, samplesToDo, 0); } |