#include <iso_synth_decode_strategy.h>
Inherits iso::synth::Strategy.
Inherited by iso::synth::Decode2DStrategy, and iso::synth::Decode3DStrategy.
Inheritance diagram for iso::synth::DecodeStrategy:


Public Member Functions | |
| DecodeStrategy (Buffer *pEncodeBuffer, QVector< math::Vector< sample > > &pSpeakerPositions) throw (SynthException) | |
| create decoding strategy | |
| virtual | ~DecodeStrategy () |
| destructor | |
| virtual void | process (Buffer *pBuffer)=0 |
| process buffer | |
| virtual String | info (bool pPropagate=false) const =0 |
| obtain textual strategy information | |
Protected Attributes | |
| Buffer * | mEncodeBuffer |
| encode buffer | |
| QVector< math::Vector< sample > > & | mSpeakerPositions |
| speaker positions | |
| DecodeStrategy::DecodeStrategy | ( | 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 |
| DecodeStrategy::~DecodeStrategy | ( | ) | [virtual] |
destructor
| virtual void iso::synth::DecodeStrategy::process | ( | Buffer * | pBuffer | ) | [pure virtual] |
process buffer
| pBuffer | buffer to operate on |
Implements iso::synth::Strategy.
Implemented in iso::synth::Decode2DStrategy, and iso::synth::Decode3DStrategy.
| virtual String iso::synth::DecodeStrategy::info | ( | bool | pPropagate = false |
) | const [pure virtual] |
obtain textual strategy information
| pPropagate | if true, the info method of associated classes may be called |
Implements iso::synth::Strategy.
Implemented in iso::synth::Decode2DStrategy, and iso::synth::Decode3DStrategy.
Buffer* iso::synth::DecodeStrategy::mEncodeBuffer [protected] |
encode buffer
QVector< math::Vector< sample > >& iso::synth::DecodeStrategy::mSpeakerPositions [protected] |
speaker positions
1.5.1