diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-09 19:34:45 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-09 19:34:45 +0000 |
commit | 1ee4e89627a6e1163dcd61544a09f80a1d4da5b7 (patch) | |
tree | 482f3895eac9ca8120c57f3b8a7c0f2bf3ea3ae5 | |
parent | 0b59079dd2b7b316311b1e0d25aff9d8279fed68 (diff) | |
download | rockbox-1ee4e89627a6e1163dcd61544a09f80a1d4da5b7.tar.gz rockbox-1ee4e89627a6e1163dcd61544a09f80a1d4da5b7.zip |
Renaming for the sake of consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29846 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/codec_thread.c | 2 | ||||
-rw-r--r-- | apps/codecs.c | 2 | ||||
-rw-r--r-- | apps/codecs.h | 2 |
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. */ |
177 | void *codeclib_get_buffer(size_t *size) | 177 | void *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[]; | |||
275 | void codec_get_full_path(char *path, const char *codec_root_fn); | 275 | void 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 */ |
278 | void *codeclib_get_buffer(size_t *size); | 278 | void *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) */ |
281 | int codec_load_buf(int hid, struct codec_api *api); | 281 | int codec_load_buf(int hid, struct codec_api *api); |