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

Unified Diff: ash/system/chromeos/audio/tray_audio.cc

Issue 14455012: cros: Enable new cras audio handler by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: ash/system/chromeos/audio/tray_audio.cc
diff --git a/ash/system/chromeos/audio/tray_audio.cc b/ash/system/chromeos/audio/tray_audio.cc
index ea0cb94aa711ddbd7b4c980f9aadace94b68f616..c2440929f84207b81ac96aeb95245f6a6cdaf5b7 100644
--- a/ash/system/chromeos/audio/tray_audio.cc
+++ b/ash/system/chromeos/audio/tray_audio.cc
@@ -57,8 +57,8 @@ const int kNoAudioDeviceIcon = -1;
const int kVolumeLevels = 4;
bool UseNewAudioHandler() {
- return CommandLine::ForCurrentProcess()->
- HasSwitch(ash::switches::kAshEnableNewAudioHandler);
+ return !CommandLine::ForCurrentProcess()->
+ HasSwitch(ash::switches::kAshDisableNewAudioHandler);
}
bool IsAudioMuted() {
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/test/ash_test_helper.cc » ('j') | ash/test/ash_test_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698