···778 return gui_synclist_do_button(lists, action, wrap);
779}
780781-bool gui_synclist_item_is_onscreen(struct gui_synclist *lists,
782- enum screen_type screen, int item)
783-{
784- int nb_lines = list_get_nb_lines(lists, screen);
785- return (unsigned)(item - lists->start_item[screen]) < (unsigned) nb_lines;
786-}
787-788/* Simple use list implementation */
789static int simplelist_line_count = 0;
790static char simplelist_text[SIMPLELIST_MAX_LINES][SIMPLELIST_MAX_LINELENGTH];
···778 return gui_synclist_do_button(lists, action, wrap);
779}
7800000000781/* Simple use list implementation */
782static int simplelist_line_count = 0;
783static char simplelist_text[SIMPLELIST_MAX_LINES][SIMPLELIST_MAX_LINELENGTH];
-2
apps/gui/list.h
···165 enum themable_icons icon);
166extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists,
167 bool hide);
168-extern bool gui_synclist_item_is_onscreen(struct gui_synclist *lists,
169- enum screen_type screen, int item);
170/*
171 * Do the action implied by the given button,
172 * returns true if the action was handled.
···165 enum themable_icons icon);
166extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists,
167 bool hide);
00168/*
169 * Do the action implied by the given button,
170 * returns true if the action was handled.
···87};
88bool audio_restore_playback(int type); /* Restores the audio buffer to handle the requested playback */
89size_t audio_get_filebuflen(void);
90-bool audio_buffer_state_trashed(void);
9192/* Automatic transition? Only valid to call during the track change events,
93 otherwise the result is undefined. */
···87};
88bool audio_restore_playback(int type); /* Restores the audio buffer to handle the requested playback */
89size_t audio_get_filebuflen(void);
09091/* Automatic transition? Only valid to call during the track change events,
92 otherwise the result is undefined. */
-11
apps/playlist_viewer.c
···126127static bool update_playlist(bool force);
128static int onplay_menu(int index);
129-static int save_playlist_func(void);
130131static void playlist_buffer_init(struct playlist_buffer *pb, char *names_buffer,
132 int names_buffer_size)
···437 return true;
438}
439440-MENUITEM_FUNCTION(save_playlist_item, 0, ID2P(LANG_SAVE_DYNAMIC_PLAYLIST),
441- save_playlist_func, 0, NULL, Icon_NOICON);
442-443/* Menu of playlist commands. Invoked via ON+PLAY on main viewer screen.
444 Returns -1 if USB attached, 0 if no playlist change, and 1 if playlist
445 changed. */
···519 }
520 }
521 return ret;
522-}
523-524-/* Save playlist to disk */
525-static int save_playlist_func(void)
526-{
527- save_playlist_screen(viewer.playlist);
528- return 0;
529}
530531/* View current playlist */
···126127static bool update_playlist(bool force);
128static int onplay_menu(int index);
0129130static void playlist_buffer_init(struct playlist_buffer *pb, char *names_buffer,
131 int names_buffer_size)
···436 return true;
437}
438000439/* Menu of playlist commands. Invoked via ON+PLAY on main viewer screen.
440 Returns -1 if USB attached, 0 if no playlist change, and 1 if playlist
441 changed. */
···515 }
516 }
517 return ret;
0000000518}
519520/* View current playlist */
+2
apps/radio/presets.c
···617 radio_save_presets();
618}
6190620#ifdef HAVE_LCD_BITMAP
621static inline void draw_vertical_line_mark(struct screen * screen,
622 int x, int y, int h)
···643 }
644}
645#endif
0
···617 radio_save_presets();
618}
619620+#if 0 /* disabled in draw_progressbar() */
621#ifdef HAVE_LCD_BITMAP
622static inline void draw_vertical_line_mark(struct screen * screen,
623 int x, int y, int h)
···644 }
645}
646#endif
647+#endif
+2-1
apps/radio/radio.h
···62 char name[MAX_FMPRESET_LEN+1];
63};
64const char* radio_get_preset_name(int preset);
065void presets_draw_markers(struct screen *screen, int x, int y, int w, int h);
06667#ifdef HAVE_ALBUMART
68void radioart_init(bool entering_screen);
···7980/* only radio.c should be using these! */
81int fms_do_button_loop(bool update_screen);
82-struct gui_wps *fms_get(enum screen_type screen);
83void fms_fix_displays(enum fms_exiting toggle_state);
8485#endif /* CONFIG_TUNER */
···62 char name[MAX_FMPRESET_LEN+1];
63};
64const char* radio_get_preset_name(int preset);
65+#if 0 /* disabled in draw_progressbar() */
66void presets_draw_markers(struct screen *screen, int x, int y, int w, int h);
67+#endif
6869#ifdef HAVE_ALBUMART
70void radioart_init(bool entering_screen);
···8182/* only radio.c should be using these! */
83int fms_do_button_loop(bool update_screen);
084void fms_fix_displays(enum fms_exiting toggle_state);
8586#endif /* CONFIG_TUNER */
···105 * Call one of the two below after yields since the entrys may move inbetween */
106struct entry* tree_get_entries(struct tree_context *t);
107struct entry* tree_get_entry_at(struct tree_context *t, int index);
108-void tree_drawlists(void);
109void tree_mem_init(void) INIT_ATTR;
110void tree_gui_init(void) INIT_ATTR;
111char* get_current_file(char* buffer, size_t buffer_len);
···105 * Call one of the two below after yields since the entrys may move inbetween */
106struct entry* tree_get_entries(struct tree_context *t);
107struct entry* tree_get_entry_at(struct tree_context *t, int index);
0108void tree_mem_init(void) INIT_ATTR;
109void tree_gui_init(void) INIT_ATTR;
110char* get_current_file(char* buffer, size_t buffer_len);
+2
firmware/enc_base.c
···2526/** mp3_enc.codec **/
27028/* These are in descending order rather than in MPEG frequency index
29 order */
30const unsigned long mp3_enc_sampr[MP3_ENC_NUM_SAMPR] =
···35 12000, 11025, 8000, /* MPEG 2.5 */
36#endif
37};
03839/* All bitrates used in the MPA L3 standard */
40const unsigned long mp3_enc_bitr[MP3_ENC_NUM_BITR] =
···2526/** mp3_enc.codec **/
2728+#if 0 /* Currently unused, left for reference and future use */
29/* These are in descending order rather than in MPEG frequency index
30 order */
31const unsigned long mp3_enc_sampr[MP3_ENC_NUM_SAMPR] =
···36 12000, 11025, 8000, /* MPEG 2.5 */
37#endif
38};
39+#endif
4041/* All bitrates used in the MPA L3 standard */
42const unsigned long mp3_enc_bitr[MP3_ENC_NUM_BITR] =
+2
firmware/export/enc_base.h
···97/* This number is count of full encoder set */
98#define MP3_ENC_NUM_SAMPR 6
990100extern const unsigned long mp3_enc_sampr[MP3_ENC_NUM_SAMPR];
0101extern const unsigned long mp3_enc_bitr[MP3_ENC_NUM_BITR];
102103struct mp3_enc_config
···97/* This number is count of full encoder set */
98#define MP3_ENC_NUM_SAMPR 6
99100+#if 0
101extern const unsigned long mp3_enc_sampr[MP3_ENC_NUM_SAMPR];
102+#endif
103extern const unsigned long mp3_enc_bitr[MP3_ENC_NUM_BITR];
104105struct mp3_enc_config
-1
firmware/export/usb.h
···132 struct usb_transfer_completion_event_data *event_data);
133bool usb_driver_enabled(int driver);
134bool usb_exclusive_storage(void); /* storage is available for usb */
135-void usb_storage_try_release_storage(void);
136#endif
137int usb_release_exclusive_storage(void);
138
···132 struct usb_transfer_completion_event_data *event_data);
133bool usb_driver_enabled(int driver);
134bool usb_exclusive_storage(void); /* storage is available for usb */
0135#endif
136int usb_release_exclusive_storage(void);
137