mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Codec memory reorganization
Based on a patch by Tomasz Malesinski * Merge Codec buffer and Malloc buffer into one large buffer. * The new merged buffer is now 1MB on targets with lots of memory. * Renamed codec_get_memory to codec_get_buffer and made it behave more. like plugin_get_buffer. * Bumped Codec api and min api versions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18834 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0117705542
commit
2f50cd58b9
45 changed files with 66 additions and 57 deletions
|
@ -24,8 +24,6 @@
|
|||
#include "system.h"
|
||||
#include <sys/types.h>
|
||||
|
||||
#define MALLOC_BUFSIZE (512*1024)
|
||||
|
||||
extern struct codec_api *ci;
|
||||
extern long mem_ptr;
|
||||
extern long bufsize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue