Browse Source

Fix the documentation of the Oscillator class

tags/2021-05-28
hogliux 7 years ago
parent
commit
dc4fd0c29e
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_dsp/processors/juce_Oscillator.h

+ 3
- 3
modules/juce_dsp/processors/juce_Oscillator.h 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;


Loading…
Cancel
Save