38 int C74_EXPORT
main(
void);
99 void PackDsp64(
PackPtr self, t_object* dsp64,
short *count,
double samplerate,
long maxvectorsize,
long flags);
104 static t_class* sInClass;
TTPtr audioGraphObjectOutlet
Pointer to an embedded Jamoma AudioGraph outlet used to interface sith downstream AudioGraph objects...
t_int * PackPerform(t_int *w)
Performs the actual DSP processing on incomming MSP audio signals, packing them into a multichannel s...
TTErr PackReset(PackPtr self, long vectorSize)
Reset audio for this object.
TTUInt32 vectorSize
The size of audio vectors to process, cached by the DSP method.
void PackDsp64(PackPtr self, t_object *dsp64, short *count, double samplerate, long maxvectorsize, long flags)
Called when MSP is compiling the DSP chain, used to set up audio processing.
Pack * PackPtr
Pointer to a j.pack= instance.
TTAudioGraphObjectBasePtr audioGraphObject
Pointer to an embedded Jamoma AudioGraph object serving as a generator for the downstream AudioGraph...
void PackFree(PackPtr self)
Called when the object is freed (destroyed), ensuring that memory is properly freed up...
t_pxobject obj
Pointer to Max object struct, this alwasy needs to be the first member of the struct.
void * TTPtr
A generic pointer.
PackPtr PackNew(t_symbol *msg, long argc, t_atom *argv)
Create a new instance of the j.in= object.
TTErr PackSetup(PackPtr self)
This method is used internally by AudioGraph when configuring itself.
TTUInt32 maxNumChannels
The maximum number of MSP audio channels this object can pack onto an AudioGraph signal, set as an argument at object instantiation time.
TTErr PackObject(PackPtr self, TTAudioGraphObjectBasePtr audioSourceObject)
TODO: Do this method exist at all? It is lacking from j.pack.cpp...
A thin wrapper of Jamoma AudioGraph for use in the Cycling '74 Max/MSP environment.
int C74_EXPORT main(void)
Set up this class as a Max external the first time an object of this kind is instantiated.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
The TTAudioGraphObjectBase wraps a TTDSP object such that it is possible to build a dynamic graph of ...
std::uint32_t TTUInt32
32 bit unsigned integer
TTUInt32 numChannels
The actual number of channels to use. This is set by the PackDsp64 method when the MSP processing cha...
Data Structure for the j.pack= Max object.
void PackAssist(PackPtr self, void *b, long msg, long arg, char *dst)
Provides assist strings in Max for object inlets and outlets.