From df1fe18048792837bb0d6f02c02d75f59f2df814 Mon Sep 17 00:00:00 2001 From: hogliux Date: Fri, 28 Jul 2017 11:34:03 +0100 Subject: [PATCH] Fixed missing reference in LinearSmoothedValue::applyGain --- modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h b/modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h index a17aed5d59..a9422fbf93 100644 --- a/modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h +++ b/modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h @@ -147,7 +147,7 @@ public: //============================================================================== /** Applies a linear smoothed gain to a buffer */ - void applyGain(AudioBuffer buffer, int numSamples) noexcept + void applyGain (AudioBuffer& buffer, int numSamples) noexcept { jassert (numSamples >= 0);