Jamoma API  0.6.0.a19
TTSpatDBAPRenderer Class Reference

TTSpatDBAPRenderer contains attributes and methods that are specific to this particular spatialisation renderer. More...

#include <TTSpatDBAPRenderer.h>

+ Inheritance diagram for TTSpatDBAPRenderer:
+ Collaboration diagram for TTSpatDBAPRenderer:

Public Member Functions

 TTSpatDBAPRenderer ()
 Constructor. More...
 
 ~TTSpatDBAPRenderer ()
 Destructor.
 
void recalculateMatrixCoefficients (TTSpatSourceVector &aSources, TTSpatSinkVector &aSinks)
 This method is called whenever matrix coefficients need to be updated. More...
 
- Public Member Functions inherited from TTSpatBaseRenderer
 TTSpatBaseRenderer ()
 Constructor. More...
 
virtual ~TTSpatBaseRenderer ()
 Destructor.
 
virtual TTErr processAudio (TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs)
 A standard matrix-based audio processing method which may be used for matrix-based spatialization algorithms. More...
 

Public Attributes

TTSampleMatrixPtr mMixerMatrixCoefficients
 A matrix holding all coefficient for matrix-based mixing of sources to sinks.
 
TTFloat64 mRolloff
 global
 
- Public Attributes inherited from TTSpatBaseRenderer
TTSampleMatrixPtr mMixerMatrixCoefficients
 A matrix holding all coefficient for matrix-based mixing of sources to sinks.
 

Detailed Description

TTSpatDBAPRenderer contains attributes and methods that are specific to this particular spatialisation renderer.

Definition at line 31 of file TTSpatDBAPRenderer.h.

Member Function Documentation

void TTSpatDBAPRenderer::recalculateMatrixCoefficients ( TTSpatSourceVector aSources,
TTSpatSinkVector aSinks 
)
virtual

This method is called whenever matrix coefficients need to be updated.

This method also takes care of matrix resizing if the number of sources or sinks change.

Parameters
sourcesA vector of sources
sinksA vector of sinks

Implements TTSpatBaseRenderer.

Definition at line 42 of file TTSpatDBAPRenderer.cpp.

References mMixerMatrixCoefficients, TTMatrixBase::set2d(), TTMatrixBase::setColumnCount(), and TTMatrixBase::setRowCount().

Referenced by TTSpatDBAP::setRolloff().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: