From dcca586a9bcf58c8059803416e2fdd969ab0e5a6 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Fri, 2 Nov 2007 14:06:48 +0000 Subject: 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 --- apps/codecs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/codecs.h') 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 */ -- cgit v1.1