summaryrefslogtreecommitdiff
path: root/apps/codecs/shorten.c
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2006-11-09 21:59:27 +0000
committerTomasz Malesinski <tomal@rockbox.org>2006-11-09 21:59:27 +0000
commit5c54ba49d5c05e394a31f3827f7c4a75e28d9999 (patch)
tree096c978d3e4d259cc6cf08ee5ccdd4414d06c013 /apps/codecs/shorten.c
parent2e383a430de025378bf17942a1cf5ea86860f700 (diff)
downloadrockbox-5c54ba49d5c05e394a31f3827f7c4a75e28d9999.zip
rockbox-5c54ba49d5c05e394a31f3827f7c4a75e28d9999.tar.gz
rockbox-5c54ba49d5c05e394a31f3827f7c4a75e28d9999.tar.bz2
rockbox-5c54ba49d5c05e394a31f3827f7c4a75e28d9999.tar.xz
Added macros controlling what goes to IRAM on different targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11483 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/shorten.c')
-rw-r--r--apps/codecs/shorten.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/codecs/shorten.c b/apps/codecs/shorten.c
index c571df8..a7fc601 100644
--- a/apps/codecs/shorten.c
+++ b/apps/codecs/shorten.c
@@ -20,6 +20,10 @@
#include "codeclib.h"
#include <codecs/libffmpegFLAC/shndec.h>
+#ifndef IBSS_ATTR_SHORTEN_DECODED0
+#define IBSS_ATTR_SHORTEN_DECODED0 IBSS_ATTR
+#endif
+
CODEC_HEADER
#ifdef USE_IRAM
@@ -33,7 +37,7 @@ extern char iend[];
struct codec_api* rb;
struct codec_api* ci;
-int32_t decoded0[MAX_DECODE_SIZE] IBSS_ATTR;
+int32_t decoded0[MAX_DECODE_SIZE] IBSS_ATTR_SHORTEN_DECODED0;
int32_t decoded1[MAX_DECODE_SIZE] IBSS_ATTR;
int32_t offset0[MAX_OFFSET_SIZE] IBSS_ATTR;