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

Unified Diff: client/html/generated/html/frog/AudioContext.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, 10 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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/frog/AudioContext.dart
diff --git a/client/html/generated/html/frog/AudioContext.dart b/client/html/generated/html/frog/AudioContext.dart
new file mode 100644
index 0000000000000000000000000000000000000000..e5570aae3ebb693855d5114aed8778ff38c239cb
--- /dev/null
+++ b/client/html/generated/html/frog/AudioContext.dart
@@ -0,0 +1,49 @@
+
+class _AudioContextImpl implements AudioContext native "*AudioContext" {
+
+ final num currentTime;
+
+ final _AudioDestinationNodeImpl destination;
+
+ final _AudioListenerImpl listener;
+
+ EventListener oncomplete;
+
+ final num sampleRate;
+
+ _RealtimeAnalyserNodeImpl createAnalyser() native;
+
+ _BiquadFilterNodeImpl createBiquadFilter() native;
+
+ _AudioBufferImpl createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numberOfFrames, [num sampleRate = null]) native;
+
+ _AudioBufferSourceNodeImpl createBufferSource() native;
+
+ _AudioChannelMergerImpl createChannelMerger() native;
+
+ _AudioChannelSplitterImpl createChannelSplitter() native;
+
+ _ConvolverNodeImpl createConvolver() native;
+
+ _DelayNodeImpl createDelayNode() native;
+
+ _DynamicsCompressorNodeImpl createDynamicsCompressor() native;
+
+ _AudioGainNodeImpl createGainNode() native;
+
+ _HighPass2FilterNodeImpl createHighPass2Filter() native;
+
+ _JavaScriptAudioNodeImpl createJavaScriptNode(int bufferSize) native;
+
+ _LowPass2FilterNodeImpl createLowPass2Filter() native;
+
+ _MediaElementAudioSourceNodeImpl createMediaElementSource(_MediaElementImpl mediaElement) native;
+
+ _AudioPannerNodeImpl createPanner() native;
+
+ _WaveShaperNodeImpl createWaveShaper() native;
+
+ void decodeAudioData(_ArrayBufferImpl audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback = null]) native;
+
+ void startRendering() native;
+}

Powered by Google App Engine
This is Rietveld 408576698