2a8eacdbfc
* shrinking now considers freespace just before the alloc-to-be-shrinked, that means less (or sometimes none at all) is taken from the audio buffer. * core_available() now searches for the best free space, instead of simply the end, i.e. it will not return 0 if the audio buffer is allocated and there's free space before it. It also runs a compaction to ensure maximum contiguous memory. audio_buffer_available() is also enhanced. It now considers the 256K reserve buffer, and returns free buflib space instead if the audio buffer is short. This all fixes the root problem of FS#12344 (Sansa Clip+: PANIC occurred when dircache is enabled), that alloced from the audio buffer, even if it was very short and buflib had many more available as free space before it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31006 a1c6a512-1295-4272-9138-f99709370657 |
||
---|---|---|
.. | ||
audiohw_eq_menu.c | ||
display_menu.c | ||
eq_menu.c | ||
eq_menu.h | ||
exported_menus.h | ||
main_menu.c | ||
menu_common.c | ||
menu_common.h | ||
playback_menu.c | ||
playlist_menu.c | ||
plugin_menu.c | ||
radio_menu.c | ||
recording_menu.c | ||
settings_menu.c | ||
sound_menu.c | ||
theme_menu.c | ||
time_menu.c |