rockbox/apps/menus
Thomas Martitz 2a8eacdbfc Buflib: Make shrinking and buflib_available() smarter.
* 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
2011-11-17 17:55:02 +00:00
..
audiohw_eq_menu.c Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing. 2010-05-15 13:09:45 +00:00
display_menu.c Commit FS#12321 - Touchscreen: List line padding, to more easily select lines 2011-10-17 17:38:10 +00:00
eq_menu.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
eq_menu.h Set svn:keywords property on .c and .h files that didn't already have it. Correct svn:executable property on some files. 2010-01-03 14:28:09 +00:00
exported_menus.h Properly export sleep_timer_call from main_menu.c in exported_menus.h 2011-08-13 22:55:04 +00:00
main_menu.c Buflib: Make shrinking and buflib_available() smarter. 2011-11-17 17:55:02 +00:00
menu_common.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
menu_common.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
playback_menu.c Fix FS#12356 : next track advances when skip in repeat one mode. audio_flush_and_reload_track wasn't called when the setting changed from the playback menu. 2011-10-29 20:41:20 +00:00
playlist_menu.c FS#11808 - Major playlist handling changes (on disk playlists) 2011-07-20 14:11:15 +00:00
plugin_menu.c Fix oops in r29160 (apps went into games and vice versa). 2011-01-29 15:03:03 +00:00
radio_menu.c Fix FS#12158 - Make the "Mode: " line in the radio menu voice. 2011-06-16 13:28:15 +00:00
recording_menu.c Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope. 2011-10-15 19:35:02 +00:00
settings_menu.c Finally commit FS#5111 - piezo clicker for ipods! 2011-11-16 10:25:43 +00:00
sound_menu.c Fix red, stupid typo 2010-09-17 20:34:47 +00:00
theme_menu.c Make function calc_db in peakmeter.c static 2011-10-04 21:25:26 +00:00
time_menu.c Better fix for FS#12337. Use 0 to make the line height calculated from the font height, as before r30773. 2011-10-29 15:16:02 +00:00