#include <AsyncAudioFilter.h>
Definition at line 113 of file AsyncAudioFilter.h.
Async::AudioFilter::AudioFilter | ( | const std::string & | filter_spec, | |
int | sample_rate = INTERNAL_SAMPLE_RATE | |||
) | [explicit] |
Constuctor.
filter_spec | The filter specification | |
sample_rate | The sampling rate |
Async::AudioFilter::~AudioFilter | ( | void | ) |
Destructor.
void Async::AudioFilter::processSamples | ( | float * | dest, | |
const float * | src, | |||
int | count | |||
) | [protected, virtual] |
Process incoming samples and put them into the output buffer.
dest | Destination buffer | |
src | Source buffer | |
count | Number of samples in the source buffer |
Implements Async::AudioProcessor.
void Async::AudioFilter::reset | ( | void | ) |
Reset the filter state.
void Async::AudioFilter::setOutputGain | ( | float | gain | ) | [inline] |
Set the output gain of the filter.
gain | The gain to set |
Definition at line 133 of file AsyncAudioFilter.h.