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

Side by Side Diff: client/html/generated/html/dartium/AudioBuffer.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 class _AudioBufferImpl extends _DOMTypeBase implements AudioBuffer {
3 _AudioBufferImpl._wrap(ptr) : super._wrap(ptr);
4
5 num get duration() => _wrap(_ptr.duration);
6
7 num get gain() => _wrap(_ptr.gain);
8
9 void set gain(num value) { _ptr.gain = _unwrap(value); }
10
11 int get length() => _wrap(_ptr.length);
12
13 int get numberOfChannels() => _wrap(_ptr.numberOfChannels);
14
15 num get sampleRate() => _wrap(_ptr.sampleRate);
16
17 Float32Array getChannelData(int channelIndex) {
18 return _wrap(_ptr.getChannelData(_unwrap(channelIndex)));
19 }
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698