Jamoma API
0.6.0.a19
|
TTSpatSnapRenderer contains attributes and methods that are specific to this particular spatialisation renderer. More...
#include <TTSpatSnapRenderer.h>
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. | |
TTSpatSnapRenderer contains attributes and methods that are specific to this particular spatialisation renderer.
Definition at line 30 of file TTSpatSnapRenderer.h.
TTSpatSnapRenderer::TTSpatSnapRenderer | ( | ) |
Constructor.
Methods for TTSpatSnapRenderer: //////////////////////.
Definition at line 22 of file TTSpatSnapRenderer.cpp.
|
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.
sources | A vector of sources |
sinks | A vector of sinks |
Implements TTSpatBaseRenderer.
Definition at line 34 of file TTSpatSnapRenderer.cpp.
References TTSpatBaseRenderer::mMixerMatrixCoefficients, TTMatrixBase::set2d(), TTMatrixBase::setColumnCount(), and TTMatrixBase::setRowCount().