set global alignment via a #define

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1742 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-10-04 23:22:41 +00:00
parent b3154b813d
commit f19aa7f1b6

View File

@@ -131,8 +131,9 @@ const ch_cnt_t SURROUND_CHANNELS =
typedef sample_t sampleFrame[DEFAULT_CHANNELS];
typedef sample_t surroundSampleFrame[SURROUND_CHANNELS];
#define ALIGN_SIZE 16
#if __GNUC__
typedef sample_t sampleFrameA[DEFAULT_CHANNELS] __attribute__((__aligned__(16)));
typedef sample_t sampleFrameA[DEFAULT_CHANNELS] __attribute__((__aligned__(ALIGN_SIZE)));
#endif
#endif