28#ifndef ASYNC_AUDIO_FILTER_INCLUDED
29#define ASYNC_AUDIO_FILTER_INCLUDED
132 int sample_rate = INTERNAL_SAMPLE_RATE);
195 std::string error_str;
199 void deleteFilter(
void);
The base class for an audio processor class.
A class for creating a wide range of audio filters.
void setOutputGain(float gain_db)
Set the output gain of the filter.
bool parseFilterSpec(const std::string &filter_spec)
Create the filter from the given filter specification.
~AudioFilter(void)
Destructor.
AudioFilter(int sample_rate=INTERNAL_SAMPLE_RATE)
Constuctor.
void reset(void)
Reset the filter state.
AudioFilter(const std::string &filter_spec, int sample_rate=INTERNAL_SAMPLE_RATE)
Constuctor.
std::string errorString(void) const
Get the latest filter creation error.
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.
Namespace for the asynchronous programming classes.