Title: [108430] trunk/Source/WebCore
Revision
108430
Author
[email protected]
Date
2012-02-21 18:42:35 -0800 (Tue, 21 Feb 2012)

Log Message

Small typo in AudioPannerNode.cpp
https://bugs.webkit.org/show_bug.cgi?id=75890

Change to check elevation as intended instead of azimuth.

Patch by Raymond Toy <[email protected]> on 2012-02-21
Reviewed by Chris Rogers.

No new tests for correction of typo.

* webaudio/AudioPannerNode.cpp:
(WebCore::AudioPannerNode::getAzimuthElevation):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108429 => 108430)


--- trunk/Source/WebCore/ChangeLog	2012-02-22 02:35:55 UTC (rev 108429)
+++ trunk/Source/WebCore/ChangeLog	2012-02-22 02:42:35 UTC (rev 108430)
@@ -1,3 +1,17 @@
+2012-02-21  Raymond Toy  <[email protected]>
+
+        Small typo in AudioPannerNode.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=75890
+
+        Change to check elevation as intended instead of azimuth.
+        
+        Reviewed by Chris Rogers.
+
+        No new tests for correction of typo.
+
+        * webaudio/AudioPannerNode.cpp:
+        (WebCore::AudioPannerNode::getAzimuthElevation):
+
 2012-02-21  Adam Barth  <[email protected]>
 
         Frame and Navigator shouldn't need to worry about Geolocation

Modified: trunk/Source/WebCore/webaudio/AudioPannerNode.cpp (108429 => 108430)


--- trunk/Source/WebCore/webaudio/AudioPannerNode.cpp	2012-02-22 02:35:55 UTC (rev 108429)
+++ trunk/Source/WebCore/webaudio/AudioPannerNode.cpp	2012-02-22 02:42:35 UTC (rev 108430)
@@ -222,7 +222,7 @@
 
     // Elevation
     double elevation = 90.0 - 180.0 * acos(sourceListener.dot(up)) / piDouble;
-    fixNANs(azimuth); // avoid illegal values
+    fixNANs(elevation); // avoid illegal values
 
     if (elevation > 90.0)
         elevation = 180.0 - elevation;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to