summaryrefslogtreecommitdiffstats
path: root/chromeos/audio/audio_devices_pref_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/audio/audio_devices_pref_handler.h')
-rw-r--r--chromeos/audio/audio_devices_pref_handler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/audio/audio_devices_pref_handler.h b/chromeos/audio/audio_devices_pref_handler.h
index 53a3fce..aeb7b3d 100644
--- a/chromeos/audio/audio_devices_pref_handler.h
+++ b/chromeos/audio/audio_devices_pref_handler.h
@@ -22,6 +22,10 @@ struct AudioDevice;
class CHROMEOS_EXPORT AudioDevicesPrefHandler
: public base::RefCountedThreadSafe<AudioDevicesPrefHandler> {
public:
+ // Integer because C++ does not allow static const double in header files.
+ static const int kDefaultOutputVolumePercent = 75;
+ static const int kDefaultHdmiOutputVolumePercent = 100;
+
// Gets the audio output volume value from prefs for a device. Since we can
// only have either a gain or a volume for a device (depending on whether it
// is input or output), we don't really care which value it is.