r8brain-free-src
High-quality pro audio sample rate converter library
Loading...
Searching...
No Matches
r8bconf.h
Go to the documentation of this file.
1
//$ nobt
2
//$ nocpp
3
16
17
#ifndef R8BCONF_INCLUDED
18
#define R8BCONF_INCLUDED
19
20
#if !defined( R8BASSERT )
27
28
#define R8BASSERT( e ) (void) 0
29
#endif
// !defined( R8BASSERT )
30
31
#if !defined( R8BCONSOLE )
40
41
#define R8BCONSOLE( ... ) (void) 0
42
#endif
// !defined( R8BCONSOLE )
43
44
#if !defined( R8B_BASECLASS )
55
56
#define R8B_BASECLASS :: r8b :: CStdClassAllocator
57
#endif
// !defined( R8B_BASECLASS )
58
59
#if !defined( R8B_MEMALLOCCLASS )
64
65
#define R8B_MEMALLOCCLASS :: r8b :: CStdMemAllocator
66
#endif
// !defined( R8B_MEMALLOCCLASS )
67
68
#if !defined( R8B_DSPBASECLASS )
78
79
#define R8B_DSPBASECLASS R8B_BASECLASS
80
#endif
// !defined( R8B_DSPBASECLASS )
81
82
#if !defined( R8B_FILTER_CACHE_MAX )
89
90
#define R8B_FILTER_CACHE_MAX 96
91
#endif
// !defined( R8B_FILTER_CACHE_MAX )
92
93
#if !defined( R8B_FRACBANK_CACHE_MAX )
102
103
#define R8B_FRACBANK_CACHE_MAX 12
104
#endif
// !defined( R8B_FRACBANK_CACHE_MAX )
105
106
#if !defined( R8B_FLTTEST )
114
115
#define R8B_FLTTEST 0
116
#endif
// !defined( R8B_FLTTEST )
117
118
#if !defined( R8B_EXTFFT )
128
129
#define R8B_EXTFFT 0
130
#endif
// !defined( R8B_EXTFFT )
131
132
#if !defined( R8B_IPP )
141
142
#define R8B_IPP 0
143
144
// #include <ippcore.h>
145
// #include <ipps.h>
146
#endif
// !defined( R8B_IPP )
147
148
#if !defined( R8B_PFFFT_DOUBLE )
153
154
#define R8B_PFFFT_DOUBLE 0
155
#endif
// !defined( R8B_PFFFT_DOUBLE )
156
157
#if !defined( R8B_PFFFT )
165
166
#define R8B_PFFFT 0
167
#else
// !defined( R8B_PFFFT )
168
#if R8B_PFFFT && R8B_PFFFT_DOUBLE
169
// Handle the case when both `R8B_PFFFT` and `R8B_PFFFT_DOUBLE` were
170
// enabled together by mistake.
171
172
#error R8B_PFFFT and R8B_PFFFT_DOUBLE collision.
173
#endif
// R8B_PFFFT && R8B_PFFFT_DOUBLE
174
#endif
// !defined( R8B_PFFFT )
175
176
#if defined( R8B_OOURA )
177
#error R8B_OOURA should not be pre-defined.
178
#endif
// defined( R8B_OOURA )
179
180
#if !R8B_IPP && !R8B_PFFFT && !R8B_PFFFT_DOUBLE
186
187
#define R8B_OOURA 1
188
#else
// Non-Ooura FFT
189
#define R8B_OOURA 0
190
#endif
// Non-Ooura FFT
191
192
#if R8B_FILTER_CACHE_MAX < 2
193
#error R8B_FILTER_CACHE_MAX must be greater than 1.
194
#endif
// R8B_FILTER_CACHE_MAX < 2
195
196
#if R8B_FRACBANK_CACHE_MAX < 2
197
#error R8B_FRACBANK_CACHE_MAX must be greater than 1.
198
#endif
// R8B_FRACBANK_CACHE_MAX < 2
199
200
#endif
// R8BCONF_INCLUDED
r8bconf.h
Generated by
1.13.2