diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-02-14 15:54:52 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-02-14 15:54:52 +0000 |
commit | e2628d99315c315ba52c5b9abe5ba9d4017e8386 (patch) | |
tree | 9ebf62f6d43ef922dca791053ce713246c3e23aa /apps/settings_menu.c | |
parent | 84eb9ce4a8a82fee0a85618aa4935aa55cad39fa (diff) | |
download | rockbox-e2628d99315c315ba52c5b9abe5ba9d4017e8386.tar.gz rockbox-e2628d99315c315ba52c5b9abe5ba9d4017e8386.zip |
Volume fade patch by Eric Linenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3263 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 37b2b094a7..e931fe63bc 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -565,6 +565,12 @@ static bool ff_rewind_min_step(void) | |||
565 | names, 14, NULL ); | 565 | names, 14, NULL ); |
566 | } | 566 | } |
567 | 567 | ||
568 | static bool set_fade_on_stop(void) | ||
569 | { | ||
570 | return set_bool( str(LANG_FADE_ON_STOP), &global_settings.fade_on_stop ); | ||
571 | } | ||
572 | |||
573 | |||
568 | static bool ff_rewind_accel(void) | 574 | static bool ff_rewind_accel(void) |
569 | { | 575 | { |
570 | char* names[] = { str(LANG_OFF), "2x/1s", "2x/2s", "2x/3s", | 576 | char* names[] = { str(LANG_OFF), "2x/1s", "2x/2s", "2x/3s", |
@@ -594,6 +600,7 @@ static bool playback_settings_menu(void) | |||
594 | { str(LANG_FFRW_STEP), ff_rewind_min_step }, | 600 | { str(LANG_FFRW_STEP), ff_rewind_min_step }, |
595 | { str(LANG_FFRW_ACCEL), ff_rewind_accel }, | 601 | { str(LANG_FFRW_ACCEL), ff_rewind_accel }, |
596 | { str(LANG_MP3BUFFER_MARGIN), buffer_margin }, | 602 | { str(LANG_MP3BUFFER_MARGIN), buffer_margin }, |
603 | { str(LANG_FADE_ON_STOP), set_fade_on_stop }, | ||
597 | }; | 604 | }; |
598 | 605 | ||
599 | bool old_shuffle = global_settings.playlist_shuffle; | 606 | bool old_shuffle = global_settings.playlist_shuffle; |