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

Unified Diff: chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h

Issue 23536034: Set up hdmi output device default volume to 100. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove the default value of input gain. Created 7 years, 3 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: chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h
diff --git a/chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h b/chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h
index 1a46dcfa303ef4b5bc01f47ed7b07d6473361f9d..4c1dcd08fbcc0528ef706ad2a8cc37d032916cdb 100644
--- a/chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h
+++ b/chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h
@@ -22,7 +22,8 @@ class AudioDevicesPrefHandlerImpl : public AudioDevicesPrefHandler {
explicit AudioDevicesPrefHandlerImpl(PrefService* local_state);
// Overridden from AudioDevicesPrefHandler.
- virtual double GetVolumeGainValue(const AudioDevice& device) OVERRIDE;
+ virtual double GetOutputVolumeValue(const AudioDevice* device) OVERRIDE;
+ virtual double GetInputGainValue(const AudioDevice* device) OVERRIDE;
virtual void SetVolumeGainValue(const AudioDevice& device,
double value) OVERRIDE;
@@ -53,6 +54,9 @@ class AudioDevicesPrefHandlerImpl : public AudioDevicesPrefHandler {
void UpdateDevicesVolumePref();
void SaveDevicesVolumePref();
+ double GetVolumeGainPrefValue(const AudioDevice& device);
+ double GetDeviceDefaultOutputVolumeValue(const AudioDevice& device);
rkc 2013/09/06 22:01:48 nit: GetDeviceDefaultVolume should be file, the Ou
jennyz 2013/09/06 22:50:47 Done.
+
// Methods to migrate the mute and volume settings for a device from the
// previous global pref value to the new per device pref value for the
// current active device. If a previous global setting doesn't exist, we'll

Powered by Google App Engine
This is Rietveld 408576698