diff options
| author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-08 20:18:35 +0000 |
|---|---|---|
| committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-08 20:18:35 +0000 |
| commit | d68d02ec115d464e40ee70fa117d0a43158c9376 (patch) | |
| tree | 19c017902a18ce71f63801ab2e040e8cfae4ca78 /apps/codecs.h | |
| parent | b452fa061d2f4e88466f9dbadc8f52425dcd2d19 (diff) | |
| download | rockbox-d68d02ec115d464e40ee70fa117d0a43158c9376.zip rockbox-d68d02ec115d464e40ee70fa117d0a43158c9376.tar.gz rockbox-d68d02ec115d464e40ee70fa117d0a43158c9376.tar.bz2 rockbox-d68d02ec115d464e40ee70fa117d0a43158c9376.tar.xz | |
Move implementation of codec_get_buffer() to codec.c, make related variables static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29839 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.h')
| -rw-r--r-- | apps/codecs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index 5c50116..07b8cd5 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -235,9 +235,6 @@ struct codec_header { struct codec_api **api; }; -extern unsigned char codecbuf[]; -extern size_t codec_size; - #ifdef CODEC #if (CONFIG_PLATFORM & PLATFORM_NATIVE) /* plugin_* is correct, codecs use the plugin linker script */ @@ -277,6 +274,9 @@ extern unsigned char plugin_end_addr[]; assumes buffer size is MAX_PATH */ void codec_get_full_path(char *path, const char *codec_root_fn); +/* Returns pointer to and size of free codec RAM */ +void *codeclib_get_buffer(size_t *size); + /* defined by the codec loader (codec.c) */ int codec_load_buf(int hid, struct codec_api *api); int codec_load_file(const char* codec, struct codec_api *api); |