1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Fix the documentation of the Oscillator class

This commit is contained in:
hogliux 2017-07-28 11:35:11 +01:00
parent b41a7c117f
commit dc4fd0c29e

View file

@ -54,10 +54,10 @@ public:
}
//==============================================================================
/** Applies a new gain as a linear value. */
/** Sets the frequency of the oscillator. */
void setFrequency (NumericType newGain) noexcept { frequency.setValue (newGain); }
/** Returns the current gain as a linear value. */
/** Returns the current frequency of the oscillator. */
NumericType getFrequency() const noexcept { return frequency.getTargetValue(); }
//==============================================================================
@ -70,7 +70,7 @@ public:
reset();
}
/** Resets the internal state of the gain */
/** Resets the internal state of the oscillator */
void reset() noexcept
{
pos = 0.0;