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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp

Issue 2242573002: Don't delay setting of channelInterpretation and channelCountMode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix grammar in comment. Created 4 years, 4 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/DefaultAudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
index 280a5a5827782e408ebd643bfaa6cf48deef0cd8..ed648e988700bed9fec05bc8f0738a5de1f948c4 100644
--- a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
@@ -37,8 +37,8 @@ DefaultAudioDestinationHandler::DefaultAudioDestinationHandler(AudioNode& node)
{
// Node-specific default mixing rules.
m_channelCount = 2;
- m_channelCountMode = Explicit;
- m_channelInterpretation = AudioBus::Speakers;
+ setInternalChannelCountMode(Explicit);
+ setInternalChannelInterpretation(AudioBus::Speakers);
}
PassRefPtr<DefaultAudioDestinationHandler> DefaultAudioDestinationHandler::create(AudioNode& node)

Powered by Google App Engine
This is Rietveld 408576698