diff options
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r-- | src/volume-control.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala index 6efac35..2f12b7f 100644 --- a/src/volume-control.vala +++ b/src/volume-control.vala @@ -40,9 +40,10 @@ public abstract class VolumeControl : Object public virtual bool mute { get { return false; } } public virtual bool is_playing { get { return false; } } private Volume _volume; + private double _max_volume = 1.0; public virtual Volume volume { get { return _volume; } set { } } public virtual double mic_volume { get { return 0.0; } set { } } - public virtual double max_volume { get { return 1.0; } protected set { } } + public virtual double max_volume { get { return _max_volume; } set { _max_volume = value;} } public virtual bool high_volume_approved { get { return false; } protected set { } } public virtual void approve_high_volume() { } |