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/mpa.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/mpa.c')
-rw-r--r-- | apps/codecs/mpa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 3d824d9b39..3c57f3f33f 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -21,6 +21,8 @@ #include <codecs/libmad/mad.h> #include <inttypes.h> +CODEC_HEADER + struct mad_stream stream IBSS_ATTR; struct mad_frame frame IBSS_ATTR; struct mad_synth synth IBSS_ATTR; @@ -81,7 +83,6 @@ enum codec_status codec_start(struct codec_api *api) char *inputbuffer; ci = api; - TEST_CODEC_API(api); #ifdef USE_IRAM ci->memcpy(iramstart, iramcopy, iramend - iramstart); |