diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-12-23 12:08:16 +0100 |
---|---|---|
committer | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-12-23 12:08:16 +0100 |
commit | d8d60bc83824359c6e22b9114fc0a6bde45b8eca (patch) | |
tree | 9103330b940fa63dedb8f0919c1431d266df0172 /src/volume-control.vala | |
parent | 3a75ebb5eae371de3b50ce4716a4af886d9eeac3 (diff) | |
download | ayatana-indicator-sound-d8d60bc83824359c6e22b9114fc0a6bde45b8eca.tar.gz ayatana-indicator-sound-d8d60bc83824359c6e22b9114fc0a6bde45b8eca.tar.bz2 ayatana-indicator-sound-d8d60bc83824359c6e22b9114fc0a6bde45b8eca.zip |
Reverted to release 507
Diffstat (limited to 'src/volume-control.vala')
-rw-r--r-- | src/volume-control.vala | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala index 8e615ea..6efac35 100644 --- a/src/volume-control.vala +++ b/src/volume-control.vala @@ -28,17 +28,6 @@ public abstract class VolumeControl : Object VOLUME_STREAM_CHANGE } - public enum ActiveOutput { - SPEAKERS, - HEADPHONES, - BLUETOOTH_HEADPHONES, - BLUETOOTH_SPEAKER, - USB_SPEAKER, - USB_HEADPHONES, - HDMI_SPEAKER, - HDMI_HEADPHONES - } - public class Volume : Object { public double volume; public VolumeReasons reason; @@ -50,7 +39,6 @@ public abstract class VolumeControl : Object public virtual bool high_volume { get { return false; } protected set { } } public virtual bool mute { get { return false; } } public virtual bool is_playing { get { return false; } } - public virtual VolumeControl.ActiveOutput active_output { get { return VolumeControl.ActiveOutput.SPEAKERS; } } private Volume _volume; public virtual Volume volume { get { return _volume; } set { } } public virtual double mic_volume { get { return 0.0; } set { } } @@ -68,6 +56,4 @@ public abstract class VolumeControl : Object v.reason = reason; this.volume = v; } - - public signal void active_output_changed (VolumeControl.ActiveOutput active_output); } |