| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface DOMTokenList { | 7 interface AudioBuffer { |
| 8 |
| 9 num get duration(); |
| 10 |
| 11 num get gain(); |
| 12 |
| 13 void set gain(num value); |
| 8 | 14 |
| 9 int get length(); | 15 int get length(); |
| 10 | 16 |
| 11 void add(String token); | 17 int get numberOfChannels(); |
| 12 | 18 |
| 13 bool contains(String token); | 19 num get sampleRate(); |
| 14 | 20 |
| 15 String item(int index); | 21 Float32Array getChannelData(int channelIndex); |
| 16 | |
| 17 void remove(String token); | |
| 18 | |
| 19 bool toggle(String token); | |
| 20 } | 22 } |
| OLD | NEW |