Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: client/html/generated/src/wrapping/_AudioBufferWrappingImplementation.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/html/generated/src/wrapping/_AudioBufferWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_AudioBufferWrappingImplementation.dart b/client/html/generated/src/wrapping/_AudioBufferWrappingImplementation.dart
new file mode 100644
index 0000000000000000000000000000000000000000..24e85c8c7ebdf248ec70c596fa8a9d984915b770
--- /dev/null
+++ b/client/html/generated/src/wrapping/_AudioBufferWrappingImplementation.dart
@@ -0,0 +1,25 @@
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// WARNING: Do not edit - generated code.
+
+class AudioBufferWrappingImplementation extends DOMWrapperBase implements AudioBuffer {
+ AudioBufferWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
+
+ num get duration() { return _ptr.duration; }
+
+ num get gain() { return _ptr.gain; }
+
+ void set gain(num value) { _ptr.gain = value; }
+
+ int get length() { return _ptr.length; }
+
+ int get numberOfChannels() { return _ptr.numberOfChannels; }
+
+ num get sampleRate() { return _ptr.sampleRate; }
+
+ Float32Array getChannelData(int channelIndex) {
+ return LevelDom.wrapFloat32Array(_ptr.getChannelData(channelIndex));
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698