aboutsummaryrefslogtreecommitdiff
path: root/src/volume-control.vala
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-08-11 15:10:56 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-08-11 15:10:56 -0500
commitf52fe2483aae720b92878272f052b8fc6605dcd9 (patch)
tree482b18696c6f7bfb99582cfcc32c16ca47be17e5 /src/volume-control.vala
parent8e7aa6d1ba5f62c4525c7d20e674ce8ef579040b (diff)
downloadayatana-indicator-sound-f52fe2483aae720b92878272f052b8fc6605dcd9.tar.gz
ayatana-indicator-sound-f52fe2483aae720b92878272f052b8fc6605dcd9.tar.bz2
ayatana-indicator-sound-f52fe2483aae720b92878272f052b8fc6605dcd9.zip
clamp the volume whenever the 'high volume' confirmation notification is open.
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r--src/volume-control.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala
index 36d7083..a30a373 100644
--- a/src/volume-control.vala
+++ b/src/volume-control.vala
@@ -46,6 +46,7 @@ public abstract class VolumeControl : Object
public virtual bool high_volume_approved { get { return false; } protected set { } }
public virtual void approve_high_volume() { }
+ public virtual void clamp_to_high_volume() { }
public abstract void set_mute (bool mute);