Jamoma API  0.6.0.a19
TTSpatLib.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspSpatLib
4  *
5  * @brief Extension Class for Jamoma DSP for spatialisation renderers
6  *
7  * @details
8  *
9  * @authors Trond Lossius, Nils Peters, Timothy Place
10  *
11  * @copyright Copyright © 2011 by Trond Lossius, Nils Peters, and Timothy Place @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 
17 #include "TTDSP.h"
18 #include "TTSpat.h"
19 #include "TTSpatSnap.h"
20 #include "TTSpatDBAP.h"
21 
22 /** Register classes for all of the SpatLib rendering techniques (aka units).
23  @return #TTErr error code if the method fails to execute, else #kTTErrNone.
24  */
25 extern "C" TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_SpatLib(void)
26 {
27  TTDSPInit();
28  TTSpat::registerClass();
29  TTSpatDBAP::registerClass();
30  TTSpatSnap::registerClass();
31  return kTTErrNone;
32 }
33 
Jamoma DSP Library.
A basic proof-of-concept spatial renderer where the audio of a source will snap to the nearest sink...
void TTDSP_EXPORT TTDSPInit(const char *pathToBinaries=NULL)
Initialise the Jamoma DSP library, as well as Jamoma Foundation foundation if needed.
Definition: TTDSP.cpp:30
TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_SpatLib(void)
Register classes for all of the SpatLib rendering techniques (aka units).
Definition: TTSpatLib.cpp:25
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
Host a SpatLib object.
No Error.
Definition: TTBase.h:343
Jamoma DSP SpatLib unit based on Distance-based amplitude panning (DBAP)