From 2df3a5b04c40d548391c69c18780fefd420fac02 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 17 Sep 2020 14:53:29 -0400 Subject: Headphone / lineout pause/resume #FS13237 Allow Lineout to behave like headphone port in regards to plug/unplug pause/resume Change-Id: I9cb2c9c40e0bdf3bf7e1e272164acd343f6b3850 --- apps/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 405a31d052..ec66553660 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -448,7 +448,7 @@ struct user_settings #endif int pause_rewind; /* time in s to rewind when pausing */ -#ifdef HAVE_HEADPHONE_DETECTION +#if defined(HAVE_HEADPHONE_DETECTION) || defined(HAVE_LINEOUT_DETECTION) int unplug_mode; /* pause on headphone unplug */ bool unplug_autoresume; /* disable auto-resume if no phones */ #endif -- cgit v1.2.3