Index: modules/webaudio/AnalyserNode.idl |
diff --git a/modules/webaudio/AnalyserNode.idl b/modules/webaudio/AnalyserNode.idl |
index f3add662997d008ed25cac7e8e65b417a5771260..4de5f299edc024288576909ab357dffe1ef615ec 100644 |
--- a/modules/webaudio/AnalyserNode.idl |
+++ b/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); |
}; |