Nsound.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00015
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00033 #ifndef _NSOUND_H_
00034 #define _NSOUND_H_
00035
00036 #define PACKAGE_NAME "nsound"
00037
00038 #define NSOUND_VERSION_A 0
00039 #define NSOUND_VERSION_B 8
00040 #define NSOUND_VERSION_C 2
00041
00042 #define PACKAGE_RELEASE "nsound-0.8.2"
00043
00044 namespace Nsound
00045 {
00046
00047
00048 typedef bool boolean;
00049
00050
00051
00052 typedef signed char byte;
00053 typedef signed char int8;
00054 typedef signed short int16;
00055 typedef signed int int32;
00056 typedef signed long long int64;
00057
00058 typedef float float32;
00059 typedef double float64;
00060
00061
00062
00063 typedef unsigned char ubyte;
00064 typedef unsigned char uint8;
00065 typedef unsigned short uint16;
00066 typedef unsigned int uint32;
00067 typedef unsigned long long uint64;
00068
00069
00070 typedef signed long long raw_int64;
00071 typedef unsigned long long raw_uint64;
00072 typedef double raw_float64;
00073
00074 };
00075
00076
00077 #define NSOUND_LITTLE_ENDIAN
00078
00079
00080 #define NSOUND_PLATFORM_OS_LINUX
00081
00082
00083 #define NSOUND_64_BIT
00084
00085
00086 #define NSOUND_SAMPLE_SIZE sizeof(float64)
00087
00088
00089
00090
00091
00092 #define NSOUND_C_PYLAB
00093
00094
00095 #define NSOUND_LIBPORTAUDIO
00096
00097
00098 #define NSOUND_LIBAO
00099
00100
00101 #ifdef NSOUND_C_PYLAB
00102 #include <Python.h>
00103 #endif
00104
00105
00106 #define NSOUND_OPENMP
00107
00108 #ifdef NSOUND_OPENMP
00109 #include <omp.h>
00110 #endif
00111
00112
00113 #undef NSOUND_CUDA // disabled
00114
00115 #ifdef NSOUND_CUDA
00116 #include <cuda.h>
00117 #endif
00118
00120
00121
00122 #define LINE_PREFIX __FILE__ << ":" << __LINE__ << ": "
00123 #define ERROR_HEADER __FILE__ << ":" << __LINE__ << ": ***ERROR: "
00124 #define WARNING_HEADER __FILE__ << ":" << __LINE__ << ": ***WARNING: "
00125
00126
00127 #endif