diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-09-17 14:53:29 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2020-09-18 00:22:52 +0000 |
commit | 2df3a5b04c40d548391c69c18780fefd420fac02 (patch) | |
tree | 48f56c70a30c688e9360a03eff836de7fba9f73b /apps/settings.h | |
parent | 4fa945d810a574c96503834d1c9324d02f17fc4b (diff) | |
download | rockbox-2df3a5b04c40d548391c69c18780fefd420fac02.tar.gz rockbox-2df3a5b04c40d548391c69c18780fefd420fac02.zip |
Headphone / lineout pause/resume #FS13237
Allow Lineout to behave like headphone port in regards to
plug/unplug pause/resume
Change-Id: I9cb2c9c40e0bdf3bf7e1e272164acd343f6b3850
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |