Precision updates in WebAudio.
[WebKit-https.git] / Source / WebCore / ChangeLog
index c8834097f7ed119e8963c6406f6b61c156aa141b..e9859035491c21494f5eb698378ccd44416a6ced 100644 (file)
@@ -1,3 +1,39 @@
+2013-09-05  Praveen R Jadhav  <praveen.j@samsung.com>
+
+        Precision updates in WebAudio.
+        https://bugs.webkit.org/show_bug.cgi?id=119739
+
+        Reviewed by Philippe Normand.
+
+        WebAudio Specification suggests to use 'double' datatypes
+        for minDecibels, maxDecibels and smoothingTimeConstant in
+        AnalyserNode.idl and currentTime in AudioContext.idl.
+        Current WebKit implementation has declared these attributes
+        as 'float' type.
+
+        Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioContext-section
+              https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AnalyserNode
+
+        No new tests, covered by existing tests.
+
+        * Modules/webaudio/AnalyserNode.cpp:
+        (WebCore::AnalyserNode::setMinDecibels):
+        (WebCore::AnalyserNode::setMaxDecibels):
+        (WebCore::AnalyserNode::setSmoothingTimeConstant):
+        * Modules/webaudio/AnalyserNode.h:
+        (WebCore::AnalyserNode::minDecibels):
+        (WebCore::AnalyserNode::maxDecibels):
+        (WebCore::AnalyserNode::smoothingTimeConstant):
+        * Modules/webaudio/AnalyserNode.idl:
+        * Modules/webaudio/AudioContext.idl:
+        * Modules/webaudio/RealtimeAnalyser.h:
+        (WebCore::RealtimeAnalyser::setMinDecibels):
+        (WebCore::RealtimeAnalyser::minDecibels):
+        (WebCore::RealtimeAnalyser::setMaxDecibels):
+        (WebCore::RealtimeAnalyser::maxDecibels):
+        (WebCore::RealtimeAnalyser::setSmoothingTimeConstant):
+        (WebCore::RealtimeAnalyser::smoothingTimeConstant):
+
 2013-09-05  Mihnea Ovidenie  <mihnea@adobe.com>
 
         Replace node() calls with generatingNode() for RenderRegion code