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 /apps | |
| parent | 0b59079dd2b7b316311b1e0d25aff9d8279fed68 (diff) | |
| download | rockbox-1ee4e89627a6e1163dcd61544a09f80a1d4da5b7.zip rockbox-1ee4e89627a6e1163dcd61544a09f80a1d4da5b7.tar.gz rockbox-1ee4e89627a6e1163dcd61544a09f80a1d4da5b7.tar.bz2 rockbox-1ee4e89627a6e1163dcd61544a09f80a1d4da5b7.tar.xz | |
Renaming for the sake of consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29846 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -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 4801c4a..a7bff74 100644 --- a/apps/codec_thread.c +++ b/apps/codec_thread.c @@ -407,7 +407,7 @@ void codec_init_codec_api(void) { ci.dsp = (struct dsp_config *)dsp_configure(NULL, DSP_MYDSP, CODEC_IDX_AUDIO); - ci.codec_get_buffer = codeclib_get_buffer; + ci.codec_get_buffer = codec_get_buffer_callback; ci.pcmbuf_insert = codec_pcmbuf_insert_callback; ci.set_elapsed = audio_codec_update_elapsed; ci.read_filebuf = codec_filebuf_callback; diff --git a/apps/codecs.c b/apps/codecs.c index 0fe848e..ec566db 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) } /* Returns pointer to and size of free codec RAM. Aligns to CACHEALIGN_SIZE. */ -void *codeclib_get_buffer(size_t *size) +void *codec_get_buffer_callback(size_t *size) { void *buf = &codecbuf[codec_size]; *size = CODEC_SIZE - codec_size; diff --git a/apps/codecs.h b/apps/codecs.h index 07b8cd5..e240811 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -275,7 +275,7 @@ extern unsigned char plugin_end_addr[]; 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); +void *codec_get_buffer_callback(size_t *size); /* defined by the codec loader (codec.c) */ int codec_load_buf(int hid, struct codec_api *api); |