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

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: comment and bug ref to remove AudioManagerBase dependency 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 c3db8e29afe0925b399630b8c7a78431c8afb3b1..9e7322d128e65f0d5f9507a544c8cf01943e7d16 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(
« no previous file with comments | « content/renderer/media/audio_message_filter.h ('k') | content/renderer/media/audio_message_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698