22e802e800
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 |
||
---|---|---|
.. | ||
adc-pp5020.c | ||
app-pp.lds | ||
ascodec-pp.c | ||
ata-pp5002.c | ||
ata-pp5020.c | ||
ata-sd-pp.c | ||
ata-target.h | ||
audio-pp.c | ||
boot-pp.lds | ||
boot-pp502x-bl-usb.lds | ||
crt0-pp-bl.S | ||
crt0-pp.S | ||
crt0-pp502x-bl-usb.S | ||
debug-pp.c | ||
i2c-pp.c | ||
i2s-pp.c | ||
kernel-pp.c | ||
mi4-loader.c | ||
pcm-pp.c | ||
sd-pp-target.h | ||
system-pp502x.c | ||
system-pp5002.c | ||
system-target.h | ||
thread-pp.c | ||
timer-pp.c | ||
uart-pp.c | ||
usb-fw-pp502x.c | ||
usb-fw-pp5002.c | ||
wmcodec-pp.c |