-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AudioNode.ChannelInterpretation: remove page macro #5236
Conversation
@@ -311,13 +311,13 @@ <h2 id="Visualizations">Visualizations</h2> | |||
|
|||
<dl> | |||
<dt>{{domxref("AnalyserNode.getFloatFrequencyData()")}}</dt> | |||
<dd>Copies the current frequency data into a {{domxref("Float32Array")}} array passed into it.</dd> | |||
<dd>Copies the current frequency data into a {{jsxref("Float32Array")}} array passed into it.</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI these are just macro flaw fixes
Preview URLs
FlawsNone! 🎉 External URLsURL: No new external URLs URL: No new external URLs |
<dt><code>speakers</code></dt> | ||
<dd>Use set of "standard" mappings for combinations of common speaker input and outputs setups (mono, stereo, quad, 5.1). For example, with this setting a mono channel input will output to both channels of a stereo output.</dd> | ||
<dt><code>discrete</code></dt> | ||
<dd>Input channels are mapped to output channels in order. If there are more inputs that outputs the additional inputs are dropped; if there are fewer then the unused outputs are silent.</dd> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what the spec says, but I am not clear what it actually means. So for example, Imagine I have a stereo input and a 5.1 output. I understand that two of the inputs will be mapped to two of the outputs and the rest will be silent.
But, which two outputs? How are outputs and inputs numbered?
Partial fix to #3196
AudioNode.ChannelInterpretation was pulling in the table of values for that method from https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Basic_concepts_behind_Web_Audio_API#up-mixing_and_down-mixing
Again, the values would be useful alongside this method. However not worth including. What I have done though is improved the description here/summary of what the values actually mean because without the table the description is insufficient.
I also took the time to link to BCD for the compatibility table and spec.