rockbox/apps/menus
Aidan MacDonald 90e35716e3 playlist: Rewrite playlist_save(), optimization & fixes
playlist_save() was a poorly thought out mess. This fixes the
glaring issues and hopefully ensures that saving the playlist
never loses state (such as queued tracks or modified status)
after save+resume.

Indices are now updated on the fly, which is faster and needs
no extra memory. But if an error occurs, the playlist will be
corrupted. There is currently no attempt to handle this since
errors should be unlikely, but some error handling needs to be
added in the future.

Change-Id: If8a5dbd6a596460be08ee0b7bab9f24337886ea4
2023-10-28 14:54:02 -04:00
..
audiohw_eq_menu.c menus move functions with parameters to their own type 2022-12-17 02:51:43 -05:00
display_menu.c settings: Fix up the remaining stragglers from 8cc3266b 2023-09-22 10:31:00 -04:00
eq_menu.c menus remove reserved 'param' parameter 2022-12-17 04:24:37 -05:00
eq_menu.h quickscreen: fix EQ enable not working in quickscreen 2021-08-26 19:34:18 +00:00
exported_menus.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
main_menu.c [Feature] add a prompt to database commit on start-up 2023-10-01 11:51:38 -04:00
menu_common.c [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
menu_common.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
playback_menu.c setting_list.c playback frequency cleanup 2023-09-01 19:32:27 -04:00
playlist_menu.c playlist: Rewrite playlist_save(), optimization & fixes 2023-10-28 14:54:02 -04:00
plugin_menu.c Remove browse_context_init() 2022-12-17 13:36:38 +00:00
radio_menu.c menus remove reserved 'param' parameter 2022-12-17 04:24:37 -05:00
recording_menu.c settings: Fix up the remaining stragglers from 8cc3266b 2023-09-22 10:31:00 -04:00
settings_menu.c Add perceptual volume adjustment 2023-01-22 21:19:57 +00:00
sound_menu.c make int_setting step & unit int16_t 2022-11-20 13:57:09 -05:00
theme_menu.c Remove browse_context_init() 2022-12-17 13:36:38 +00:00
time_menu.c Settings: Rename INT/BOOL setting type enum to RB_INT/RB_BOOL 2023-09-22 10:00:46 -04:00