summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2007-11-02 14:06:48 +0000
committerBrandon Low <lostlogic@rockbox.org>2007-11-02 14:06:48 +0000
commitdcca586a9bcf58c8059803416e2fdd969ab0e5a6 (patch)
treeeded80fa3cc3aa17a2c61b33e9fb6f0dce13b381 /apps/codecs.h
parent21f0552947ea0545977546d8af1aef2359bba754 (diff)
downloadrockbox-dcca586a9bcf58c8059803416e2fdd969ab0e5a6.zip
rockbox-dcca586a9bcf58c8059803416e2fdd969ab0e5a6.tar.gz
rockbox-dcca586a9bcf58c8059803416e2fdd969ab0e5a6.tar.bz2
rockbox-dcca586a9bcf58c8059803416e2fdd969ab0e5a6.tar.xz
Improve upon my hackity hack from before by separating audio into two types: that which may be large and can be streamed and that which is small and cannot be streamed. While modifying types, allow codecs to split across the buffer wrap and dig out/move around the code that reads a codec off of the buffer to facilitate that simple sounding change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15408 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index a59a791..638c43b 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -284,8 +284,7 @@ extern unsigned char plugin_end_addr[];
void codec_get_full_path(char *path, const char *codec_root_fn);
/* defined by the codec loader (codec.c) */
-int codec_load_ram(char* codecptr, int size, void* ptr2, int bufwrap,
- struct codec_api *api);
+int codec_load_buf(unsigned int hid, int size, struct codec_api *api);
int codec_load_file(const char* codec, struct codec_api *api);
/* defined by the codec */