pa_types.h File Reference
Definition of 16 and 32 bit integer types (PaInt16, PaInt32 etc).
More...
Go to the source code of this file.
Detailed Description
Definition of 16 and 32 bit integer types (PaInt16, PaInt32 etc).
SIZEOF_SHORT, SIZEOF_INT and SIZEOF_LONG are set by the configure script when it is used. Otherwise we default to the common 32 bit values, if your platform doesn't use configure, and doesn't use the default values below you will need to explicitly define these symbols in your make file.
A PA_VALIDATE_SIZES macro is provided to assert that the values set in this file are correct.
Define Documentation
#define PA_VALIDATE_TYPE_SIZES |
Value:{ \
assert( "PortAudio: type sizes are not correct in pa_types.h" && sizeof( PaUint16 ) == 2 ); \
assert( "PortAudio: type sizes are not correct in pa_types.h" && sizeof( PaInt16 ) == 2 ); \
assert( "PortAudio: type sizes are not correct in pa_types.h" && sizeof( PaUint32 ) == 4 ); \
assert( "PortAudio: type sizes are not correct in pa_types.h" && sizeof( PaInt32 ) == 4 ); \
}
Referenced by Pa_Initialize().
Typedef Documentation