| Index: modules/webaudio/AudioBufferSourceNode.idl
|
| diff --git a/modules/webaudio/AudioBufferSourceNode.idl b/modules/webaudio/AudioBufferSourceNode.idl
|
| index 5ac1c0167d72157aa97220460a09ebe1ae5462c8..135f1ce1be273ee3c9ac9efddd065f37a5c1ee4b 100644
|
| --- a/modules/webaudio/AudioBufferSourceNode.idl
|
| +++ b/modules/webaudio/AudioBufferSourceNode.idl
|
| @@ -25,30 +25,18 @@
|
| // A cached (non-streamed), memory-resident audio source
|
| [
|
| Conditional=WEB_AUDIO,
|
| - StrictTypeChecking,
|
| + TypeChecking=Interface|Nullable,
|
| ] interface AudioBufferSourceNode : AudioSourceNode {
|
| [RaisesException=Setter] attribute AudioBuffer buffer;
|
|
|
| - const unsigned short UNSCHEDULED_STATE = 0;
|
| - const unsigned short SCHEDULED_STATE = 1;
|
| - const unsigned short PLAYING_STATE = 2;
|
| - const unsigned short FINISHED_STATE = 3;
|
| -
|
| - readonly attribute unsigned short playbackState;
|
| -
|
| - readonly attribute AudioParam gain;
|
| readonly attribute AudioParam playbackRate;
|
|
|
| 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 start(optional double when, optional double grainOffset, optional double grainDuration);
|
| [RaisesException] void stop(optional double when);
|
|
|
| - [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);
|
| -
|
| attribute EventHandler onended;
|
| };
|
|
|