summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-01 16:08:20 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-01 16:08:20 -0400
commita96eb1a7f7aff5aea41c14b9edcec34564ab27b6 (patch)
tree959b4bccfa17ac292cb3849cf488f5b69a519fb2 /apps
parentb030bf5885dc5e018dd38eacbb294f1321f2b400 (diff)
downloadrockbox-a96eb1a7f7aff5aea41c14b9edcec34564ab27b6.tar.gz
rockbox-a96eb1a7f7aff5aea41c14b9edcec34564ab27b6.tar.bz2
rockbox-a96eb1a7f7aff5aea41c14b9edcec34564ab27b6.zip
Fix warnings and errors introduced in b030bf5
Change-Id: I23966b6a79c0d2cbab2e01c649c1b991f460d8ad
Diffstat (limited to 'apps')
-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)