#include <iso_synth_decode_3d_strategy.h>
Inherits iso::synth::DecodeStrategy.
Inheritance diagram for iso::synth::Decode3DStrategy:
Public Member Functions | |
Decode3DStrategy (Buffer *pEncodeBuffer, QVector< math::Vector< sample > > &pSpeakerPositions) throw (SynthException) | |
create decoding strategy | |
virtual | ~Decode3DStrategy () |
destructor | |
virtual void | process (Buffer *pBuffer) |
process buffer | |
virtual String | info (bool pPropagate=false) const |
obtain textual strategy information | |
Protected Member Functions | |
void | createMaxReScales () |
calculate phase scale values | |
void | createSpeakersBFormat (QVector< math::Vector< sample > > &pSpeakerPositions) |
creates bFormat frames for all speakers | |
Protected Attributes | |
QVector< Frame > | mSpeakersBFormat |
speaker bFormat Frames | |
sample * | mMaxReScales |
array of in phase scales |
Decode3DStrategy::Decode3DStrategy | ( | 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 |
Decode3DStrategy::~Decode3DStrategy | ( | ) | [virtual] |
destructor
void Decode3DStrategy::process | ( | Buffer * | pBuffer | ) | [virtual] |
String Decode3DStrategy::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 Decode3DStrategy::createMaxReScales | ( | ) | [protected] |
calculate phase scale values
void Decode3DStrategy::createSpeakersBFormat | ( | QVector< math::Vector< sample > > & | pSpeakerPositions | ) | [protected] |
creates bFormat frames for all speakers
pSpeakerPositions | speaker positions |
QVector< Frame > iso::synth::Decode3DStrategy::mSpeakersBFormat [protected] |
speaker bFormat Frames
sample* iso::synth::Decode3DStrategy::mMaxReScales [protected] |
array of in phase scales