Bug 19872: Should specify the defaults for PannerNode's position, ...
--- a/webaudio/specification.html Tue Nov 13 15:27:53 2012 -0800
+++ b/webaudio/specification.html Tue Nov 13 15:47:25 2012 -0800
@@ -2460,38 +2460,38 @@
<dl>
<dt id="dfn-refDistance"><code>refDistance</code></dt>
<dd><p>A reference distance for reducing volume as source move further from
- the listener. </p>
+ the listener. The default value is 1. </p>
</dd>
</dl>
<dl>
<dt id="dfn-maxDistance"><code>maxDistance</code></dt>
<dd><p>The maximum distance between source and listener, after which the
- volume will not be reduced any further. </p>
+ volume will not be reduced any further. The default value is 10000. </p>
</dd>
</dl>
<dl>
<dt id="dfn-rolloffFactor"><code>rolloffFactor</code></dt>
<dd><p>Describes how quickly the volume is reduced as source moves away
- from listener. </p>
+ from listener. The default value is 1. </p>
</dd>
</dl>
<dl>
<dt id="dfn-coneInnerAngle"><code>coneInnerAngle</code></dt>
<dd><p>A parameter for directional audio sources, this is an angle, inside
- of which there will be no volume reduction. </p>
+ of which there will be no volume reduction. The default value is 360. </p>
</dd>
</dl>
<dl>
<dt id="dfn-coneOuterAngle"><code>coneOuterAngle</code></dt>
<dd><p>A parameter for directional audio sources, this is an angle, outside
of which the volume will be reduced to a constant value of
- <b>coneOuterGain</b>. </p>
+ <b>coneOuterGain</b>. The default value is 360. </p>
</dd>
</dl>
<dl>
<dt id="dfn-coneOuterGain"><code>coneOuterGain</code></dt>
<dd><p>A parameter for directional audio sources, this is the amount of
- volume reduction outside of the <b>coneOuterAngle</b>. </p>
+ volume reduction outside of the <b>coneOuterAngle</b>. The default value is 0. </p>
</dd>
</dl>
</div>
@@ -2503,6 +2503,8 @@
<b>listener</b> attribute. A 3D cartesian coordinate system is used.</p>
<p>The <dfn id="dfn-x">x, y, z</dfn> parameters represent the coordinates
in 3D space. </p>
+ <p>The default value is (0,0,0)
+ </p>
</dd>
</dl>
<dl>
@@ -2513,6 +2515,8 @@
the listener can be very quiet or completely silent.</p>
<p>The <dfn id="dfn-x_2">x, y, z</dfn> parameters represent a direction
vector in 3D space. </p>
+ <p>The default value is (1,0,0)
+ </p>
</dd>
</dl>
<dl>
@@ -2523,6 +2527,8 @@
shift (pitch change) to apply.</p>
<p>The <dfn id="dfn-x_3">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>