Jamoma API  0.6.0.a19
j.array.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup implementationMaxExternalsAudioGraph
4  *
5  * @brief j.array= : wraps the #TTAudioObjectBaseArray class as an AudioGraph array external for Jamoma AudioGraph.
6  *
7  * @details
8  *
9  * @authors Nils Peters, Trond Lossius
10  *
11  * @copyright © 2011 by Nils Peters @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 "maxAudioGraph.h"
18 
19 
20 int C74_EXPORT main(void)
21 {
22  TTAudioGraphInit();
23  wrapAsMaxAudioGraph(TT("array"), "j.array=", NULL);
24  return wrapAsMaxAudioGraph(TT("array"), "array=", NULL);
25 }
TTErr wrapAsMaxAudioGraph(TTSymbol ttClassName, char *maxClassName, MaxAudioGraphWrappedClassPtr *c)
Wrap an AudioGraph class as a Max class.
int C74_EXPORT main(void)
Set up this class as a Max external the first time an object of this kind is instantiated.
Definition: j.array.cpp:20
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
Definition: TTSymbol.h:155
A thin wrapper of Jamoma AudioGraph for use in the Cycling '74 Max/MSP environment.