Jamoma API  0.6.0.a19
SoundfileLib.cpp
1 /*
2  * SoundfileLib -- Operate on Soundfiles
3  * Extension Class for Jamoma DSP
4  * Copyright © 2010, 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 "TTSoundfile.h"
12 #include "TTSoundfileLoader.h"
13 #include "TTSoundfilePlayer.h"
14 #include "TTSoundfileRecorder.h"
15 
16 
17 extern "C" TT_EXTENSION_EXPORT TTErr TTLoadJamomaExtension_SoundfileLib(void)
18 {
19  TTDSPInit();
20 
21  TTSoundfile::registerClass();
22  TTSoundfileLoader::registerClass();
23  TTSoundfilePlayer::registerClass();
24  TTSoundfileRecorder::registerClass();
25 
26  return kTTErrNone;
27 }
28 
Jamoma DSP Soundfile Recorder.
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
Provides a common interface to soundfile data.
Jamoma DSP Soundfile Player.
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
Loads soundfile data into a sample matrix.