Jamoma API  0.6.0.a19
TTSpatSnapRenderer Class Reference

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

#include <TTSpatSnapRenderer.h>

+ Inheritance diagram for TTSpatSnapRenderer:
+ Collaboration diagram for TTSpatSnapRenderer:

Public Member Functions

 TTSpatSnapRenderer ()
 Constructor. More...
 
 ~TTSpatSnapRenderer ()
 Destructor.
 
void recalculateMatrixCoefficients (TTSpatSourceVector &sources, TTSpatSinkVector &sinks)
 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...
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 30 of file TTSpatSnapRenderer.h.

Constructor & Destructor Documentation

TTSpatSnapRenderer::TTSpatSnapRenderer ( )

Constructor.

Methods for TTSpatSnapRenderer: //////////////////////.

Definition at line 22 of file TTSpatSnapRenderer.cpp.

Member Function Documentation

void TTSpatSnapRenderer::recalculateMatrixCoefficients ( TTSpatSourceVector sources,
TTSpatSinkVector sinks 
)
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 34 of file TTSpatSnapRenderer.cpp.

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

+ Here is the call graph for this function:


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