diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-01-18 00:05:14 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-01-18 00:05:14 +0000 |
commit | b8749fdf219ffcfc17b7781217f388953268af49 (patch) | |
tree | 7369b5cb4f94f0c6589eb8bbf1bf63537c898b62 /apps/codecs/alac.c | |
parent | 507ff53c9c429de6c3bf5bfd6eb1a129cfc12cad (diff) |
New codec loader, using the same mechanism as the new plugin loader. API version numbering restarted for the new system. Uses the target ID from configure, so don't change that too often. * Fixed sim_plugin_load_ram() to truncate the tempfile. * Reduced plugin buffer size to 512KB for iriver and iPod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/alac.c')
-rw-r--r-- | apps/codecs/alac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/alac.c b/apps/codecs/alac.c index 30c1ada555..7ca70ce83c 100644 --- a/apps/codecs/alac.c +++ b/apps/codecs/alac.c @@ -21,6 +21,8 @@ #include "libm4a/m4a.h" #include "libalac/decomp.h" +CODEC_HEADER + #ifdef USE_IRAM extern char iramcopy[]; extern char iramstart[]; @@ -50,10 +52,8 @@ enum codec_status codec_start(struct codec_api* api) alac_file alac; /* Generic codec initialisation */ - TEST_CODEC_API(api); - rb = api; - ci = (struct codec_api*)api; + ci = api; #ifdef USE_IRAM rb->memcpy(iramstart, iramcopy, iramend-iramstart); |