From d4e904bf3557c63fb358d2d8e91bb103ca369e1a Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 24 Feb 2007 17:06:36 +0000 Subject: 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 --- apps/codecs/spc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/codecs/spc.c') 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; -- cgit v1.1