| 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 AudioBuffer { | 7 interface AudioBuffer { |
| 8 | 8 |
| 9 num get duration(); | 9 final num duration; |
| 10 | 10 |
| 11 num get gain(); | 11 num gain; |
| 12 | 12 |
| 13 void set gain(num value); | 13 final int length; |
| 14 | 14 |
| 15 int get length(); | 15 final int numberOfChannels; |
| 16 | 16 |
| 17 int get numberOfChannels(); | 17 final num sampleRate; |
| 18 | |
| 19 num get sampleRate(); | |
| 20 | 18 |
| 21 Float32Array getChannelData(int channelIndex); | 19 Float32Array getChannelData(int channelIndex); |
| 22 } | 20 } |
| OLD | NEW |