Jamoma API
0.6.0.a19
|
Generalized SpatLib rendering unit wrapper. More...
#include <TTSpat.h>
Protected Member Functions | |
TTErr | setSpatFunction (const TTValue &aSpatFunction) |
Set what spatialisation function to use. More... | |
TTErr | setSourceCount (const TTValue &aSource) |
Set the number of sources. More... | |
TTErr | setSinkCount (const TTValue &aSink) |
Set number of destinations. More... | |
TTErr | getSpatFunctions (const TTValue &, TTValue &listOfSpatFunctionsToReturn) |
Return a list of all the available spatialisation methods. More... | |
TTErr | process (TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs) |
Return a list of all the available parameters that are specific to the current spatialisation method. More... | |
Protected Attributes | |
TTChannelCount | mSourceCount |
The number of sources. | |
TTChannelCount | mSinkCount |
The number of destinations. | |
|
protected |
Return a list of all the available spatialisation methods.
Definition at line 98 of file TTSpat.cpp.
References TTObject::GetRegisteredClassNamesForTags(), TTValue::resize(), and TT.
|
protected |
Return a list of all the available parameters that are specific to the current spatialisation method.
Definition at line 187 of file TTSpat.cpp.
References TTAudioObjectBase::process().
Set number of destinations.
mode | The number of destinations that sound will be rendered to. |
Definition at line 146 of file TTSpat.cpp.
References mSinkCount, TTObjectBase::setAttributeValue(), and TT.
Set the number of sources.
mode | The number of sources to spatialise. |
Definition at line 139 of file TTSpat.cpp.
References mSourceCount, TTObjectBase::setAttributeValue(), and TT.
Set what spatialisation function to use.
aSpatFunction | The SpatLib renderer to use. |
Definition at line 57 of file TTSpat.cpp.
References kTTErrNone, mSinkCount, mSourceCount, TTObjectBase::setAttributeValue(), TT, and TTObjectBaseInstantiate().