rockbox/apps/menus
Thomas Martitz d1322b7159 GSoC/Buflib: Replace all direct accesses to audiobuf with buffer API functions.
Namely, introduce buffer_get_buffer() and buffer_release_buffer().
buffer_get_buffer() aquires all available and grabs a lock, attempting to
call buffer_alloc() or buffer_get_buffer() while this lock is locked will cause
a panicf() (doesn't actually happen, but is for debugging purpose).
buffer_release_buffer() unlocks that lock and can additionally increment the
audiobuf buffer to make an allocation. Pass 0 to only unlock if buffer was
used temporarily only.
buffer_available() is a replacement function to query audiobuflen, i.e. what's
left in the buffer.
Buffer init is moved up in the init chain and handles ipodvideo64mb internally.

Further changes happened to mp3data.c and talk.c as to not call the above API
functions, but get the buffer from callers. The caller is the audio system
which has the buffer lock while mp3data.c and talk mess with the buffer.
mpeg.c now implements some buffer related functions of playback.h, especially
audio_get_buffer(), allowing to reduce #ifdef hell a tiny bit.

audiobuf and audiobufend are local to buffer.c now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30308 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 15:13:00 +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 Make the histogram code usable for playback as well. Move the recording histogram code to peakmeter, rename it to remove the recording reference, and rename anything referring to it as well. Change the drawing code so there are more options to position them. This may change your histogram settings, so check after upgrading. 2011-06-05 12:36:27 +00:00
eq_menu.c eq menu: remove write-only variable 2010-09-21 09:10:01 +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 GSoC/Buflib: Replace all direct accesses to audiobuf with buffer API functions. 2011-08-14 15:13:00 +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 FS#11931 part 2: Allow a short rewind when playback is paused. Patch 2011-05-13 22:28:47 +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 Make the histogram code usable for playback as well. Move the recording histogram code to peakmeter, rename it to remove the recording reference, and rename anything referring to it as well. Change the drawing code so there are more options to position them. This may change your histogram settings, so check after upgrading. 2011-06-05 12:36:27 +00:00
settings_menu.c autoresume: Match full directory path names only in autoresumable() 2011-02-11 00:20:03 +00:00
sound_menu.c Fix red, stupid typo 2010-09-17 20:34:47 +00:00
theme_menu.c FS#11777: enhancement for rockbox_browse() 2010-12-14 13:37:58 +00:00
time_menu.c Properly export sleep_timer_call from main_menu.c in exported_menus.h 2011-08-13 22:55:04 +00:00