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

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: Fix string format Created 4 years, 11 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/dbus/audio_node.cc ('k') | extensions/browser/api/audio/audio_apitest.cc » ('j') | 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 651ba4401a696eb7a1071e5c1d5d0f112e94b275..d6c5b71a90d6d69a8db8ecc7799cbdc8dd051223 100644
--- a/chromeos/dbus/cras_audio_client.cc
+++ b/chromeos/dbus/cras_audio_client.cc
@@ -414,6 +414,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;
}
}
« no previous file with comments | « chromeos/dbus/audio_node.cc ('k') | extensions/browser/api/audio/audio_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698