| Index: modules/webaudio/AudioBufferSourceNode.idl
|
| diff --git a/modules/webaudio/AudioBufferSourceNode.idl b/modules/webaudio/AudioBufferSourceNode.idl
|
| index ab58774ead668fca7c5da8739217e573e73c3996..5ac1c0167d72157aa97220460a09ebe1ae5462c8 100644
|
| --- a/modules/webaudio/AudioBufferSourceNode.idl
|
| +++ b/modules/webaudio/AudioBufferSourceNode.idl
|
| @@ -24,9 +24,10 @@
|
|
|
| // A cached (non-streamed), memory-resident audio source
|
| [
|
| - Conditional=WEB_AUDIO
|
| + Conditional=WEB_AUDIO,
|
| + StrictTypeChecking,
|
| ] interface AudioBufferSourceNode : AudioSourceNode {
|
| - [StrictTypeChecking, RaisesException=Setter] attribute AudioBuffer buffer;
|
| + [RaisesException=Setter] attribute AudioBuffer buffer;
|
|
|
| const unsigned short UNSCHEDULED_STATE = 0;
|
| const unsigned short SCHEDULED_STATE = 1;
|
| @@ -38,16 +39,13 @@
|
| readonly attribute AudioParam gain;
|
| readonly attribute AudioParam playbackRate;
|
|
|
| - attribute boolean loop; // This is the proper attribute name from the specification.
|
| -
|
| + attribute boolean loop;
|
| attribute double loopStart;
|
| attribute double loopEnd;
|
|
|
| [RaisesException, MeasureAs=WebAudioStart] void start(optional double when, optional double grainOffset, optional double grainDuration);
|
| [RaisesException] void stop(optional double when);
|
|
|
| - [DeprecateAs=WebAudioLooping, ImplementedAs=loop] attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility.
|
| -
|
| [RaisesException, ImplementedAs=start, MeasureAs=LegacyWebAudio] void noteOn(double when);
|
| [RaisesException, MeasureAs=LegacyWebAudio] void noteGrainOn(double when, double grainOffset, double grainDuration);
|
| [RaisesException, ImplementedAs=stop] void noteOff(double when);
|
|
|