summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c7
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
568static bool set_fade_on_stop(void)
569{
570 return set_bool( str(LANG_FADE_ON_STOP), &global_settings.fade_on_stop );
571}
572
573
568static bool ff_rewind_accel(void) 574static 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;