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

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

Issue 2590823007: Clean up and refactor platform/AudioDestination (Closed)
Patch Set: Remove redundant initializers Created 4 years 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 d1b7bee0fa651a96a47a854c7d3ba469c70fa8b9..7cf0fd38a9c9e0959c23a68023b1c9c98b8a5450 100644
--- a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
@@ -78,9 +78,9 @@ void DefaultAudioDestinationHandler::createDestination() {
float hardwareSampleRate = AudioDestination::hardwareSampleRate();
VLOG(1) << ">>>> hardwareSampleRate = " << hardwareSampleRate;
- m_destination = AudioDestination::create(
- *this, m_inputDeviceId, m_numberOfInputChannels, channelCount(),
- hardwareSampleRate, context()->getSecurityOrigin());
+ m_destination =
+ AudioDestination::create(*this, channelCount(), hardwareSampleRate,
+ context()->getSecurityOrigin());
}
void DefaultAudioDestinationHandler::startRendering() {

Powered by Google App Engine
This is Rietveld 408576698