Renaming for the sake of consistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29846 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0b59079dd2
commit
1ee4e89627
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue