Title: [115111] trunk/Source/WebCore
Revision
115111
Author
[email protected]
Date
2012-04-24 14:20:09 -0700 (Tue, 24 Apr 2012)

Log Message

WaveTable should normalize to 0dbFS instead of -6dbFS
https://bugs.webkit.org/show_bug.cgi?id=84644

Reviewed by Kenneth Russell.

No new tests. Oscillator tests will be rebaselined after landing, since several platforms are affected.

* Modules/webaudio/WaveTable.cpp:
(WebCore::WaveTable::createBandLimitedTables):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (115110 => 115111)


--- trunk/Source/WebCore/ChangeLog	2012-04-24 21:15:55 UTC (rev 115110)
+++ trunk/Source/WebCore/ChangeLog	2012-04-24 21:20:09 UTC (rev 115111)
@@ -1,3 +1,15 @@
+2012-04-24  Chris Rogers  <[email protected]>
+
+        WaveTable should normalize to 0dbFS instead of -6dbFS
+        https://bugs.webkit.org/show_bug.cgi?id=84644
+
+        Reviewed by Kenneth Russell.
+
+        No new tests. Oscillator tests will be rebaselined after landing, since several platforms are affected.
+
+        * Modules/webaudio/WaveTable.cpp:
+        (WebCore::WaveTable::createBandLimitedTables):
+
 2012-04-24  Tommy Widenflycht  <[email protected]>
 
         MediaStream API: Create a new flag for PeerConnection

Modified: trunk/Source/WebCore/Modules/webaudio/WaveTable.cpp (115110 => 115111)


--- trunk/Source/WebCore/Modules/webaudio/WaveTable.cpp	2012-04-24 21:15:55 UTC (rev 115110)
+++ trunk/Source/WebCore/Modules/webaudio/WaveTable.cpp	2012-04-24 21:20:09 UTC (rev 115111)
@@ -211,7 +211,7 @@
             vmaxmgv(data, 1, &maxValue, m_waveTableSize);
 
             if (maxValue)
-                normalizationScale = 0.5f / maxValue;
+                normalizationScale = 1.0f / maxValue;
         }
 
         // Apply normalization scale.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to