Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/webaudio/WaveShaperOptions.idl

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/modules/webaudio/WaveShaperOptions.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/WaveShaperOptions.idl b/third_party/WebKit/Source/modules/webaudio/WaveShaperOptions.idl
new file mode 100644
index 0000000000000000000000000000000000000000..c671a57cfcf2ebf0d39f6002df43555ca9cf4eb6
--- /dev/null
+++ b/third_party/WebKit/Source/modules/webaudio/WaveShaperOptions.idl
@@ -0,0 +1,9 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://webaudio.github.io/web-audio-api/#waveshaperoptions
+dictionary WaveShaperOptions : AudioNodeOptions {
+ sequence<float> curve;
+ OverSampleType oversample;
+};

Powered by Google App Engine