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

Unified Diff: chromeos/audio/audio_device.cc

Issue 1320923005: Fill in mic_positions property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « chromeos/audio/audio_device.h ('k') | chromeos/dbus/audio_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/audio/audio_device.cc
diff --git a/chromeos/audio/audio_device.cc b/chromeos/audio/audio_device.cc
index fd6ae45e42d878958b8a746ee7f6c90bcf6cf119..27109ed9988803a007d6992b3fbde5bbf4b8d591 100644
--- a/chromeos/audio/audio_device.cc
+++ b/chromeos/audio/audio_device.cc
@@ -123,6 +123,7 @@ AudioDevice::AudioDevice(const AudioNode& node) {
else
display_name = node.device_name;
device_name = node.device_name;
+ mic_positions = node.mic_positions;
priority = GetDevicePriority(type, node.is_input);
active = node.active;
plugged_time = node.plugged_time;
@@ -151,6 +152,7 @@ std::string AudioDevice::ToString() const {
base::StringAppendF(&result,
"plugged_time= %s ",
base::Uint64ToString(plugged_time).c_str());
+ base::StringAppendF(&result, "mic_positions = %s ", mic_positions.c_str());
return result;
}
« no previous file with comments | « chromeos/audio/audio_device.h ('k') | chromeos/dbus/audio_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698