| Index: trunk/src/chromeos/audio/audio_devices_pref_handler.h
|
| ===================================================================
|
| --- trunk/src/chromeos/audio/audio_devices_pref_handler.h (revision 198567)
|
| +++ trunk/src/chromeos/audio/audio_devices_pref_handler.h (working copy)
|
| @@ -20,17 +20,15 @@
|
| class CHROMEOS_EXPORT AudioDevicesPrefHandler
|
| : public base::RefCountedThreadSafe<AudioDevicesPrefHandler> {
|
| public:
|
| - // 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.
|
| - virtual double GetVolumeGainValue(uint64 device_id) = 0;
|
| - // Sets the audio volume or gain value to prefs for a device.
|
| - virtual void SetVolumeGainValue(uint64 device_id, double value) = 0;
|
| + // Gets the audio output volume value from prefs for the active device.
|
| + virtual double GetOutputVolumeValue() = 0;
|
| + // Reads the audio output mute value from prefs for the active device.
|
| + virtual bool GetOutputMuteValue() = 0;
|
|
|
| - // Reads the audio mute value from prefs for a device.
|
| - virtual bool GetMuteValue(uint64 device_id) = 0;
|
| - // Sets the audio mute value to prefs for a device.
|
| - virtual void SetMuteValue(uint64 device_id, bool mute_on) = 0;
|
| + // Sets the output audio volume value to prefs for the active device.
|
| + virtual void SetOutputVolumeValue(double volume_percent) = 0;
|
| + // Sets the audio output mute value to prefs for the active device.
|
| + virtual void SetOutputMuteValue(bool mute_on) = 0;
|
|
|
| // Reads the audio capture allowed value from prefs.
|
| virtual bool GetAudioCaptureAllowedValue() = 0;
|
|
|