diff options
author | Ted Gould <ted@gould.cx> | 2014-10-13 20:49:19 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-10-13 20:49:19 -0500 |
commit | 9c8f845b511cf8a8a02cb90df5546ff852978ed6 (patch) | |
tree | edabaf283cf6f3455a9d788f6a169aa3bec857fb | |
parent | 88956a3657cc0f0f8f76b2935a7ae46033d5c200 (diff) | |
download | ayatana-indicator-sound-9c8f845b511cf8a8a02cb90df5546ff852978ed6.tar.gz ayatana-indicator-sound-9c8f845b511cf8a8a02cb90df5546ff852978ed6.tar.bz2 ayatana-indicator-sound-9c8f845b511cf8a8a02cb90df5546ff852978ed6.zip |
Use the headphone detection
-rw-r--r-- | src/volume-control.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume-control.vala b/src/volume-control.vala index c9ba42c..b32146f 100644 --- a/src/volume-control.vala +++ b/src/volume-control.vala @@ -599,7 +599,7 @@ public class VolumeControl : Object /* Using this to detect whether we're on the phone or not */ if (_pulse_use_stream_restore) { /* Watch for extreme */ - if (volume > 0.75) /* TODO: Also if headphones */ + if (volume > 0.75 && _active_port_headphone) high_volume = true; else high_volume = false; |