iso::synth::Decode2DStrategy Class Reference

#include <iso_synth_decode_2d_strategy.h>

Inherits iso::synth::DecodeStrategy.

Inheritance diagram for iso::synth::Decode2DStrategy:

Inheritance graph
[legend]
Collaboration diagram for iso::synth::Decode2DStrategy:

Collaboration graph
[legend]
List of all members.

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

samplemInPhaseScales
 array of in phase scales

Constructor & Destructor Documentation

Decode2DStrategy::Decode2DStrategy ( Buffer pEncodeBuffer,
QVector< math::Vector< sample > > &  pSpeakerPositions 
) throw (SynthException)

create decoding strategy

Parameters:
pEncodeBuffer encode buffer
pSpeakerPositions speaker positions
Exceptions:
SynthException invalid ambisonics order, too few speakers

Decode2DStrategy::~Decode2DStrategy (  )  [virtual]

destructor


Member Function Documentation

void Decode2DStrategy::process ( Buffer pBuffer  )  [virtual]

process buffer

Parameters:
pBuffer buffer to operate on

Implements iso::synth::DecodeStrategy.

String Decode2DStrategy::info ( bool  pPropagate = false  )  const [virtual]

obtain textual strategy information

Parameters:
pPropagate if true, the info method of associated classes may be called
Returns:
String containing strategy information

Implements iso::synth::DecodeStrategy.

void Decode2DStrategy::createInPhaseScales (  )  [protected]

calculate phase scale values


Member Data Documentation

sample* iso::synth::Decode2DStrategy::mInPhaseScales [protected]

array of in phase scales


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:18:44 2011 for synth by  doxygen 1.5.1