#include <iso_synth_decode_2d_strategy.h>
Inherits iso::synth::DecodeStrategy.
Inheritance diagram for iso::synth::Decode2DStrategy:
Public Member Functions | |
Decode2DStrategy (Buffer *pEncodeBuffer, QVector< math::Vector< sample > > &pSpeakerPositions) throw (SynthException) | |
create decoding strategy | |
virtual | ~Decode2DStrategy () |
destructor | |
virtual void | process (Buffer *pBuffer) |
process buffer | |
virtual String | info (bool pPropagate=false) const |
obtain textual strategy information | |
Protected Member Functions | |
void | createInPhaseScales () |
calculate phase scale values | |
Protected Attributes | |
sample * | mInPhaseScales |
array of in phase scales |
Decode2DStrategy::Decode2DStrategy | ( | Buffer * | pEncodeBuffer, | |
QVector< math::Vector< sample > > & | pSpeakerPositions | |||
) | throw (SynthException) |
create decoding strategy
pEncodeBuffer | encode buffer | |
pSpeakerPositions | speaker positions |
SynthException | invalid ambisonics order, too few speakers |
Decode2DStrategy::~Decode2DStrategy | ( | ) | [virtual] |
destructor
void Decode2DStrategy::process | ( | Buffer * | pBuffer | ) | [virtual] |
String Decode2DStrategy::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::DecodeStrategy.
void Decode2DStrategy::createInPhaseScales | ( | ) | [protected] |
calculate phase scale values
sample* iso::synth::Decode2DStrategy::mInPhaseScales [protected] |
array of in phase scales