From a7055c3a9675a5a1ae1af324e87578019816d1d6 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 20 Nov 2017 09:26:23 +0000 Subject: [PATCH] Fixed a parameter name in Oscillator.h --- modules/juce_dsp/processors/juce_Oscillator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_dsp/processors/juce_Oscillator.h b/modules/juce_dsp/processors/juce_Oscillator.h index 45290462eb..3851995bfe 100644 --- a/modules/juce_dsp/processors/juce_Oscillator.h +++ b/modules/juce_dsp/processors/juce_Oscillator.h @@ -77,7 +77,7 @@ public: //============================================================================== /** Sets the frequency of the oscillator. */ - void setFrequency (NumericType newGain, bool force = false) noexcept { frequency.setValue (newGain, force); } + void setFrequency (NumericType newFrequency, bool force = false) noexcept { frequency.setValue (newFrequency, force); } /** Returns the current frequency of the oscillator. */ NumericType getFrequency() const noexcept { return frequency.getTargetValue(); }