OpenShot Library | OpenShotAudio  0.2.2
juce::dsp::WaveShaper< FloatType, Function > Struct Template Reference

Applies waveshaping to audio samples as single samples or AudioBlocks. More...

#include <juce_WaveShaper.h>

Public Member Functions

void prepare (const ProcessSpec &) noexcept
 Called before processing starts.
 
template<typename SampleType >
SampleType JUCE_VECTOR_CALLTYPE processSample (SampleType inputSample) const noexcept
 Returns the result of processing a single sample.
 
template<typename ProcessContext >
void process (const ProcessContext &context) const noexcept
 Processes the input and output buffers supplied in the processing context.
 
void reset () noexcept
 

Public Attributes

Function functionToUse
 

Detailed Description

template<typename FloatType, typename Function = FloatType (*) (FloatType)>
struct juce::dsp::WaveShaper< FloatType, Function >

Applies waveshaping to audio samples as single samples or AudioBlocks.

Definition at line 42 of file juce_WaveShaper.h.


The documentation for this struct was generated from the following file: