Commit dfc5b1f
committed
Introduction of the AudioDestinationNode module
AudioDestinationNode is a subclass of AudioNode with no constructor and
no extra method. The only effective difference is the `maxChannelCount`
instance property, which is already covered by the
`audioDestinationNode` type in the `WebAudioAPI` module.
This PR allows for `AudioContext`'s `destination` property to be used
like an `AudioNode`, especially being connected to by other nodes since
this is the only way to output audio to speakers.
For more information, check
[MDN](https://developer.mozilla.org/en-US/docs/Web/API/AudioDestinationNode)1 parent c909d30 commit dfc5b1f
2 files changed
Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments