mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers. Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
This commit is contained in:
parent
3301c5aa6d
commit
1e9ad3ca0d
39 changed files with 69 additions and 115 deletions
|
|
@ -1408,7 +1408,7 @@ static void on_init_recording(void)
|
|||
send_event(RECORDING_EVENT_START, NULL);
|
||||
/* FIXME: This buffer should play nicer and be shrinkable/movable */
|
||||
talk_buffer_set_policy(TALK_BUFFER_LOOSE);
|
||||
pcmrec_handle = core_alloc_maximum("pcmrec", &rec_buffer_size, &buflib_ops_locked);
|
||||
pcmrec_handle = core_alloc_maximum(&rec_buffer_size, &buflib_ops_locked);
|
||||
if (pcmrec_handle <= 0)
|
||||
/* someone is abusing core_alloc_maximum(). Fix this evil guy instead of
|
||||
* trying to handle OOM without hope */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue