Blender V2.61 - r43446
|
#include <AUD_AccumulatorFactory.h>
Public Member Functions | |
AUD_AccumulatorFactory (AUD_Reference< AUD_IFactory > factory, bool additive=false) | |
virtual AUD_Reference < AUD_IReader > | createReader () |
Static Public Member Functions | |
static sample_t | accumulatorFilterAdditive (AUD_CallbackIIRFilterReader *reader, void *useless) |
static sample_t | accumulatorFilter (AUD_CallbackIIRFilterReader *reader, void *useless) |
This factory creates an accumulator reader.
The accumulator adds the difference at the input to the last output in case it's positive. In additive mode it additionaly adds the difference always. So in case the difference is positive, it's added twice.
Definition at line 43 of file AUD_AccumulatorFactory.h.
AUD_AccumulatorFactory::AUD_AccumulatorFactory | ( | AUD_Reference< AUD_IFactory > | factory, |
bool | additive = false |
||
) |
Creates a new accumulator factory.
factory | The input factory. |
additive | Whether the accumulator is additive. |
Definition at line 53 of file AUD_AccumulatorFactory.cpp.
sample_t AUD_AccumulatorFactory::accumulatorFilter | ( | AUD_CallbackIIRFilterReader * | reader, |
void * | useless | ||
) | [static] |
Definition at line 43 of file AUD_AccumulatorFactory.cpp.
References AUD_BaseIIRFilterReader::x(), and AUD_BaseIIRFilterReader::y().
Referenced by createReader().
sample_t AUD_AccumulatorFactory::accumulatorFilterAdditive | ( | AUD_CallbackIIRFilterReader * | reader, |
void * | useless | ||
) | [static] |
Definition at line 33 of file AUD_AccumulatorFactory.cpp.
References AUD_BaseIIRFilterReader::x(), and AUD_BaseIIRFilterReader::y().
Referenced by createReader().
AUD_Reference< AUD_IReader > AUD_AccumulatorFactory::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 60 of file AUD_AccumulatorFactory.cpp.
References accumulatorFilter(), accumulatorFilterAdditive(), and AUD_EffectFactory::getReader().