summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codec_thread.c2
-rw-r--r--apps/codecs.c2
-rw-r--r--apps/codecs.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c
index 4801c4aa35..a7bff746d8 100644
--- a/apps/codec_thread.c
+++ b/apps/codec_thread.c
@@ -407,7 +407,7 @@ void codec_init_codec_api(void)
407{ 407{
408 ci.dsp = (struct dsp_config *)dsp_configure(NULL, DSP_MYDSP, 408 ci.dsp = (struct dsp_config *)dsp_configure(NULL, DSP_MYDSP,
409 CODEC_IDX_AUDIO); 409 CODEC_IDX_AUDIO);
410 ci.codec_get_buffer = codeclib_get_buffer; 410 ci.codec_get_buffer = codec_get_buffer_callback;
411 ci.pcmbuf_insert = codec_pcmbuf_insert_callback; 411 ci.pcmbuf_insert = codec_pcmbuf_insert_callback;
412 ci.set_elapsed = audio_codec_update_elapsed; 412 ci.set_elapsed = audio_codec_update_elapsed;
413 ci.read_filebuf = codec_filebuf_callback; 413 ci.read_filebuf = codec_filebuf_callback;
diff --git a/apps/codecs.c b/apps/codecs.c
index 0fe848ecd3..ec566dba06 100644
--- a/apps/codecs.c
+++ b/apps/codecs.c
@@ -174,7 +174,7 @@ void codec_get_full_path(char *path, const char *codec_root_fn)
174} 174}
175 175
176/* Returns pointer to and size of free codec RAM. Aligns to CACHEALIGN_SIZE. */ 176/* Returns pointer to and size of free codec RAM. Aligns to CACHEALIGN_SIZE. */
177void *codeclib_get_buffer(size_t *size) 177void *codec_get_buffer_callback(size_t *size)
178{ 178{
179 void *buf = &codecbuf[codec_size]; 179 void *buf = &codecbuf[codec_size];
180 *size = CODEC_SIZE - codec_size; 180 *size = CODEC_SIZE - codec_size;
diff --git a/apps/codecs.h b/apps/codecs.h
index 07b8cd5d4f..e24081128f 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -275,7 +275,7 @@ extern unsigned char plugin_end_addr[];
275void codec_get_full_path(char *path, const char *codec_root_fn); 275void codec_get_full_path(char *path, const char *codec_root_fn);
276 276
277/* Returns pointer to and size of free codec RAM */ 277/* Returns pointer to and size of free codec RAM */
278void *codeclib_get_buffer(size_t *size); 278void *codec_get_buffer_callback(size_t *size);
279 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);