iso::synth::Decode3DStrategy Class Reference

#include <iso_synth_decode_3d_strategy.h>

Inherits iso::synth::DecodeStrategy.

Inheritance diagram for iso::synth::Decode3DStrategy:

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

Collaboration graph
[legend]
List of all members.

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< FramemSpeakersBFormat
 speaker bFormat Frames
samplemMaxReScales
 array of in phase scales

Constructor & Destructor Documentation

Decode3DStrategy::Decode3DStrategy ( 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

Decode3DStrategy::~Decode3DStrategy (  )  [virtual]

destructor


Member Function Documentation

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

process buffer

Parameters:
pBuffer buffer to operate on

Implements iso::synth::DecodeStrategy.

String Decode3DStrategy::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 Decode3DStrategy::createMaxReScales (  )  [protected]

calculate phase scale values

void Decode3DStrategy::createSpeakersBFormat ( QVector< math::Vector< sample > > &  pSpeakerPositions  )  [protected]

creates bFormat frames for all speakers

Parameters:
pSpeakerPositions speaker positions


Member Data Documentation

QVector< Frame > iso::synth::Decode3DStrategy::mSpeakersBFormat [protected]

speaker bFormat Frames

sample* iso::synth::Decode3DStrategy::mMaxReScales [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