diff options
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/playback_menu.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/menus/playback_menu.c b/apps/menus/playback_menu.c index 89472d45b9..dbfb44f15d 100644 --- a/apps/menus/playback_menu.c +++ b/apps/menus/playback_menu.c | |||
@@ -62,7 +62,7 @@ static int setcrossfadeonexit_callback(int action,const struct menu_item_ex *thi | |||
62 | /***********************************/ | 62 | /***********************************/ |
63 | /* PLAYBACK MENU */ | 63 | /* PLAYBACK MENU */ |
64 | static int playback_callback(int action,const struct menu_item_ex *this_item); | 64 | static int playback_callback(int action,const struct menu_item_ex *this_item); |
65 | 65 | ||
66 | MENUITEM_SETTING(shuffle_item, &global_settings.playlist_shuffle, playback_callback); | 66 | MENUITEM_SETTING(shuffle_item, &global_settings.playlist_shuffle, playback_callback); |
67 | MENUITEM_SETTING(repeat_mode, &global_settings.repeat_mode, playback_callback); | 67 | MENUITEM_SETTING(repeat_mode, &global_settings.repeat_mode, playback_callback); |
68 | MENUITEM_SETTING(play_selected, &global_settings.play_selected, NULL); | 68 | MENUITEM_SETTING(play_selected, &global_settings.play_selected, NULL); |
@@ -84,7 +84,7 @@ static int buffermargin_callback(int action,const struct menu_item_ex *this_item | |||
84 | } | 84 | } |
85 | return action; | 85 | return action; |
86 | } | 86 | } |
87 | #else | 87 | #else |
88 | # define buffermargin_callback NULL | 88 | # define buffermargin_callback NULL |
89 | #endif | 89 | #endif |
90 | MENUITEM_SETTING(buffer_margin, &global_settings.buffer_margin, | 90 | MENUITEM_SETTING(buffer_margin, &global_settings.buffer_margin, |
@@ -120,7 +120,7 @@ static int replaygain_callback(int action,const struct menu_item_ex *this_item) | |||
120 | (void)this_item; | 120 | (void)this_item; |
121 | switch (action) | 121 | switch (action) |
122 | { | 122 | { |
123 | case ACTION_EXIT_MENUITEM: /* on exit */ | 123 | case ACTION_EXIT_MENUITEM: /* on exit */ |
124 | replaygain_update(); | 124 | replaygain_update(); |
125 | break; | 125 | break; |
126 | } | 126 | } |
@@ -137,7 +137,7 @@ MENUITEM_SETTING(replaygain_preamp, | |||
137 | replaygain_callback); | 137 | replaygain_callback); |
138 | MAKE_MENU(replaygain_settings_menu,ID2P(LANG_REPLAYGAIN),0, Icon_NOICON, | 138 | MAKE_MENU(replaygain_settings_menu,ID2P(LANG_REPLAYGAIN),0, Icon_NOICON, |
139 | &replaygain_type, &replaygain_noclip, &replaygain_preamp); | 139 | &replaygain_type, &replaygain_noclip, &replaygain_preamp); |
140 | 140 | ||
141 | MENUITEM_SETTING(beep, &global_settings.beep ,NULL); | 141 | MENUITEM_SETTING(beep, &global_settings.beep ,NULL); |
142 | #endif /* CONFIG_CODEC == SWCODEC */ | 142 | #endif /* CONFIG_CODEC == SWCODEC */ |
143 | 143 | ||
@@ -155,7 +155,7 @@ static int audioscrobbler_callback(int action,const struct menu_item_ex *this_it | |||
155 | case ACTION_EXIT_MENUITEM: /* on exit */ | 155 | case ACTION_EXIT_MENUITEM: /* on exit */ |
156 | if (!scrobbler_is_enabled() && global_settings.audioscrobbler) | 156 | if (!scrobbler_is_enabled() && global_settings.audioscrobbler) |
157 | scrobbler_init(); | 157 | scrobbler_init(); |
158 | 158 | ||
159 | if(scrobbler_is_enabled() && !global_settings.audioscrobbler) | 159 | if(scrobbler_is_enabled() && !global_settings.audioscrobbler) |
160 | scrobbler_shutdown(); | 160 | scrobbler_shutdown(); |
161 | break; | 161 | break; |
@@ -205,13 +205,13 @@ MAKE_MENU(playback_settings,ID2P(LANG_PLAYBACK),0, | |||
205 | Icon_Playback_menu, | 205 | Icon_Playback_menu, |
206 | &shuffle_item, &repeat_mode, &play_selected, | 206 | &shuffle_item, &repeat_mode, &play_selected, |
207 | &ff_rewind_settings_menu, | 207 | &ff_rewind_settings_menu, |
208 | #ifdef HAVE_DISK_STORAGE | 208 | #ifdef HAVE_DISK_STORAGE |
209 | &buffer_margin, | 209 | &buffer_margin, |
210 | #endif | 210 | #endif |
211 | &fade_on_stop, &party_mode, | 211 | &fade_on_stop, &party_mode, |
212 | 212 | ||
213 | #if (CONFIG_CODEC == SWCODEC) && defined(HAVE_CROSSFADE) | 213 | #if (CONFIG_CODEC == SWCODEC) && defined(HAVE_CROSSFADE) |
214 | &crossfade_settings_menu, | 214 | &crossfade_settings_menu, |
215 | #endif | 215 | #endif |
216 | 216 | ||
217 | #if CONFIG_CODEC == SWCODEC | 217 | #if CONFIG_CODEC == SWCODEC |
@@ -235,7 +235,7 @@ MAKE_MENU(playback_settings,ID2P(LANG_PLAYBACK),0, | |||
235 | ,&play_frequency | 235 | ,&play_frequency |
236 | #endif | 236 | #endif |
237 | ); | 237 | ); |
238 | 238 | ||
239 | static int playback_callback(int action,const struct menu_item_ex *this_item) | 239 | static int playback_callback(int action,const struct menu_item_ex *this_item) |
240 | { | 240 | { |
241 | static bool old_shuffle = false; | 241 | static bool old_shuffle = false; |