Jamoma API  0.6.0.a19
MidiLib.cpp
1 /*
2  * MidiLib
3  * Extension Class for Jamoma DSP
4  * Copyright © 2011, Timothy Place
5  *
6  * License: This code is licensed under the terms of the "New BSD License"
7  * http://creativecommons.org/licenses/BSD/
8  */
9 
10 #include "TTDSP.h"
11 #include "TTMidiFilter.h"
12 #include "TTMidiFormat.h"
13 #include "TTMidiInput.h"
14 #include "TTMidiOutput.h"
15 
16 
17 extern "C" TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_MidiLib(void)
18 {
19  TTDSPInit();
20 
21  TTMidiFilter::registerClass();
22  TTMidiFormat::registerClass();
23  TTMidiInput::registerClass();
24  TTMidiOutput::registerClass();
25 
26  return kTTErrNone;
27 }
28 
Jamoma DSP Library.
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
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
No Error.
Definition: TTBase.h:343