OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_Gain.h>
Public Member Functions | |
void | setGainLinear (FloatType newGain) noexcept |
void | setGainDecibels (FloatType newGainDecibels) noexcept |
FloatType | getGainLinear () const noexcept |
FloatType | getGainDecibels () const noexcept |
void | setRampDurationSeconds (double newDurationSeconds) noexcept |
double | getRampDurationSeconds () const noexcept |
bool | isSmoothing () const noexcept |
void | prepare (const ProcessSpec &spec) noexcept |
void | reset () noexcept |
template<typename SampleType > | |
SampleType JUCE_VECTOR_CALLTYPE | processSample (SampleType s) noexcept |
template<typename ProcessContext > | |
void | process (const ProcessContext &context) noexcept |
Applies a gain to audio samples as single samples or AudioBlocks.
Definition at line 38 of file juce_Gain.h.
|
inlinenoexcept |
Returns the current gain in decibels.
Definition at line 54 of file juce_Gain.h.
|
inlinenoexcept |
Returns the current gain as a linear value.
Definition at line 51 of file juce_Gain.h.
Referenced by juce::dsp::Gain< FloatType >::getGainDecibels().
|
inlinenoexcept |
Returns the ramp duration in seconds.
Definition at line 67 of file juce_Gain.h.
|
inlinenoexcept |
Returns true if the current value is currently being interpolated.
Definition at line 70 of file juce_Gain.h.
|
inlinenoexcept |
Called before processing starts.
Definition at line 74 of file juce_Gain.h.
|
inlinenoexcept |
Processes the input and output buffers supplied in the processing context.
Definition at line 97 of file juce_Gain.h.
|
inlinenoexcept |
Returns the result of processing a single sample.
Definition at line 90 of file juce_Gain.h.
|
inlinenoexcept |
Resets the internal state of the gain
Definition at line 81 of file juce_Gain.h.
Referenced by juce::dsp::Gain< FloatType >::prepare(), and juce::dsp::Gain< FloatType >::setRampDurationSeconds().
|
inlinenoexcept |
Applies a new gain as a decibel value.
Definition at line 48 of file juce_Gain.h.
|
inlinenoexcept |
Applies a new gain as a linear value.
Definition at line 45 of file juce_Gain.h.
Referenced by juce::dsp::Gain< FloatType >::setGainDecibels().
|
inlinenoexcept |
Sets the length of the ramp used for smoothing gain changes.
Definition at line 57 of file juce_Gain.h.