Commit b9788bfe authored by sletz's avatar sletz
Browse files

Use __attribute__((__aligned__(32))) instead of __attribute__((__packed__)) for 64/32 mixed mode.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3576 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 407988ef
......@@ -25,6 +25,10 @@ Paul Davis
Jackdmp changes log
---------------------------
2009-07-07 Stephane Letz <letz@grame.fr>
* Use __attribute__((__aligned__(32))) instead of __attribute__((__packed__)) for 64/32 mixed mode.
2009-07-03 Stephane Letz <letz@grame.fr>
* Another Tim Bechmann memops.c optimization patch.
......
......@@ -44,8 +44,8 @@ class SERVER_EXPORT JackTimer
jack_time_t fCurrentCallback;
jack_time_t fNextWakeUp;
float fSecondOrderIntegrator;
bool fInitialized;
float fFilterCoefficient; /* set once, never altered */
bool fInitialized;
public:
......
......@@ -34,7 +34,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#if (__GNUC__< 4) /* Does not seem to work with GCC 3.XX serie */
#define POST_PACKED_STRUCTURE
#elif defined(JACK_32_64)
#define POST_PACKED_STRUCTURE __attribute__((__packed__))
//#define POST_PACKED_STRUCTURE __attribute__((__packed__))
#define POST_PACKED_STRUCTURE __attribute__((__aligned__(32)))
#else
#define POST_PACKED_STRUCTURE
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment