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/mpc.c | |
| parent | 507ff53c9c429de6c3bf5bfd6eb1a129cfc12cad (diff) | |
| download | rockbox-b8749fdf219ffcfc17b7781217f388953268af49.zip rockbox-b8749fdf219ffcfc17b7781217f388953268af49.tar.gz rockbox-b8749fdf219ffcfc17b7781217f388953268af49.tar.bz2 rockbox-b8749fdf219ffcfc17b7781217f388953268af49.tar.xz | |
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/mpc.c')
| -rw-r--r-- | apps/codecs/mpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c index 207a63c..1d1ed3a 100644 --- a/apps/codecs/mpc.c +++ b/apps/codecs/mpc.c @@ -20,6 +20,8 @@ #include "codeclib.h" #include <codecs/libmusepack/musepack.h> +CODEC_HEADER + mpc_decoder decoder; /* Our implementations of the mpc_reader callback functions. */ @@ -82,7 +84,6 @@ enum codec_status codec_start(struct codec_api *api) mpc_reader reader; mpc_streaminfo info; - TEST_CODEC_API(api); #ifdef USE_IRAM ci->memcpy(iramstart, iramcopy, iramend - iramstart); ci->memset(iedata, 0, iend - iedata); |