summaryrefslogtreecommitdiff
path: root/Source/WebCore/Modules/webaudio/AnalyserNode.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/Modules/webaudio/AnalyserNode.idl')
-rw-r--r--Source/WebCore/Modules/webaudio/AnalyserNode.idl14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/WebCore/Modules/webaudio/AnalyserNode.idl b/Source/WebCore/Modules/webaudio/AnalyserNode.idl
index 458df84a6..d43f95910 100644
--- a/Source/WebCore/Modules/webaudio/AnalyserNode.idl
+++ b/Source/WebCore/Modules/webaudio/AnalyserNode.idl
@@ -26,21 +26,21 @@
Conditional=WEB_AUDIO,
JSGenerateToJSObject,
] interface AnalyserNode : AudioNode {
- [SetterRaisesException] attribute unsigned long fftSize;
+ [SetterMayThrowException] attribute unsigned long fftSize;
readonly attribute unsigned long frequencyBinCount;
// minDecibels / maxDecibels represent the range to scale the FFT analysis data for conversion to unsigned byte values.
- [SetterRaisesException] attribute double minDecibels;
- [SetterRaisesException] attribute double maxDecibels;
+ [SetterMayThrowException] attribute unrestricted double minDecibels;
+ [SetterMayThrowException] attribute unrestricted double maxDecibels;
// A value from 0.0 -> 1.0 where 0.0 represents no time averaging with the last analysis frame.
- [SetterRaisesException] attribute double smoothingTimeConstant;
+ [SetterMayThrowException] attribute unrestricted 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.
- void getFloatFrequencyData(Float32Array array);
- void getByteFrequencyData(Uint8Array array);
+ void getFloatFrequencyData(Float32Array? array); // FIXME: The parameter should not be nullable.
+ void getByteFrequencyData(Uint8Array? array); // FIXME: The parameter should not be nullable.
// Real-time waveform data
- void getByteTimeDomainData(Uint8Array array);
+ void getByteTimeDomainData(Uint8Array? array); // FIXME: The parameter should not be nullable.
};