summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/webaudio/AnalyserNode.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/webaudio/AnalyserNode.idl')
-rw-r--r--chromium/third_party/WebKit/Source/modules/webaudio/AnalyserNode.idl7
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/webaudio/AnalyserNode.idl b/chromium/third_party/WebKit/Source/modules/webaudio/AnalyserNode.idl
index f3add662997..4de5f299edc 100644
--- a/chromium/third_party/WebKit/Source/modules/webaudio/AnalyserNode.idl
+++ b/chromium/third_party/WebKit/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.
@@ -41,5 +41,6 @@
void getByteFrequencyData(Uint8Array array);
// Real-time waveform data
+ void getFloatTimeDomainData(Float32Array array);
void getByteTimeDomainData(Uint8Array array);
};