Commit 966e80f
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 966e80f
File tree
4 files changed
+71
-0
lines changed- src/WebAudioAPI
- tests/WebAudioAPI
4 files changed
+71
-0
lines changedSome 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 | + | |
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 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments