aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r--src/volume-control.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index 3431ac3..7117990 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -55,10 +55,9 @@ public abstract class VolumeControl : Object
public virtual VolumeControl.ActiveOutput active_output { get { return VolumeControl.ActiveOutput.SPEAKERS; } }
private Volume _volume;
private double _pre_clamp_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 _max_volume; } set { _max_volume = value;} }
+ public virtual double max_volume { get { return 1.0; } protected set { } }
public virtual bool high_volume_approved { get { return false; } protected set { } }
public virtual void approve_high_volume() { }