Optionally return a pair of AudioNodes that should be connected to the applied inner
device. The two nodes can be the same, indicating the smallest possible subgraph.
Each device can be used no more than once at a time in an audio graph. It is acceptable
to reuse audio nodes for successive calls to createAudioNode, so long as the context
does not differ.
The AudioContext to use when instantiating the nodes.
Called when realtimeMuteLocalAudio is called on the RealtimeController. Implement this
callback to avoid doing expensive processing when the audio output is disabled.
stop should be called by the application to free any resources associated
with the device (e.g., workers).
After this is called, the device should be discarded.
Generated using TypeDoc
A device that applies some transform to another device, returning a device and optional
AudioNodefor use by the device controller.The results are applied by the device controller in two stages:
(start, end), to allow an arbitrary subgraph of nodes to be returned.The application should call
stopwhen the device will no longer be used. This method is defined on this interface to establish that convention.