diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-09-26 10:03:56 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-09-26 10:03:56 +0000 |
commit | 537c7546f946d266e55fdbce03558352a3342908 (patch) | |
tree | 9e594c9d40ec54047fa858472f737bc4d7b7d406 /apps/settings.c | |
parent | 9f960e405f72e1f624797547e1ad8e9584206118 (diff) | |
download | rockbox-537c7546f946d266e55fdbce03558352a3342908.tar.gz rockbox-537c7546f946d266e55fdbce03558352a3342908.zip |
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
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c index 3dc4ee1530..4746c22c87 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -655,6 +655,12 @@ static const struct bit_entry hd_bits[] = | |||
655 | #endif | 655 | #endif |
656 | #endif | 656 | #endif |
657 | 657 | ||
658 | #ifdef HAVE_HEADPHONE_DETECTION | ||
659 | {2, S_O(unplug_mode), 0, "pause on headphone unplug", NULL}, | ||
660 | {4, S_O(unplug_rw), 0, "rewind duration on pause", NULL}, | ||
661 | {1, S_O(unplug_autoresume), 0, "disable autoresume if phones not present", off_on }, | ||
662 | #endif | ||
663 | |||
658 | /* If values are just added to the end, no need to bump the version. */ | 664 | /* If values are just added to the end, no need to bump the version. */ |
659 | /* new stuff to be added at the end */ | 665 | /* new stuff to be added at the end */ |
660 | 666 | ||