1 |
/* |
2 |
xcode project workaround |
3 |
|
4 |
Here come macros which should actually be automatically generated by the |
5 |
autools and the resulting configure script. For the xcode project file we |
6 |
define them manually here for now. |
7 |
*/ |
8 |
|
9 |
#define VERSION "0.4.0.4cvs" |
10 |
#define PACKAGE "linuxsampler" |
11 |
|
12 |
#if __APPLE__ && __BIG_ENDIAN__ |
13 |
#define WORDS_BIGENDIAN 1 |
14 |
#endif |
15 |
|
16 |
/* Define to 1 if you want to enable hand-crafted asm optimizations. */ |
17 |
/* #undef CONFIG_ASM */ |
18 |
|
19 |
/* Define console verbosity. */ |
20 |
#define CONFIG_DEBUG_LEVEL 1 |
21 |
|
22 |
/* Define to 1 if you want to enable development mode. */ |
23 |
/* #undef CONFIG_DEVMODE */ |
24 |
|
25 |
/* Define bottom limit of envelopes. */ |
26 |
#define CONFIG_EG_BOTTOM 0.001 |
27 |
|
28 |
/* Define min. release time. */ |
29 |
#define CONFIG_EG_MIN_RELEASE_TIME 0.0025 |
30 |
|
31 |
/* Define max. filter cutoff frequency. */ |
32 |
#define CONFIG_FILTER_CUTOFF_MAX 10000.0f |
33 |
|
34 |
/* Define min. filter cutoff frequency. */ |
35 |
#define CONFIG_FILTER_CUTOFF_MIN 100.0f |
36 |
|
37 |
/* Define to 1 to force filter usage. */ |
38 |
/* #undef CONFIG_FORCE_FILTER */ |
39 |
|
40 |
/* Define default global volume attenuation (as floating point factor). */ |
41 |
#define CONFIG_GLOBAL_ATTENUATION_DEFAULT 0.35 |
42 |
|
43 |
/* Define max. allowed events per fragment. */ |
44 |
#define CONFIG_MAX_EVENTS_PER_FRAGMENT 1024 |
45 |
|
46 |
/* Define max. allowed pitch. */ |
47 |
#define CONFIG_MAX_PITCH 4 |
48 |
|
49 |
/* Define max. streams. */ |
50 |
#define CONFIG_MAX_STREAMS 90 |
51 |
|
52 |
/* Define max. voices. */ |
53 |
#define CONFIG_MAX_VOICES 64 |
54 |
|
55 |
/* Define default subfragment size (in sample points). */ |
56 |
#define CONFIG_DEFAULT_SUBFRAGMENT_SIZE 32 |
57 |
|
58 |
/* Define to a MIDI controller number to override cutoff control. */ |
59 |
/* #undef CONFIG_OVERRIDE_CUTOFF_CTRL */ |
60 |
|
61 |
/* Define to a filter type to always force that filter type. */ |
62 |
/* #undef CONFIG_OVERRIDE_FILTER_TYPE */ |
63 |
|
64 |
/* Define to a MIDI controller number to override resonance control. */ |
65 |
/* #undef CONFIG_OVERRIDE_RESONANCE_CTRL */ |
66 |
|
67 |
/* Define default portamento time. */ |
68 |
#define CONFIG_PORTAMENTO_TIME_DEFAULT 1 |
69 |
|
70 |
/* Define max. portamento time. */ |
71 |
#define CONFIG_PORTAMENTO_TIME_MAX 32 |
72 |
|
73 |
/* Define min. portamento time. */ |
74 |
#define CONFIG_PORTAMENTO_TIME_MIN 0.1 |
75 |
|
76 |
/* Define amount of sample points to be cached in RAM. */ |
77 |
#define CONFIG_PRELOAD_SAMPLES 32768 |
78 |
|
79 |
/* Define to 1 if you want to enable processing of All-Notes-Off MIDI |
80 |
messages. */ |
81 |
#define CONFIG_PROCESS_ALL_NOTES_OFF 1 |
82 |
|
83 |
/* Define amount of streams to be refilled per cycle. */ |
84 |
#define CONFIG_REFILL_STREAMS_PER_RUN 4 |
85 |
|
86 |
/* Define to 1 to allow exceptions in the realtime context. */ |
87 |
/* #undef CONFIG_RT_EXCEPTIONS */ |
88 |
|
89 |
/* Define each stream's ring buffer size. */ |
90 |
#define CONFIG_STREAM_BUFFER_SIZE 262144 |
91 |
|
92 |
/* Define max. stream refill size. */ |
93 |
#define CONFIG_STREAM_MAX_REFILL_SIZE 65536 |
94 |
|
95 |
/* Define min. stream refill size. */ |
96 |
#define CONFIG_STREAM_MIN_REFILL_SIZE 1024 |
97 |
|
98 |
/* Define SysEx buffer size. */ |
99 |
#define CONFIG_SYSEX_BUFFER_SIZE 2048 |
100 |
|
101 |
/* Define voice stealing algorithm to be used. */ |
102 |
#define CONFIG_VOICE_STEAL_ALGO voice_steal_algo_oldestvoiceonkey |
103 |
|
104 |
#define CONFIG_GLOBAL_ATTENUATION 0.35 |
105 |
|
106 |
// avoid automatic inclusion of config.h in global.h, since we use version.h |
107 |
// to manually maintain all compile time configuration parameters |
108 |
#define OVERRIDE_CONFIG_H |