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/vorbis.c | |
parent | 507ff53c9c429de6c3bf5bfd6eb1a129cfc12cad (diff) | |
download | rockbox-b8749fdf219ffcfc17b7781217f388953268af49.tar.gz rockbox-b8749fdf219ffcfc17b7781217f388953268af49.zip |
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/vorbis.c')
-rw-r--r-- | apps/codecs/vorbis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/vorbis.c b/apps/codecs/vorbis.c index 795e689e7d..fdd7a952d4 100644 --- a/apps/codecs/vorbis.c +++ b/apps/codecs/vorbis.c | |||
@@ -21,6 +21,8 @@ | |||
21 | #include "Tremor/ivorbisfile.h" | 21 | #include "Tremor/ivorbisfile.h" |
22 | #include "Tremor/ogg.h" | 22 | #include "Tremor/ogg.h" |
23 | 23 | ||
24 | CODEC_HEADER | ||
25 | |||
24 | static struct codec_api *rb; | 26 | static struct codec_api *rb; |
25 | 27 | ||
26 | /* Some standard functions and variables needed by Tremor */ | 28 | /* Some standard functions and variables needed by Tremor */ |
@@ -122,7 +124,6 @@ enum codec_status codec_start(struct codec_api *api) | |||
122 | ogg_uint32_t vf_serialnos; | 124 | ogg_uint32_t vf_serialnos; |
123 | ogg_int64_t vf_pcmlengths[2]; | 125 | ogg_int64_t vf_pcmlengths[2]; |
124 | 126 | ||
125 | TEST_CODEC_API(api); | ||
126 | rb = api; | 127 | rb = api; |
127 | 128 | ||
128 | #ifdef USE_IRAM | 129 | #ifdef USE_IRAM |