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

Unified Diff: content/renderer/pepper/pepper_platform_audio_output_impl.cc

Issue 15979015: Reland 15721002: Hook up the device selection to the WebAudio live audio (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed the comments. Created 7 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: content/renderer/pepper/pepper_platform_audio_output_impl.cc
diff --git a/content/renderer/pepper/pepper_platform_audio_output_impl.cc b/content/renderer/pepper/pepper_platform_audio_output_impl.cc
index e53dd6dd2df9e53a0c6eb7dea8c1973a20aa8775..05600dd4787859877f04babac40942636f5f9e87 100644
--- a/content/renderer/pepper/pepper_platform_audio_output_impl.cc
+++ b/content/renderer/pepper/pepper_platform_audio_output_impl.cc
@@ -138,8 +138,9 @@ void PepperPlatformAudioOutputImpl::InitializeOnIOThread(
const media::AudioParameters& params) {
DCHECK(ChildProcess::current()->io_message_loop_proxy()->
BelongsToCurrentThread());
+ const int kSessionId = 0;
if (ipc_)
- ipc_->CreateStream(this, params);
+ ipc_->CreateStream(this, params, kSessionId);
}
void PepperPlatformAudioOutputImpl::StartPlaybackOnIOThread() {

Powered by Google App Engine
This is Rietveld 408576698