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

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

Issue 2014343002: Defer changes to channelInterpretation to pre/post rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/AudioNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.h b/third_party/WebKit/Source/modules/webaudio/AudioNode.h
index 489664235e7e7d3912d9d7d978cdd6603aefca2f..15a3bd525f94a1b59612bbe99836ed1823a3c0f4 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNode.h
@@ -217,6 +217,7 @@ public:
AudioBus::ChannelInterpretation internalChannelInterpretation() const { return m_channelInterpretation; }
void updateChannelCountMode();
+ void updateChannelInterpretation();
protected:
// Inputs and outputs must be created before the AudioHandler is
@@ -273,6 +274,10 @@ protected:
// The new channel count mode that will be used to set the actual mode in the pre or post
// rendering phase.
ChannelCountMode m_newChannelCountMode;
+ // The new channel interpretation that will be used to set the actual
+ // intepretation in the pre or post rendering phase.
+ AudioBus::ChannelInterpretation m_newChannelInterpretation;
+
};
class MODULES_EXPORT AudioNode : public EventTargetWithInlineData {

Powered by Google App Engine
This is Rietveld 408576698