From 537c7546f946d266e55fdbce03558352a3342908 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 26 Sep 2006 10:03:56 +0000 Subject: Patch #4899 by Robert Keevil - Automatic pause on iPod when removing the headphones git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11057 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 561dc59375..9f8372415a 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -486,6 +486,12 @@ struct user_settings #endif bool hold_lr_for_scroll_in_list; /* hold L/R scrolls the list left/right */ int show_path_in_browser; /* 0=off, 1=current directory, 2=full path */ + +#ifdef HAVE_HEADPHONE_DETECTION + int unplug_mode; /* pause on headphone unplug */ + int unplug_rw; /* time in s to rewind when pausing */ + bool unplug_autoresume; /* disable auto-resume if no phones */ +#endif }; enum optiontype { INT, BOOL }; -- cgit v1.2.3