Skip to content

Commit

Permalink
Fix channelCount semantics. (#18473)
Browse files Browse the repository at this point in the history
* Fix `channelCount` semantics.

This sparked confusion, e.g. in WebAudio/web-audio-api#2496.

Source: I am this specification's editor.

* Fix markup.

* Fix parenthesis
  • Loading branch information
padenot authored Jul 18, 2022
1 parent 7c6a48c commit 44dca7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions files/en-us/web/api/mediaelementaudiosourcenode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ A `MediaElementAudioSourceNode` has no inputs and exactly one output, and is cre
<tr>
<th scope="row">Channel count</th>
<td>
defined by the media in the {{domxref("HTMLMediaElement")}}
passed to the
{{domxref("AudioContext.createMediaElementSource")}}
method that created it.
2 (but note that {{domxref("AudioNode.channelCount")}} is only used for up-mixing and down-mixing {{domxref("AudioNode")}} inputs, and {{domxref("MediaElementAudioSourceNode")}} doesn't have any input)
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 44dca7b

Please sign in to comment.