Blender V2.61 - r43446
|
#include <AUD_DynamicIIRFilterFactory.h>
Public Member Functions | |
AUD_DynamicIIRFilterFactory (AUD_Reference< AUD_IFactory > factory) | |
virtual AUD_Reference < AUD_IReader > | createReader () |
virtual void | recalculateCoefficients (AUD_SampleRate rate, std::vector< float > &b, std::vector< float > &a)=0 |
This factory creates a IIR filter reader.
This means that on sample rate change the filter recalculates its coefficients.
Definition at line 41 of file AUD_DynamicIIRFilterFactory.h.
AUD_DynamicIIRFilterFactory::AUD_DynamicIIRFilterFactory | ( | AUD_Reference< AUD_IFactory > | factory | ) |
Creates a new Dynmic IIR filter factory.
factory | The input factory. |
Definition at line 32 of file AUD_DynamicIIRFilterFactory.cpp.
AUD_Reference< AUD_IReader > AUD_DynamicIIRFilterFactory::createReader | ( | ) | [virtual] |
Creates a reader for playback of the sound source.
AUD_Exception | An exception may be thrown if there has been a more unexpected error during reader creation. |
Implements AUD_IFactory.
Definition at line 37 of file AUD_DynamicIIRFilterFactory.cpp.
References AUD_EffectFactory::getReader().
virtual void AUD_DynamicIIRFilterFactory::recalculateCoefficients | ( | AUD_SampleRate | rate, |
std::vector< float > & | b, | ||
std::vector< float > & | a | ||
) | [pure virtual] |
Recalculates the filter coefficients.
rate | The sample rate of the audio data. | |
[out] | b | The input filter coefficients. |
[out] | a | The output filter coefficients. |
Implemented in AUD_ButterworthFactory, AUD_HighpassFactory, and AUD_LowpassFactory.