# HG changeset patch # User michaelni # Date 1048008143 0 # Node ID 592fb56e562f15dad9b8f464b9e87e412671646d # Parent 6d6003cf89c2c3986952623c3297fa00761821fc merging a small amount of the changes from BroadQ, the rest is either not clean / doesnt apply / or is PS2 specific (someone with a PS2 should merge/send a patch for the later) diff -r 6d6003cf89c2 -r 592fb56e562f mpegaudiodec.c --- a/mpegaudiodec.c Mon Mar 17 11:02:33 2003 +0000 +++ b/mpegaudiodec.c Tue Mar 18 17:22:23 2003 +0000 @@ -86,9 +86,9 @@ int mode; int mode_ext; int lsf; - MPA_INT synth_buf[MPA_MAX_CHANNELS][512 * 2]; + MPA_INT synth_buf[MPA_MAX_CHANNELS][512 * 2] __attribute__((aligned(16))); int synth_buf_offset[MPA_MAX_CHANNELS]; - int32_t sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT]; + int32_t sb_samples[MPA_MAX_CHANNELS][36][SBLIMIT] __attribute__((aligned(16))); int32_t mdct_buf[MPA_MAX_CHANNELS][SBLIMIT * 18]; /* previous samples, for layer 3 MDCT */ #ifdef DEBUG int frame_count; @@ -170,7 +170,7 @@ FIXR(1.68179283050742908605), }; -static MPA_INT window[512]; +static MPA_INT window[512] __attribute__((aligned(16))); /* layer 1 unscaling */ /* n = number of bits of the mantissa minus 1 */