summaryrefslogtreecommitdiff
path: root/apps/codecs/spc.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-02-24 17:06:36 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-02-24 17:06:36 +0000
commitd4e904bf3557c63fb358d2d8e91bb103ca369e1a (patch)
tree2405fea04069c5d13286438d38ef7c246bb75075 /apps/codecs/spc.c
parentdbf772bae969703972a672a866f07edc9a9031a5 (diff)
downloadrockbox-d4e904bf3557c63fb358d2d8e91bb103ca369e1a.zip
rockbox-d4e904bf3557c63fb358d2d8e91bb103ca369e1a.tar.gz
rockbox-d4e904bf3557c63fb358d2d8e91bb103ca369e1a.tar.bz2
rockbox-d4e904bf3557c63fb358d2d8e91bb103ca369e1a.tar.xz
SWCODEC: Dsp speed optimizations. Changes for more modularity. Removal of some usless stuff. Some assembly routines for Coldfire with speed in mind over size for the outputs but the channel modes remain compact. Miscellaneous coldfire asm updates to accomodate the changes. Codec API structure version has to increase so do a full update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12472 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/spc.c')
-rw-r--r--apps/codecs/spc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/spc.c b/apps/codecs/spc.c
index 8d621dd..61fd9de 100644
--- a/apps/codecs/spc.c
+++ b/apps/codecs/spc.c
@@ -712,7 +712,8 @@ static int LoadID666(unsigned char *buf) {
/**************** Codec ****************/
-static int32_t samples[WAV_CHUNK_SIZE*2] IBSS_ATTR;
+static int32_t samples[WAV_CHUNK_SIZE*2]
+ __attribute__ ((aligned (16))) IBSS_ATTR;
static struct Spc_Emu spc_emu IDATA_ATTR;