|
Blender
V2.59
|
#include <AUD_BaseIIRFilterReader.h>

Public Member Functions | |
| sample_t | x (int pos) |
| sample_t | y (int pos) |
| virtual | ~AUD_BaseIIRFilterReader () |
| virtual void | read (int &length, sample_t *&buffer) |
| virtual sample_t | filter ()=0 |
Protected Member Functions | |
| AUD_BaseIIRFilterReader (AUD_IReader *reader, int in, int out) | |
This class is a base class for infinite impulse response filters.
Definition at line 41 of file AUD_BaseIIRFilterReader.h.
| AUD_BaseIIRFilterReader::AUD_BaseIIRFilterReader | ( | AUD_IReader * | reader, |
| int | in, | ||
| int | out | ||
| ) | [protected] |
Creates a new base IIR filter reader.
| reader | The reader to read from. |
| in | The count of past input samples needed. |
| out | The count of past output samples needed. |
Definition at line 38 of file AUD_BaseIIRFilterReader.cpp.
| AUD_BaseIIRFilterReader::~AUD_BaseIIRFilterReader | ( | ) | [virtual] |
Definition at line 52 of file AUD_BaseIIRFilterReader.cpp.
| virtual sample_t AUD_BaseIIRFilterReader::filter | ( | ) | [pure virtual] |
Implemented in AUD_CallbackIIRFilterReader, and AUD_IIRFilterReader.
Referenced by read().
| void AUD_BaseIIRFilterReader::read | ( | int & | length, |
| sample_t *& | buffer | ||
| ) | [virtual] |
Request to read the next length samples out of the source. The buffer for reading has to stay valid until the next call of this method or until the reader is deleted.
| [in,out] | length | The count of samples that should be read. Shall contain the real count of samples after reading, in case there were only fewer samples available. A smaller value also indicates the end of the reader. |
| [out] | buffer | The pointer to the buffer with the samples. |
Reimplemented from AUD_EffectReader.
Definition at line 58 of file AUD_BaseIIRFilterReader.cpp.
References AUD_SAMPLE_SIZE, CC, filter(), AUD_Buffer::getBuffer(), AUD_Buffer::getSize(), AUD_IReader::getSpecs(), i, length(), AUD_EffectReader::m_reader, AUD_IReader::read(), and AUD_Buffer::resize().
| sample_t AUD_BaseIIRFilterReader::x | ( | int | pos | ) | [inline] |
Definition at line 103 of file AUD_BaseIIRFilterReader.h.
Referenced by accumulatorFilter(), accumulatorFilterAdditive(), envelopeFilter(), AUD_IIRFilterReader::filter(), rectifyFilter(), and squareFilter().
| sample_t AUD_BaseIIRFilterReader::y | ( | int | pos | ) | [inline] |
Definition at line 108 of file AUD_BaseIIRFilterReader.h.
Referenced by accumulatorFilter(), accumulatorFilterAdditive(), envelopeFilter(), and AUD_IIRFilterReader::filter().