Jamoma API  0.6.0.a19
TTDSP.cpp File Reference

Jamoma DSP Library. More...

#include "TTDSP.h"
#include "TTAudioObjectArray.h"
#include "TTAudioSignal.h"
#include "TTBuffer.h"
#include "TTDCBlock.h"
#include "TTDelay.h"
#include "TTOperator.h"
#include "TTMixer.h"
#include "TTMultiMixer.h"
+ Include dependency graph for TTDSP.cpp:

Go to the source code of this file.

Functions

void TTDSPInit (const char *pathToBinaries)
 Initialise the Jamoma DSP library, as well as Jamoma Foundation foundation if needed. More...
 
TTErr TTObjectBaseInstantiate (const TTSymbol &className, TTAudioObjectBasePtr *returnedObjectPtr, TTValue &arguments)
 Instantiate an object. More...
 
TTAudioObjectBasePtr TTObjectBaseReference (TTAudioObjectBasePtr anObject)
 Create a reference to an object. More...
 
TTErr TTObjectBaseRelease (TTAudioObjectBasePtr *anObject)
 Release (destroy) an object. More...
 

Variables

const TTChannelCount kTTMaxChannelsPossible = 65535
 The maximum number of audio channels that Jamoma DSP (and AudioGraph) is able to deal with. More...
 

Detailed Description

Jamoma DSP Library.

Authors
Tim Place, Trond Lossius

Definition in file TTDSP.cpp.

Function Documentation

void TTDSPInit ( const char *  pathToBinaries = NULL)

Initialise the Jamoma DSP library, as well as Jamoma Foundation foundation if needed.

Parameters
pathToBinariesThe file path to the location of the binaries.

Definition at line 30 of file TTDSP.cpp.

References TTLogMessage().

Referenced by main(), TTLoadJamomaExtension_AnalysisLib(), TTLoadJamomaExtension_GeneratorLib(), TTLoadJamomaExtension_SpatLib(), and TTLoadJamomaExtension_WindowFunctionLib().

+ Here is the call graph for this function:

TTErr TTObjectBaseInstantiate ( const TTSymbol className,
TTAudioObjectBasePtr returnedObjectPtr,
TTValue arguments 
)

Instantiate an object.

Parameters
classNameThe name of the class of the object
returnedObjectPtrPointer to the newly instantiated object
argumentsAdditional arguments
Returns
TTErr error code if the method fails to execute, else kTTErrNone.

Definition at line 88 of file TTDSP.cpp.

References TTEnvironment::createInstance(), and ttEnvironment.

+ Here is the call graph for this function:

TTAudioObjectBasePtr TTObjectBaseReference ( TTAudioObjectBasePtr  anObject)

Create a reference to an object.

Parameters
anObjectThe object that we want to reference.
Returns
Pointer to the object.

Definition at line 128 of file TTDSP.cpp.

References TTEnvironment::referenceInstance(), and ttEnvironment.

+ Here is the call graph for this function:

TTErr TTObjectBaseRelease ( TTAudioObjectBasePtr anObject)

Release (destroy) an object.

Returns
TTErr error code if the method fails to execute, else kTTErrNone.

Definition at line 142 of file TTDSP.cpp.

References kTTErrNone, TTEnvironment::releaseInstance(), and ttEnvironment.

+ Here is the call graph for this function: