Skip to content

ConsumerNodeInstance

class ConsumerNodeInstance

Interface for Amplimix pipeline nodes that can consume audio data from an input buffer.

Functions

Name Description
~ConsumerNodeInstance Default destructor.
Consume Consumes audio data from the provider node.
Connect Sets the input provider node ID for this node.

Function Details

Connect

virtual void Connect(AmObjectID provider) = 0

Sets the input provider node ID for this node.

Parameter provider
The provider node for this node.

Consume

virtual void Consume() = 0

Consumes audio data from the provider node.

The provider node should be specified with the call of Connect().

~ConsumerNodeInstance

virtual ~ConsumerNodeInstance() = default

Default destructor.