rockbox/firmware
Thomas Martitz 22e802e800 playback,talk: Share audiobuffer via core_alloc_maximum().
This fixes the radioart crash that was the result of buffering.c working
on a freed buffer at the same time as buflib (radioart uses buffering.c for the
images). With this change the buffer is owned by buflib exclusively so this
cannot happen.

As a result, audio_get_buffer() doesn't exist anymore. Callers should call
core_alloc_maximum() directly. This buffer needs to be protected as usual
against movement if necessary (previously it was not protected at all which
cased the radioart crash), To get most of it they can adjust the willingness of
the talk engine to give its buffer away (at the expense of disabling voice
interface) with the new talk_buffer_set_policy() function.

Change-Id: I52123012208d04967876a304451d634e2bef3a33
2013-12-23 12:17:38 +01:00
..
asm
common Introduce volume_{present,removable} and fix invalid calls in apps/ 2013-11-20 21:34:04 +01:00
decompressor
drivers Fix audio on m:robe 100. 2013-12-17 20:20:00 +01:00
export playback,talk: Share audiobuffer via core_alloc_maximum(). 2013-12-23 12:17:38 +01:00
include buflib: Add buflib_context_relocate(). 2013-12-22 23:11:32 +01:00
libc
target playback,talk: Share audiobuffer via core_alloc_maximum(). 2013-12-23 12:17:38 +01:00
test Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
usbstack playback,talk: Share audiobuffer via core_alloc_maximum(). 2013-12-23 12:17:38 +01:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c
bidi.c
buflib.c buflib: Add buflib_context_relocate(). 2013-12-22 23:11:32 +01:00
COPYING
core_alloc.c
debug.c
eeprom_settings.c
enc_base.c
events.c
firmware.make
font.c
font_cache.c
general.c
hangul.c
ifp_usb_serial.c
kernel.c
load_code.c
logf.c
lru.c
panic.c
pcm.c
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c
powermgmt.c
profile.c
README
rolo.c Fix reds. Also apply the new scrolling to lcd charcell (this even uncovered an 2013-12-15 00:38:48 +01:00
rom.lds
screendump.c screendump.c: use HOME_DIR instead of the hard-coded "" (root) 2013-09-27 09:21:05 +02:00
scroll_engine.c scroll_engine: Major rework to support pixel-based scrolling and scroll callbacks. 2013-12-14 23:11:31 +01:00
sdmmc.c
sound.c
SOURCES Introduce IHIFI760/960 targets. 2013-12-16 00:45:18 +04:00
storage.c Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
system.c
thread.c
timer.c
tuner.c
usb.c

See docs/README