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

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

Issue 2282483002: Return the correct channelCountMode and channelInterpretation (Closed)
Patch Set: Define setters for the mode and interpretation 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/OfflineAudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
index 0ee1be9c6bd3993a4eb2798c56c8b9d9c38d35e6..e5042117c0f7b54b8b426113049dcd9a7cc06840 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
@@ -54,8 +54,8 @@ OfflineAudioDestinationHandler::OfflineAudioDestinationHandler(AudioNode& node,
// Node-specific defaults.
m_channelCount = m_renderTarget->numberOfChannels();
- m_channelCountMode = Explicit;
- m_channelInterpretation = AudioBus::Speakers;
+ setInternalChannelCountMode(Explicit);
+ setInternalChannelInterpretation(AudioBus::Speakers);
}
PassRefPtr<OfflineAudioDestinationHandler> OfflineAudioDestinationHandler::create(AudioNode& node, AudioBuffer* renderTarget)

Powered by Google App Engine
This is Rietveld 408576698