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

Unified Diff: third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.h

Issue 2102133002: Add constructors for WebAudio nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and prefix use counter names with WebAudio Created 4 years, 3 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: third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.h b/third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.h
index 1c094f7abe8ab40d929af87e6429936a44c5dcbb..7dcf294617b3494273623e46b8efa3d4a610f702 100644
--- a/third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/ChannelSplitterNode.h
@@ -31,6 +31,7 @@
namespace blink {
class BaseAudioContext;
+class ChannelSplitterOptions;
class ChannelSplitterHandler final : public AudioHandler {
public:
@@ -48,6 +49,7 @@ class ChannelSplitterNode final : public AudioNode {
public:
static ChannelSplitterNode* create(BaseAudioContext&, ExceptionState&);
static ChannelSplitterNode* create(BaseAudioContext&, unsigned numberOfOutputs, ExceptionState&);
+ static ChannelSplitterNode* create(BaseAudioContext*, const ChannelSplitterOptions&, ExceptionState&);
private:
ChannelSplitterNode(BaseAudioContext&, unsigned numberOfOutputs);

Powered by Google App Engine
This is Rietveld 408576698