| 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 AudioBuffer | |
| 10 interface AudioBuffer { | |
| 11 | |
| 12 /** @domName AudioBuffer.duration */ | |
| 13 final num duration; | |
| 14 | |
| 15 /** @domName AudioBuffer.gain */ | |
| 16 num gain; | |
| 17 | |
| 18 /** @domName AudioBuffer.length */ | |
| 19 final int length; | |
| 20 | |
| 21 /** @domName AudioBuffer.numberOfChannels */ | |
| 22 final int numberOfChannels; | |
| 23 | |
| 24 /** @domName AudioBuffer.sampleRate */ | |
| 25 final num sampleRate; | |
| 26 | |
| 27 /** @domName AudioBuffer.getChannelData */ | |
| 28 Float32Array getChannelData(int channelIndex); | |
| 29 } | |
| OLD | NEW |