23 #ifndef __TTAUDIOGRAPH_SOURCE_H__
24 #define __TTAUDIOGRAPH_SOURCE_H__
74 if (anObject == mSourceObject && anOutletNumber == mOutletNumber)
149 return mSourceObject->
process(returnedSignal, sampleStamp, mOutletNumber);
173 #endif // __TTAUDIOGRAPH_SOURCE_H__
bool TTBoolean
Boolean flag, same as Boolean on the Mac.
std::uint16_t TTUInt16
16 bit unsigned integer
~TTAudioGraphSource()
Destructor.
TTBoolean match(TTAudioGraphObjectBasePtr anObject, TTUInt16 anOutletNumber)
Check to see if this source (link) is connected to the requested outlet of the requested upstream obj...
std::uint64_t TTUInt64
64 bit unsigned integer
void setOwner(TTAudioGraphInlet *theOwningInlet)
Set the owning inlet of this source.
void getAudioDescription(TTAudioGraphDescription &desc)
Describe this object as part of the action of describing a complete audio graph.
Create and use Jamoma object instances.
TTUInt16 mOutletNumber
The outlet of the upstream object that we pull samples from. This is zero-based.
This object provides a description of a TTAudioGraphObject and its sources.
void prepareAudioDescription()
Prepare for a request to descibe all of the graph.
Registers classes for the primary AudioGraph library.
void connect(TTAudioGraphObjectBasePtr anObject, TTUInt16 fromOutletNumber)
Create a source (a connection or a link) to an outlet of an upstream object.
void create()
Create a link to a source.
TTAudioGraphObjectBasePtr mSourceObject
The object from which we pull samples.
TTObject mCallbackHandler
TODO.
This object represents a single 'inlet' to a TTAudioGraphObject.
virtual TTErr preprocess(const TTAudioGraphPreprocessData &initData)
This method is called by an object about to process audio, prior to calling getAudioOutput().
The TTAudioSignal class represents N vectors of audio samples for M channels.
friend bool operator==(const TTAudioGraphSource &source1, const TTAudioGraphSource &source2)
Compare two sources for equality, that is: It they are representing a connection between the same inl...
void preprocess(const TTAudioGraphPreprocessData &initData)
Prepare for audio processing.
Wraps an object from Jamoma DSP to function within AudioGraph.
TTAudioGraphInlet * mOwner
The owning inlet.
TTErr process(TTAudioSignalPtr &returnedSignal, TTUInt64 sampleStamp)
Perform audio processing.
TTAudioGraphSourceVector::iterator TTAudioGraphSourceIter
An iterator on TTAudioGraphSourceVector.
virtual TTErr process(TTAudioSignalPtr &returnedSignal, TTUInt64 sampleStamp, TTUInt16 forOutletNumber=0)
This method is required to be implemented by all objects except for those existing solely as a destin...
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
void prepareDescription()
Prepare to describe this source (link or connection).
The TTAudioGraphObjectBase wraps a TTDSP object such that it is possible to build a dynamic graph of ...
[doxygenAppendixC_bitmaskExample]
TTAudioGraphSource * TTAudioGraphSourcePtr
Pointer to a TTAudioGraphSource.
TTAudioGraphSource represents one link from a TTAudioGraphInlet of a TTAudioGraphObjectBase to a TTAu...
TTAudioGraphSource()
Constructor.
void getDescription(TTAudioGraphDescription &desc)
Describe this source.
[doxygenAppendixC_copyExample]
TTAudioGraphSource & operator=(const TTAudioGraphSource &original)
This operator is called, for example, on the Mac when dropping a source and the vector has to be re-a...
std::vector< TTAudioGraphSource > TTAudioGraphSourceVector
A vector of #TTAudioGraphSources.