#include <iso_synth_encode_2d_strategy.h>
Inherits iso::synth::EncodeStrategy.
Inheritance diagram for iso::synth::Encode2DStrategy:
Public Member Functions | |
Encode2DStrategy (Buffer *pAudioBuffer, Buffer *pPositionBuffer) throw (SynthException) | |
create encoding strategy | |
virtual | ~Encode2DStrategy () |
destructor | |
virtual void | process (Buffer *pBuffer) |
process buffer | |
virtual String | info (bool pPropagate=false) const |
obtain textual strategy information | |
Protected Member Functions | |
Encode2DStrategy () | |
default constructor | |
Static Protected Attributes | |
static sample | sMinPosRadius |
minimum radius for sound position in polar coordinates |
Encode2DStrategy::Encode2DStrategy | ( | Buffer * | pAudioBuffer, | |
Buffer * | pPositionBuffer | |||
) | throw (SynthException) |
create encoding strategy
pAudioBuffer | audio buffer | |
pPositionBuffer | position buffer |
SynthException | buffers contain wrong number of channels or differ in number of frames |
Encode2DStrategy::~Encode2DStrategy | ( | ) | [virtual] |
destructor
Encode2DStrategy::Encode2DStrategy | ( | ) | [protected] |
default constructor
void Encode2DStrategy::process | ( | Buffer * | pBuffer | ) | [virtual] |
String Encode2DStrategy::info | ( | bool | pPropagate = false |
) | const [virtual] |
obtain textual strategy information
pPropagate | if true, the info method of associated classes may be called |
Implements iso::synth::EncodeStrategy.
sample Encode2DStrategy::sMinPosRadius [static, protected] |
minimum radius for sound position in polar coordinates