diff options
Diffstat (limited to 'apps/menus/playback_menu.c')
-rw-r--r-- | apps/menus/playback_menu.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/menus/playback_menu.c b/apps/menus/playback_menu.c index 1f6c96e421..c1de862cd0 100644 --- a/apps/menus/playback_menu.c +++ b/apps/menus/playback_menu.c | |||
@@ -62,6 +62,7 @@ MENUITEM_SETTING(ff_rewind_accel, &global_settings.ff_rewind_accel, NULL); | |||
62 | MENUITEM_SETTING(ff_rewind_min_step, &global_settings.ff_rewind_min_step, NULL); | 62 | MENUITEM_SETTING(ff_rewind_min_step, &global_settings.ff_rewind_min_step, NULL); |
63 | MAKE_MENU(ff_rewind_settings_menu, ID2P(LANG_WIND_MENU), 0, Icon_NOICON, | 63 | MAKE_MENU(ff_rewind_settings_menu, ID2P(LANG_WIND_MENU), 0, Icon_NOICON, |
64 | &ff_rewind_min_step, &ff_rewind_accel); | 64 | &ff_rewind_min_step, &ff_rewind_accel); |
65 | #ifndef HAVE_FLASH_STORAGE | ||
65 | #if CONFIG_CODEC == SWCODEC | 66 | #if CONFIG_CODEC == SWCODEC |
66 | int buffermargin_callback(int action,const struct menu_item_ex *this_item) | 67 | int buffermargin_callback(int action,const struct menu_item_ex *this_item) |
67 | { | 68 | { |
@@ -79,6 +80,7 @@ int buffermargin_callback(int action,const struct menu_item_ex *this_item) | |||
79 | #endif | 80 | #endif |
80 | MENUITEM_SETTING(buffer_margin, &global_settings.buffer_margin, | 81 | MENUITEM_SETTING(buffer_margin, &global_settings.buffer_margin, |
81 | buffermargin_callback); | 82 | buffermargin_callback); |
83 | #endif /*HAVE_FLASH_STORAGE */ | ||
82 | MENUITEM_SETTING(fade_on_stop, &global_settings.fade_on_stop, NULL); | 84 | MENUITEM_SETTING(fade_on_stop, &global_settings.fade_on_stop, NULL); |
83 | MENUITEM_SETTING(party_mode, &global_settings.party_mode, NULL); | 85 | MENUITEM_SETTING(party_mode, &global_settings.party_mode, NULL); |
84 | 86 | ||
@@ -172,8 +174,11 @@ MAKE_MENU(unplug_menu, ID2P(LANG_UNPLUG), 0, Icon_NOICON, | |||
172 | MAKE_MENU(playback_menu_item,ID2P(LANG_PLAYBACK),0, | 174 | MAKE_MENU(playback_menu_item,ID2P(LANG_PLAYBACK),0, |
173 | Icon_Playback_menu, | 175 | Icon_Playback_menu, |
174 | &shuffle_item, &repeat_mode, &play_selected, | 176 | &shuffle_item, &repeat_mode, &play_selected, |
175 | &ff_rewind_settings_menu, | 177 | &ff_rewind_settings_menu, |
176 | &buffer_margin, &fade_on_stop, &party_mode, | 178 | #ifndef HAVE_FLASH_STORAGE |
179 | &buffer_margin, | ||
180 | #endif | ||
181 | &fade_on_stop, &party_mode, | ||
177 | 182 | ||
178 | #if CONFIG_CODEC == SWCODEC | 183 | #if CONFIG_CODEC == SWCODEC |
179 | &crossfade_settings_menu, &replaygain_settings_menu, &beep, | 184 | &crossfade_settings_menu, &replaygain_settings_menu, &beep, |