| Index: third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
|
| diff --git a/third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl b/third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
|
| index a838c791f42362faaf9a0ff303be97a7a87a74b0..4988f0cf43b19c1e7a59576b42787e4fb5e95605 100644
|
| --- a/third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
|
| +++ b/third_party/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
|
| @@ -41,15 +41,19 @@
|
| readonly attribute AudioParam playbackRate;
|
|
|
| attribute boolean loop; // This is the proper attribute name from the specification.
|
| - attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility.
|
| +
|
| + attribute double loopStart;
|
| + attribute double loopEnd;
|
|
|
| [V8MeasureAs=WebAudioStart] void start(in double when);
|
| [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double when, in double grainOffset, in double grainDuration);
|
| void stop(in double when);
|
|
|
| #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
|
| - [V8MeasureAs=LegacyWebAudioNoteOn] void noteOn(in double when);
|
| - [V8MeasureAs=LegacyWebAudioNoteOn] void noteGrainOn(in double when, in double grainOffset, in double grainDuration);
|
| + attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility.
|
| +
|
| + [V8MeasureAs=LegacyWebAudio] void noteOn(in double when);
|
| + [V8MeasureAs=LegacyWebAudio] void noteGrainOn(in double when, in double grainOffset, in double grainDuration);
|
| void noteOff(in double when);
|
| #endif
|
| };
|
|
|