|
Jamoma API
0.6.0.a19
|
TTSpatBaseRenderer defines the basic interface from which all renderers inherit. More...
#include <TTSpatBaseRenderer.h>
Inheritance diagram for TTSpatBaseRenderer:
Collaboration diagram for TTSpatBaseRenderer:Public Member Functions | |
| TTSpatBaseRenderer () | |
| Constructor. More... | |
| virtual | ~TTSpatBaseRenderer () |
| Destructor. | |
| virtual void | recalculateMatrixCoefficients (TTSpatSourceVector &sources, TTSpatSinkVector &sinks)=0 |
| This method must be defined by subclasses. More... | |
| 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. | |
TTSpatBaseRenderer defines the basic interface from which all renderers inherit.
Definition at line 29 of file TTSpatBaseRenderer.h.
| TTSpatBaseRenderer::TTSpatBaseRenderer | ( | ) |
Constructor.
Methods for TTSpatSnapRenderer: //////////////////////.
Definition at line 22 of file TTSpatBaseRenderer.cpp.
References mMixerMatrixCoefficients, and TTObjectBaseInstantiate().
Here is the call graph for this function:
|
virtual |
A standard matrix-based audio processing method which may be used for matrix-based spatialization algorithms.
Subclasses using other techniques may override this method.
| inputs | Incomming audio signals to process from sound sources. |
| outputs | Processed audio signals passed to the sinks. |
Definition at line 35 of file TTSpatBaseRenderer.cpp.
References TTAudioSignal::clear(), TTMatrixBase::get2d(), TTMatrixBase::getColumnCount(), TTMatrixBase::getRowCount(), kTTErrNone, mMixerMatrixCoefficients, TTAudioSignal::mSampleVectors, and TTAudioSignal::setMaxNumChannels().
Here is the call graph for this function:
|
pure virtual |
This method must be defined by subclasses.
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 |
Implemented in TTSpatDBAPRenderer, and TTSpatSnapRenderer.
Referenced by TTSpatBase::getOneSinkPosition(), TTSpatBase::setOneSourcePosition(), TTSpatBase::setSinkCount(), and TTSpatBase::setSourceCount().