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

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

Issue 11359196: Associate audio streams with their source/destination RenderView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Plus, removed CalledOnValidThread DCHECK from sampleRate() call since nothing mutates. Created 8 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
« no previous file with comments | « content/renderer/media/audio_input_message_filter.h ('k') | content/renderer/media/audio_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_input_message_filter.cc
diff --git a/content/renderer/media/audio_input_message_filter.cc b/content/renderer/media/audio_input_message_filter.cc
index ab49ec5f0f716c8bac7a8912cd7e08d7bc4f6d33..e70dcd0656fa5bbb7da3bc3a05182193f8836ae9 100644
--- a/content/renderer/media/audio_input_message_filter.cc
+++ b/content/renderer/media/audio_input_message_filter.cc
@@ -167,6 +167,12 @@ void AudioInputMessageFilter::CreateStream(int stream_id,
stream_id, params, device_id, automatic_gain_control));
}
+void AudioInputMessageFilter::AssociateStreamWithConsumer(
+ int stream_id, int render_view_id) {
+ Send(new AudioInputHostMsg_AssociateStreamWithConsumer(
+ stream_id, render_view_id));
+}
+
void AudioInputMessageFilter::StartDevice(int stream_id, int session_id) {
Send(new AudioInputHostMsg_StartDevice(stream_id, session_id));
}
« no previous file with comments | « content/renderer/media/audio_input_message_filter.h ('k') | content/renderer/media/audio_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698