28 #ifndef ASYNC_AUDIO_FILTER_INCLUDED
29 #define ASYNC_AUDIO_FILTER_INCLUDED
121 explicit AudioFilter(
const std::string &filter_spec,
122 int sample_rate = INTERNAL_SAMPLE_RATE);
The base class for an audio processor.
void setOutputGain(float gain)
Set the output gain of the filter.
AudioFilter(const std::string &filter_spec, int sample_rate=INTERNAL_SAMPLE_RATE)
Constuctor.
~AudioFilter(void)
Destructor.
void processSamples(float *dest, const float *src, int count)
Process incoming samples and put them into the output buffer.
The base class for an audio processor class.
void reset(void)
Reset the filter state.
A class for creating a wide range of audio filters.