Commit ce58a158 authored by Henrik Grunell's avatar Henrik Grunell Committed by Commit Bot

Add device id to SetOutputDeviceForAec log.

Bug: b/112920125
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: Iff889d9ab31c8b5b5a43f8c4b835ef6e70ef6044
Reviewed-on: https://chromium-review.googlesource.com/1190702Reviewed-by: default avatarOlga Sharonova <olka@chromium.org>
Commit-Queue: Henrik Grunell <grunell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587721}
parent 005071b6
......@@ -942,7 +942,7 @@ void AUAudioInputStream::SetOutputDeviceForAec(
if (output_subdevice_id == kAudioObjectUnknown) {
log_callback_.Run(base::StringPrintf(
"AU in: Unable to find an output subdevice in aggregate devie '%s'",
"AU in: Unable to find an output subdevice in aggregate device '%s'",
output_device_id.c_str()));
return;
}
......
......@@ -8,6 +8,7 @@
#include <utility>
#include "base/bind_helpers.h"
#include "base/strings/strcat.h"
#include "base/trace_event/trace_event.h"
#include "media/audio/audio_manager.h"
#include "media/base/audio_parameters.h"
......@@ -130,7 +131,8 @@ void InputStream::SetOutputDeviceForAec(const std::string& output_device_id) {
DCHECK(controller_);
controller_->SetOutputDeviceForAec(output_device_id);
if (log_)
log_->get()->OnLogMessage("SetOutputDeviceForAec");
log_->get()->OnLogMessage(
base::StrCat({"SetOutputDeviceForAec: ", output_device_id}));
}
void InputStream::Record() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment