struct CCL::IAudioProcessorNode
Overview
A node whose processing is supplied by an externally assigned IAudioProcessor. More…
#include <iaudiograph.h> struct IAudioProcessorNode: public CCL::IAudioNode { // methods virtual tresult CCL_API setProcessor (IAudioProcessor* processor) = 0; virtual IAudioProcessor*CCL_API getProcessor () const = 0; };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0; virtual void CCL_API setID (StringID id) = 0; virtual StringID CCL_API getID () const = 0; virtual tresult CCL_API setStreamLayout (const IAudioStreamLayout& layout) = 0; virtual const IAudioStreamLayout&CCL_API getStreamLayout () const = 0; virtual tresult CCL_API connect ( IAudioNode* destination, int outputIndex = 0, int inputIndex = 0 ) = 0; virtual tresult CCL_API disconnect (int outputIndex = 0) = 0; virtual tresult CCL_API disconnectAll () = 0;
Detailed Documentation
A node whose processing is supplied by an externally assigned IAudioProcessor.
The external processor can optionally implement IAudioComponent, which will then also keep activation and process configuration in sync with the graph. IAudioDisplayLatency on the processor is supported as well.
This also enables nesting another IAudioGraph.
Methods
virtual tresult CCL_API setProcessor (IAudioProcessor* processor) = 0
Assign the processor implementing this node’s behavior (retained).
Its input/output streams must match the node’s configured stream layout.
virtual IAudioProcessor*CCL_API getProcessor () const = 0
Get currently assigned processor.