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

Unified Diff: chromeos/dbus/cras_audio_client.cc

Issue 1380103003: Store audio device's active state in preference (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« chromeos/chromeos_pref_names.cc ('K') | « chromeos/dbus/audio_node.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/cras_audio_client.cc
diff --git a/chromeos/dbus/cras_audio_client.cc b/chromeos/dbus/cras_audio_client.cc
index e8c3a8be93019d10094238ea9d170c874b0e6470..0f068212c99bd4fed5741a66c5dd11f49b093b07 100644
--- a/chromeos/dbus/cras_audio_client.cc
+++ b/chromeos/dbus/cras_audio_client.cc
@@ -411,6 +411,9 @@ class CrasAudioClientImpl : public CrasAudioClient {
} else if (key == cras::kMicPositionsProperty) {
if (!value_reader.PopString(&node->mic_positions))
return false;
+ } else if (key == cras::kStableDeviceIdProperty) {
+ if (!value_reader.PopUint64(&node->stable_device_id))
+ return false;
}
}
« chromeos/chromeos_pref_names.cc ('K') | « chromeos/dbus/audio_node.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698