Bug 17354: AudioListener default position, orientation and velocity
authorcrogers
Tue, 09 Oct 2012 15:20:50 -0700
changeset 182 f4bfa16b820d
parent 181 351b64e571ba
child 183 9224fb26e77d
Bug 17354: AudioListener default position, orientation and velocity
webaudio/specification.html
--- a/webaudio/specification.html	Tue Oct 09 15:02:04 2012 -0700
+++ b/webaudio/specification.html	Tue Oct 09 15:20:50 2012 -0700
@@ -2385,7 +2385,7 @@
 <dl>
   <dt id="dfn-dopplerFactor"><code>dopplerFactor</code></dt>
     <dd><p>A constant used to determine the amount of pitch shift to use when
-      rendering a doppler effect. </p>
+      rendering a doppler effect.  The default value is 1. </p>
     </dd>
 </dl>
 <dl>
@@ -2404,6 +2404,8 @@
       individual audio sources for spatialization.</p>
       <p>The <dfn id="dfn-x_AudioListener">x, y, z</dfn> parameters represent
       the coordinates in 3D space. </p>
+      <p>The default value is (0,0,0)
+      </p>
     </dd>
 </dl>
 <dl>
@@ -2412,9 +2414,9 @@
       cartesian coordinate space. Both a <b>front</b> vector and an <b>up</b>
       vector are provided.</p>
       <p>The <dfn id="dfn-x_setOrientation">x, y, z</dfn> parameters represent
-      a <b>front</b> direction vector in 3D space. </p>
+      a <b>front</b> direction vector in 3D space, with the default value being (0,0,-1) </p>
       <p>The <dfn id="dfn-x_setOrientation_2">xUp, yUp, zUp</dfn> parameters
-      represent an <b>up</b> direction vector in 3D space. </p>
+      represent an <b>up</b> direction vector in 3D space, with the default value being (0,1,0)  </p>
     </dd>
 </dl>
 <dl>
@@ -2425,6 +2427,8 @@
       (pitch change) to apply.</p>
       <p>The <dfn id="dfn-x_setVelocity_5">x, y, z</dfn> parameters describe a
       direction vector indicating direction of travel and intensity. </p>
+      <p>The default value is (0,0,0)
+      </p>
     </dd>
 </dl>