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

Unified Diff: content/renderer/media/webrtc_audio_capturer.h

Issue 12383016: Merge AssociateStreamWithProducer message into CreateStream message for both audio output and input. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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_capturer.h
diff --git a/content/renderer/media/webrtc_audio_capturer.h b/content/renderer/media/webrtc_audio_capturer.h
index e9b927a9790c6133ba361d3f28a80e1b023dff64..7c209d21120fc5a56ead19cd01ce2c06b415eb73 100644
--- a/content/renderer/media/webrtc_audio_capturer.h
+++ b/content/renderer/media/webrtc_audio_capturer.h
@@ -52,9 +52,10 @@ class CONTENT_EXPORT WebRtcAudioCapturer
static scoped_refptr<WebRtcAudioCapturer> CreateCapturer();
// Creates and configures the default audio capturing source using the
- // provided audio parameters.
- // Called on the main render thread.
- bool Initialize(media::ChannelLayout channel_layout, int sample_rate);
+ // provided audio parameters. |render_view_id| specifies the render view
+ // consuming audio for capture. Called on the main render thread.
+ bool Initialize(int render_view_id,
+ media::ChannelLayout channel_layout, int sample_rate);
// Called by the client on the sink side to add a sink.
// WebRtcAudioDeviceImpl calls this method on the main render thread but

Powered by Google App Engine
This is Rietveld 408576698