Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: Modules/webaudio/AudioBufferSourceNode.idl

Issue 13163002: Roll IDLs. (Closed) Base URL: http://dart.googlecode.com/svn/third_party/WebCore/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 [CustomSetter] attribute AudioBuffer buffer 30 [CustomSetter] attribute AudioBuffer buffer
31 setter raises (DOMException); 31 setter raises (DOMException);
32 32
33 const unsigned short UNSCHEDULED_STATE = 0; 33 const unsigned short UNSCHEDULED_STATE = 0;
34 const unsigned short SCHEDULED_STATE = 1; 34 const unsigned short SCHEDULED_STATE = 1;
35 const unsigned short PLAYING_STATE = 2; 35 const unsigned short PLAYING_STATE = 2;
36 const unsigned short FINISHED_STATE = 3; 36 const unsigned short FINISHED_STATE = 3;
37 37
38 readonly attribute unsigned short playbackState; 38 readonly attribute unsigned short playbackState;
39 39
40 readonly attribute AudioGain gain; 40 readonly attribute AudioParam gain;
41 readonly attribute AudioParam playbackRate; 41 readonly attribute AudioParam playbackRate;
42 42
43 attribute boolean loop; // This is the proper attribute name from the specif ication. 43 attribute boolean loop; // This is the proper attribute name from the specif ication.
44 44
45 attribute double loopStart; 45 attribute double loopStart;
46 attribute double loopEnd; 46 attribute double loopEnd;
47 47
48 [V8MeasureAs=WebAudioStart] void start(in double when); 48 [V8MeasureAs=WebAudioStart] void start(in double when);
49 [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double w hen, in double grainOffset); 49 [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double w hen, in double grainOffset);
50 [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double w hen, in double grainOffset, in double grainDuration); 50 [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double w hen, in double grainOffset, in double grainDuration);
51 void stop(in double when); 51 void stop(in double when);
52 52
53 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO 53 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
54 attribute boolean looping; // This is an alias for the .loop attribute for b ackwards compatibility. 54 attribute boolean looping; // This is an alias for the .loop attribute for b ackwards compatibility.
55 55
56 [V8MeasureAs=LegacyWebAudio] void noteOn(in double when); 56 [V8MeasureAs=LegacyWebAudio] void noteOn(in double when);
57 [V8MeasureAs=LegacyWebAudio] void noteGrainOn(in double when, in double grai nOffset, in double grainDuration); 57 [V8MeasureAs=LegacyWebAudio] void noteGrainOn(in double when, in double grai nOffset, in double grainDuration);
58 void noteOff(in double when); 58 void noteOff(in double when);
59 #endif 59 #endif
60 }; 60 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698