| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 /// @domName AudioBufferSourceNode |
| 8 interface AudioBufferSourceNode extends AudioSourceNode { |
| 9 |
| 10 static final int FINISHED_STATE = 3; |
| 11 |
| 12 static final int PLAYING_STATE = 2; |
| 13 |
| 14 static final int SCHEDULED_STATE = 1; |
| 15 |
| 16 static final int UNSCHEDULED_STATE = 0; |
| 17 |
| 18 /** @domName AudioBufferSourceNode.buffer */ |
| 19 AudioBuffer buffer; |
| 20 |
| 21 /** @domName AudioBufferSourceNode.gain */ |
| 22 final AudioGain gain; |
| 23 |
| 24 /** @domName AudioBufferSourceNode.loop */ |
| 25 bool loop; |
| 26 |
| 27 /** @domName AudioBufferSourceNode.looping */ |
| 28 bool looping; |
| 29 |
| 30 /** @domName AudioBufferSourceNode.playbackRate */ |
| 31 final AudioParam playbackRate; |
| 32 |
| 33 /** @domName AudioBufferSourceNode.playbackState */ |
| 34 final int playbackState; |
| 35 |
| 36 /** @domName AudioBufferSourceNode.noteGrainOn */ |
| 37 void noteGrainOn(num when, num grainOffset, num grainDuration); |
| 38 |
| 39 /** @domName AudioBufferSourceNode.noteOff */ |
| 40 void noteOff(num when); |
| 41 |
| 42 /** @domName AudioBufferSourceNode.noteOn */ |
| 43 void noteOn(num when); |
| 44 } |
| OLD | NEW |