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

Unified Diff: content/renderer/media/webrtc_audio_renderer.cc

Issue 1323403005: Allow AudioOutputDevice objects to be initialized with a specific hardware output device and store … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Palmer's comments Created 5 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: content/renderer/media/webrtc_audio_renderer.cc
diff --git a/content/renderer/media/webrtc_audio_renderer.cc b/content/renderer/media/webrtc_audio_renderer.cc
index d047df10a70857880c9bb1af21483b9cb23ae704..7382d173d6e9f80afab05b9152141a17eabc0aaa 100644
--- a/content/renderer/media/webrtc_audio_renderer.cc
+++ b/content/renderer/media/webrtc_audio_renderer.cc
@@ -271,10 +271,10 @@ bool WebRtcAudioRenderer::Initialize(WebRtcAudioRendererSource* source) {
source_ = source;
// Configure the audio rendering client and start rendering.
- sink_ = AudioDeviceFactory::NewOutputDevice(source_render_frame_id_);
-
DCHECK_GE(session_id_, 0);
- sink_->InitializeWithSessionId(sink_params_, this, session_id_);
+ sink_ = AudioDeviceFactory::NewOutputDevice(
+ source_render_frame_id_, session_id_, std::string(), url::Origin());
+ sink_->Initialize(sink_params_, this);
sink_->Start();

Powered by Google App Engine
This is Rietveld 408576698