Browse Source

Compilation on Windows

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1410 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.62
sletz 18 years ago
parent
commit
6b08d60661
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      common/JackPort.h

+ 3
- 2
common/JackPort.h View File

@@ -53,9 +53,10 @@ class JackPort
jack_port_id_t fTied; // Locally tied source port jack_port_id_t fTied; // Locally tied source port


#ifdef WIN32 #ifdef WIN32
__declspec(align(16)) float fBuffer[BUFFER_SIZE_MAX];
//__declspec(align(16)) float fBuffer[BUFFER_SIZE_MAX];
float fBuffer[BUFFER_SIZE_MAX];
#elif __GNUC__ #elif __GNUC__
float fBuffer[BUFFER_SIZE_MAX] __attribute__((aligned(16)));;
float fBuffer[BUFFER_SIZE_MAX] __attribute__((aligned(16)));
#else #else
#warning Buffer will not be aligned on 16 bytes boundaries : vector based code (Altivec of SSE) may fail #warning Buffer will not be aligned on 16 bytes boundaries : vector based code (Altivec of SSE) may fail
float fBuffer[BUFFER_SIZE_MAX]; float fBuffer[BUFFER_SIZE_MAX];


Loading…
Cancel
Save