46 |
/// defines globally the bit depth of used samples |
/// defines globally the bit depth of used samples |
47 |
typedef int16_t sample_t; |
typedef int16_t sample_t; |
48 |
|
|
49 |
|
// macro to check for a certain version (or newer) of GCC |
50 |
|
#define GNUC_VERSION_PREREQ(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor))) |
51 |
|
// macro which checks if GCC vector extensions are avialable |
52 |
|
#define HAVE_GCC_VECTOR_EXTENSIONS ( GNUC_VERSION_PREREQ(3,3) && ( defined(__i386__) || defined(__x86_64__) || defined(_ARCH_PPC) ) ) |
53 |
|
// v4sf is used by some routines that make use of GCC vector extensions (ie AudioChannel.cpp) |
54 |
|
typedef float v4sf __attribute__ ((vector_size(16))); |
55 |
|
|
56 |
/** |
/** |
57 |
* Whether a function / method call was successful, or if warnings or even an |
* Whether a function / method call was successful, or if warnings or even an |
58 |
* error occured. |
* error occured. |