3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 Christian Schoenebeck * |
* Copyright (C) 2005, 2006 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
84 |
#ifndef CONFIG_FILTER_CUTOFF_MAX |
#ifndef CONFIG_FILTER_CUTOFF_MAX |
85 |
# error "Configuration macro CONFIG_FILTER_CUTOFF_MAX not defined!" |
# error "Configuration macro CONFIG_FILTER_CUTOFF_MAX not defined!" |
86 |
#endif // CONFIG_FILTER_CUTOFF_MAX |
#endif // CONFIG_FILTER_CUTOFF_MAX |
87 |
|
#ifndef CONFIG_PORTAMENTO_TIME_MIN |
88 |
|
# error "Configuration macro CONFIG_PORTAMENTO_TIME_MIN not defined!" |
89 |
|
#endif // CONFIG_PORTAMENTO_TIME_MIN |
90 |
|
#ifndef CONFIG_PORTAMENTO_TIME_MAX |
91 |
|
# error "Configuration macro CONFIG_PORTAMENTO_TIME_MAX not defined!" |
92 |
|
#endif // CONFIG_PORTAMENTO_TIME_MAX |
93 |
|
#ifndef CONFIG_PORTAMENTO_TIME_DEFAULT |
94 |
|
# error "Configuration macro CONFIG_PORTAMENTO_TIME_DEFAULT not defined!" |
95 |
|
#endif // CONFIG_PORTAMENTO_TIME_DEFAULT |
96 |
|
|
97 |
#if CONFIG_DEBUG_LEVEL > 0 |
#if CONFIG_DEBUG_LEVEL > 0 |
98 |
# define dmsg(debuglevel,x) if (CONFIG_DEBUG_LEVEL >= debuglevel) {printf x; fflush(stdout);} |
# define dmsg(debuglevel,x) if (CONFIG_DEBUG_LEVEL >= debuglevel) {printf x; fflush(stdout);} |