summaryrefslogtreecommitdiffstats
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c
index d255eaf766..7d4ca97ff8 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -534,7 +534,9 @@ static void lo_unplug_change(bool inserted)
#ifdef HAVE_LINEOUT_POWEROFF
lineout_set(inserted);
#else
+#ifdef AUDIOHW_HAVE_LINEOUT
audiohw_set_lineout_volume(0,0); /*hp vol re-set by this function as well*/
+#endif
static bool lineout_caused_pause = true;
if (global_settings.unplug_mode)