git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1771 0c269be4-1314-0410-8aa9-9f06e86f4224tags/0.70
| @@ -22,6 +22,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
| #include "JackSynchro.h" | #include "JackSynchro.h" | ||||
| #include "JackTime.h" | #include "JackTime.h" | ||||
| #include "JackTypes.h" | |||||
| namespace Jack | namespace Jack | ||||
| { | { | ||||
| @@ -20,13 +20,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |||||
| #ifndef __JackAtomic__ | #ifndef __JackAtomic__ | ||||
| #define __JackAtomic__ | #define __JackAtomic__ | ||||
| #include "JackTypes.h" | |||||
| /* | |||||
| typedef unsigned short UInt16; | typedef unsigned short UInt16; | ||||
| #if __LP64__ | #if __LP64__ | ||||
| typedef unsigned int UInt32; | |||||
| typedef signed int SInt32; | |||||
| typedef unsigned int UInt32; | |||||
| typedef signed int SInt32; | |||||
| #else | #else | ||||
| typedef unsigned long UInt32; | |||||
| typedef signed long SInt32; | |||||
| typedef unsigned long UInt32; | |||||
| typedef signed long SInt32; | |||||
| #endif | #endif | ||||
| #ifdef WIN32 | #ifdef WIN32 | ||||
| @@ -35,6 +38,7 @@ typedef ULONGLONG UInt64; | |||||
| #else | #else | ||||
| typedef unsigned long long UInt64; | typedef unsigned long long UInt64; | ||||
| #endif | #endif | ||||
| */ | |||||
| #if defined(__APPLE__) | #if defined(__APPLE__) | ||||
| @@ -85,12 +85,14 @@ namespace Jack | |||||
| typedef uint16_t jack_int_t; // Internal type for ports and refnum | typedef uint16_t jack_int_t; // Internal type for ports and refnum | ||||
| /* | |||||
| typedef enum { | typedef enum { | ||||
| NotTriggered, | NotTriggered, | ||||
| Triggered, | Triggered, | ||||
| Running, | Running, | ||||
| Finished, | Finished, | ||||
| } jack_client_state_t; | } jack_client_state_t; | ||||
| */ | |||||
| } // end of namespace | } // end of namespace | ||||
| @@ -21,6 +21,23 @@ | |||||
| #ifndef __JackTypes__ | #ifndef __JackTypes__ | ||||
| #define __JackTypes__ | #define __JackTypes__ | ||||
| typedef unsigned short UInt16; | |||||
| #if __LP64__ | |||||
| typedef unsigned int UInt32; | |||||
| typedef signed int SInt32; | |||||
| #else | |||||
| typedef unsigned long UInt32; | |||||
| typedef signed long SInt32; | |||||
| #endif | |||||
| #ifdef WIN32 | |||||
| #include <windows.h> | |||||
| typedef ULONGLONG UInt64; | |||||
| #else | |||||
| typedef unsigned long long UInt64; | |||||
| #endif | |||||
| namespace Jack | namespace Jack | ||||
| { | { | ||||