| 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: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName AudioBufferSourceNode | |
| 10 interface AudioBufferSourceNode extends AudioSourceNode { | |
| 11 | |
| 12 static final int FINISHED_STATE = 3; | |
| 13 | |
| 14 static final int PLAYING_STATE = 2; | |
| 15 | |
| 16 static final int SCHEDULED_STATE = 1; | |
| 17 | |
| 18 static final int UNSCHEDULED_STATE = 0; | |
| 19 | |
| 20 /** @domName AudioBufferSourceNode.buffer */ | |
| 21 AudioBuffer buffer; | |
| 22 | |
| 23 /** @domName AudioBufferSourceNode.gain */ | |
| 24 final AudioGain gain; | |
| 25 | |
| 26 /** @domName AudioBufferSourceNode.loop */ | |
| 27 bool loop; | |
| 28 | |
| 29 /** @domName AudioBufferSourceNode.looping */ | |
| 30 bool looping; | |
| 31 | |
| 32 /** @domName AudioBufferSourceNode.playbackRate */ | |
| 33 final AudioParam playbackRate; | |
| 34 | |
| 35 /** @domName AudioBufferSourceNode.playbackState */ | |
| 36 final int playbackState; | |
| 37 | |
| 38 /** @domName AudioBufferSourceNode.noteGrainOn */ | |
| 39 void noteGrainOn(num when, num grainOffset, num grainDuration); | |
| 40 | |
| 41 /** @domName AudioBufferSourceNode.noteOff */ | |
| 42 void noteOff(num when); | |
| 43 | |
| 44 /** @domName AudioBufferSourceNode.noteOn */ | |
| 45 void noteOn(num when); | |
| 46 } | |
| OLD | NEW |