summaryrefslogtreecommitdiff
path: root/apps/codecs/a52.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-01-18 00:05:14 +0000
committerJens Arnold <amiconn@rockbox.org>2006-01-18 00:05:14 +0000
commitb8749fdf219ffcfc17b7781217f388953268af49 (patch)
tree7369b5cb4f94f0c6589eb8bbf1bf63537c898b62 /apps/codecs/a52.c
parent507ff53c9c429de6c3bf5bfd6eb1a129cfc12cad (diff)
downloadrockbox-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/a52.c')
-rw-r--r--apps/codecs/a52.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c
index dd504e83fd..f12fce1027 100644
--- a/apps/codecs/a52.c
+++ b/apps/codecs/a52.c
@@ -22,6 +22,8 @@
22#include <codecs/liba52/config-a52.h> 22#include <codecs/liba52/config-a52.h>
23#include <codecs/liba52/a52.h> 23#include <codecs/liba52/a52.h>
24 24
25CODEC_HEADER
26
25#define BUFFER_SIZE 4096 27#define BUFFER_SIZE 4096
26 28
27#define A52_SAMPLESPERFRAME (6*256) 29#define A52_SAMPLESPERFRAME (6*256)
@@ -129,7 +131,6 @@ enum codec_status codec_start(struct codec_api *api)
129 int sample_loc; 131 int sample_loc;
130 132
131 /* Generic codec initialisation */ 133 /* Generic codec initialisation */
132 TEST_CODEC_API(api);
133 ci = api; 134 ci = api;
134 135
135 #ifdef USE_IRAM 136 #ifdef USE_IRAM