Class AudioDestinationNode
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The AudioDestinationNode interface represents the end destination of an audio graph in a given context — usually the speakers of your device. It can also be the node that will "record" the audio data when used with an OfflineAudioContext.
[Value("AudioDestinationNode")]
public class AudioDestinationNode : AudioNode
- Inheritance
-
AudioDestinationNode
- Inherited Members
Remarks
AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised.
The AudioDestinationNode of a given AudioContext can be retrieved using the BaseAudioContextdestination property.
Constructors
AudioDestinationNode()
public AudioDestinationNode()
Properties
MaxChannelCount
The maxChannelCount property of the AudioDestinationNode interface is an unsigned long defining the maximum amount of channels that the physical device can handle.
[Value("maxChannelCount")]
public ulong MaxChannelCount { get; }
Property Value
- ulong
An
unsigned long.
Remarks
The ChannelCount property can be set between 0 and this value (both included). If maxChannelCount is 0, like in OfflineAudioContext, the channel count cannot be changed.