Fix MediaStreamAudioSourceNode and MediaStreamAudioDestinationNode sections, adding channel mixing rules for MediaStreamAudioDestinationNode
authorcrogers
Mon, 22 Apr 2013 13:17:21 -0700
changeset 301 90b4b9f7b735
parent 300 14a452a003dc
child 302 21c9a7bdbc3a
Fix MediaStreamAudioSourceNode and MediaStreamAudioDestinationNode sections, adding channel mixing rules for MediaStreamAudioDestinationNode
webaudio/specification.html
--- a/webaudio/specification.html	Thu Apr 18 18:29:33 2013 -0400
+++ b/webaudio/specification.html	Mon Apr 22 13:17:21 2013 -0700
@@ -3808,7 +3808,12 @@
 used as a source of audio.</p>
 <pre>    numberOfInputs  : 0
     numberOfOutputs : 1
-    </pre>
+</pre>
+
+  <p>
+  The number of channels of the output corresponds to the number of channels of the <code>AudioMediaStreamTrack</code>.
+  If there is no valid audio track, then the number of channels output will be one silent channel.
+  </p>
 
 <div class="block">
 
@@ -3835,16 +3840,16 @@
 This stream can be used in a similar way as a MediaStream obtained via getUserMedia(), and
 can, for example, be sent to a remote peer using the RTCPeerConnection addStream() method.
 </p>
-<pre>    numberOfInputs  : 1
+<pre>
+    numberOfInputs  : 1
     numberOfOutputs : 0
+
+    channelCount = 2;
+    channelCountMode = "explicit";
+    channelInterpretation = "speakers";
 </pre>
 
 <p>
-The number of channels of the output corresponds to the number of channels of the <code>AudioMediaStreamTrack</code>.
-If there is no valid audio track, then the number of channels output will be one silent channel.
-</p>
-
-<p>
 The number of channels of the input is by default 2 (stereo).  Any connections to the input
 are up-mixed/down-mixed to the number of channels of the input.
 </p>