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

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

Issue 1769933002: Looking up device id by session id for AudioRendererMixerInput (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing guidou@'s comments Created 4 years, 8 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/audio_message_filter.cc
diff --git a/content/renderer/media/audio_message_filter.cc b/content/renderer/media/audio_message_filter.cc
index 7ecf9b164140ffa8da08ad93e010e3600ae836de..06f895a93811b10ba1070a9c2d80f895193bc909 100644
--- a/content/renderer/media/audio_message_filter.cc
+++ b/content/renderer/media/audio_message_filter.cc
@@ -187,13 +187,14 @@ void AudioMessageFilter::OnChannelClosing() {
void AudioMessageFilter::OnDeviceAuthorized(
int stream_id,
media::OutputDeviceStatus device_status,
- const media::AudioParameters& output_params) {
+ const media::AudioParameters& output_params,
+ const std::string& matched_device_id) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
media::AudioOutputIPCDelegate* delegate = delegates_.Lookup(stream_id);
if (!delegate)
return;
- delegate->OnDeviceAuthorized(device_status, output_params);
+ delegate->OnDeviceAuthorized(device_status, output_params, matched_device_id);
}
void AudioMessageFilter::OnStreamCreated(

Powered by Google App Engine
This is Rietveld 408576698