summaryrefslogtreecommitdiffstats
path: root/chromeos/chromeos_switches.h
diff options
context:
space:
mode:
authorrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 20:51:37 +0000
committerrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-30 20:51:37 +0000
commit47de7230cdd4d2708a4af607249d8f36e368764a (patch)
tree765d91a2ea5bdfeb7531dac89165badc546e0215 /chromeos/chromeos_switches.h
parentb3a5aeeaa91b682a1d90b131892a21886fcdcc3e (diff)
downloadchromium_src-47de7230cdd4d2708a4af607249d8f36e368764a.zip
chromium_src-47de7230cdd4d2708a4af607249d8f36e368764a.tar.gz
chromium_src-47de7230cdd4d2708a4af607249d8f36e368764a.tar.bz2
Move audio device switching to Chrome.
Currently when a user plugs in (or plugs out) an audio device, cras checks the device priority and various other factors then switches the active device. Move this code to within Chrome. We're doing this primarily to be able to control the volume when an active device switches. We are moving to storing per device volumes in Chrome and we can't switch to the correct volume without a lag time (with the old volume) for a device unless the device switching is done in Chrome. This CL is still untested - will discuss the changes needed in Cras that I can make locally to test this CL. R=hshi@chromium.org, satorux@chromium.org BUG=175798 TEST=Plug in headphones to a device and ensure that the new active device are the headphones. Review URL: https://codereview.chromium.org/13993031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197462 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/chromeos_switches.h')
-rw-r--r--chromeos/chromeos_switches.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chromeos/chromeos_switches.h b/chromeos/chromeos_switches.h
index ed9fcbf..2000eae 100644
--- a/chromeos/chromeos_switches.h
+++ b/chromeos/chromeos_switches.h
@@ -27,6 +27,7 @@ CHROMEOS_EXPORT extern const char kDisableQuickofficeComponentApp[];
CHROMEOS_EXPORT extern const char kDisableOnlineEULA[];
CHROMEOS_EXPORT extern const char kDisableOOBEBlockingUpdate[];
CHROMEOS_EXPORT extern const char kDisableStubEthernet[];
+CHROMEOS_EXPORT extern const char kEnableChromeAudioSwitching[];
CHROMEOS_EXPORT extern const char kEnableExperimentalBluetooth[];
CHROMEOS_EXPORT extern const char kDisableNewNetworkChangeNotifier[];
CHROMEOS_EXPORT extern const char kEnableScreensaverExtensions[];