Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2258)

Unified Diff: Source/modules/webaudio/AnalyserNode.idl

Issue 212793002: Fix attributes types on AnalyserNode as specification of web audio. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add compatibility.js Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/AnalyserNode.cpp ('k') | Source/modules/webaudio/RealtimeAnalyser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AnalyserNode.idl
diff --git a/Source/modules/webaudio/AnalyserNode.idl b/Source/modules/webaudio/AnalyserNode.idl
index e465c909b6ce62cbeeac3490e950a7e73750ded7..4de5f299edc024288576909ab357dffe1ef615ec 100644
--- a/Source/modules/webaudio/AnalyserNode.idl
+++ b/Source/modules/webaudio/AnalyserNode.idl
@@ -29,11 +29,11 @@
readonly attribute unsigned long frequencyBinCount;
// minDecibels / maxDecibels represent the range to scale the FFT analysis data for conversion to unsigned byte values.
- [RaisesException=Setter] attribute float minDecibels;
- [RaisesException=Setter] attribute float maxDecibels;
+ [RaisesException=Setter] attribute double minDecibels;
+ [RaisesException=Setter] attribute double maxDecibels;
// A value from 0.0 -> 1.0 where 0.0 represents no time averaging with the last analysis frame.
- [RaisesException=Setter] attribute float smoothingTimeConstant;
+ [RaisesException=Setter] attribute double smoothingTimeConstant;
// Copies the current frequency data into the passed array.
// If the array has fewer elements than the frequencyBinCount, the excess elements will be dropped.
« no previous file with comments | « Source/modules/webaudio/AnalyserNode.cpp ('k') | Source/modules/webaudio/RealtimeAnalyser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698