PUBLIC
AudioDestinationNode
Instance Properties
maxChannelCount
Audio API
All API
No API set selected.
JavaScript
AudioDestinationNode
:
AudioNode
The output of the audio system. Available through the
AudioContext.destination
property.
Spec
Instance Properties
maxChannelCount
:
Number
readonly
The number of channels (speakers) available on the system.
Example:
<script> // Temporary workaround until AudioContext is standardized window.AudioContext = window.AudioContext || window.webkitAudioContext; var context = new AudioContext(); console.log(context.destination.maxChannelCount); </script>
Run
Results:
home
license
contribute
feedback
Copyright © PUBLIC Contributors