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.vala2
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;