summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index 5c50116038..07b8cd5d4f 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -235,9 +235,6 @@ struct codec_header {
235 struct codec_api **api; 235 struct codec_api **api;
236}; 236};
237 237
238extern unsigned char codecbuf[];
239extern size_t codec_size;
240
241#ifdef CODEC 238#ifdef CODEC
242#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 239#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
243/* plugin_* is correct, codecs use the plugin linker script */ 240/* plugin_* is correct, codecs use the plugin linker script */
@@ -277,6 +274,9 @@ extern unsigned char plugin_end_addr[];
277 assumes buffer size is MAX_PATH */ 274 assumes buffer size is MAX_PATH */
278void codec_get_full_path(char *path, const char *codec_root_fn); 275void codec_get_full_path(char *path, const char *codec_root_fn);
279 276
277/* Returns pointer to and size of free codec RAM */
278void *codeclib_get_buffer(size_t *size);
279
280/* defined by the codec loader (codec.c) */ 280/* defined by the codec loader (codec.c) */
281int codec_load_buf(int hid, struct codec_api *api); 281int codec_load_buf(int hid, struct codec_api *api);
282int codec_load_file(const char* codec, struct codec_api *api); 282int codec_load_file(const char* codec, struct codec_api *api);