diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2010-11-22 02:51:13 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2010-11-22 02:51:13 +0000 |
commit | 0e53651062103f6270cc32a020bc59adcd3c4bf6 (patch) | |
tree | 2388bf26ec06d622f4d99c890f89f49112b16d01 /apps/codecs/libmad/synth.h | |
parent | 3f932318e2a304a0c4c84ec1210e4108b0217844 (diff) |
Force alignment of various data structures in libmad. Speeds up Gigabeat S decoding by about 1MHz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28639 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmad/synth.h')
-rw-r--r-- | apps/codecs/libmad/synth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libmad/synth.h b/apps/codecs/libmad/synth.h index 4cbcf73b2b..edb951e471 100644 --- a/apps/codecs/libmad/synth.h +++ b/apps/codecs/libmad/synth.h @@ -29,11 +29,11 @@ struct mad_pcm { unsigned int samplerate; /* sampling frequency (Hz) */ unsigned short channels; /* number of channels */ unsigned short length; /* number of samples per channel */ - mad_fixed_t samples[2][1152]; /* PCM output samples [ch][sample] */ + mad_fixed_t samples[2][1152] MEM_ALIGN_ATTR; /* PCM output samples [ch][sample] */ }; struct mad_synth { - mad_fixed_t filter[2][2][2][16][8]; /* polyphase filterbank outputs */ + mad_fixed_t filter[2][2][2][16][8] MEM_ALIGN_ATTR; /* polyphase filterbank outputs */ /* [ch][eo][peo][s][v] */ unsigned int phase; /* current processing phase */ |