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

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

Issue 11363035: Roll IDLs forward. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 23 matching lines...) Expand all
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 AudioGain 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 attribute boolean looping; // This is an alias for the .loop attribute for b ackwards compatibility. 44
45 attribute double loopStart;
46 attribute double loopEnd;
45 47
46 [V8MeasureAs=WebAudioStart] void start(in double when); 48 [V8MeasureAs=WebAudioStart] void start(in double when);
47 [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double w hen, in double grainOffset, in double grainDuration); 49 [V8MeasureAs=WebAudioStart, ImplementedAs=startGrain] void start(in double w hen, in double grainOffset, in double grainDuration);
48 void stop(in double when); 50 void stop(in double when);
49 51
50 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO 52 #if defined(ENABLE_LEGACY_WEB_AUDIO) && ENABLE_LEGACY_WEB_AUDIO
51 [V8MeasureAs=LegacyWebAudioNoteOn] void noteOn(in double when); 53 attribute boolean looping; // This is an alias for the .loop attribute for b ackwards compatibility.
52 [V8MeasureAs=LegacyWebAudioNoteOn] void noteGrainOn(in double when, in doubl e grainOffset, in double grainDuration); 54
55 [V8MeasureAs=LegacyWebAudio] void noteOn(in double when);
56 [V8MeasureAs=LegacyWebAudio] void noteGrainOn(in double when, in double grai nOffset, in double grainDuration);
53 void noteOff(in double when); 57 void noteOff(in double when);
54 #endif 58 #endif
55 }; 59 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698