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

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

Issue 10831389: Roll IDL to mutlivm@775. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, 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 18 matching lines...) Expand all
29 JSGenerateToJSObject 29 JSGenerateToJSObject
30 ] Oscillator : AudioSourceNode { 30 ] Oscillator : AudioSourceNode {
31 31
32 // Type constants. 32 // Type constants.
33 const unsigned short SINE = 0; 33 const unsigned short SINE = 0;
34 const unsigned short SQUARE = 1; 34 const unsigned short SQUARE = 1;
35 const unsigned short SAWTOOTH = 2; 35 const unsigned short SAWTOOTH = 2;
36 const unsigned short TRIANGLE = 3; 36 const unsigned short TRIANGLE = 3;
37 const unsigned short CUSTOM = 4; 37 const unsigned short CUSTOM = 4;
38 38
39 attribute unsigned short type; 39 attribute unsigned short type
40 setter raises(DOMException);
40 41
41 // Playback state constants. 42 // Playback state constants.
42 const unsigned short UNSCHEDULED_STATE = 0; 43 const unsigned short UNSCHEDULED_STATE = 0;
43 const unsigned short SCHEDULED_STATE = 1; 44 const unsigned short SCHEDULED_STATE = 1;
44 const unsigned short PLAYING_STATE = 2; 45 const unsigned short PLAYING_STATE = 2;
45 const unsigned short FINISHED_STATE = 3; 46 const unsigned short FINISHED_STATE = 3;
46 47
47 readonly attribute unsigned short playbackState; 48 readonly attribute unsigned short playbackState;
48 49
49 readonly attribute AudioParam frequency; // in Hertz 50 readonly attribute AudioParam frequency; // in Hertz
50 readonly attribute AudioParam detune; // in Cents 51 readonly attribute AudioParam detune; // in Cents
51 52
52 void noteOn(in double when); 53 void noteOn(in double when);
53 void noteOff(in double when); 54 void noteOff(in double when);
54 void setWaveTable(in WaveTable waveTable); 55 void setWaveTable(in WaveTable waveTable);
55 56
56 }; 57 };
57 } 58 }
OLDNEW
« no previous file with comments | « third_party/WebCore/Modules/webaudio/MediaStreamAudioSourceNode.idl ('k') | third_party/WebCore/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698