/[svn]/linuxsampler/trunk/src/common/global.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1211 by schoenebeck, Fri Dec 29 20:06:14 2006 UTC revision 1212 by schoenebeck, Tue May 29 23:59:36 2007 UTC
# Line 3  Line 3 
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, 2006 Christian Schoenebeck                        *   *   Copyright (C) 2005 - 2007 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  *
# Line 21  Line 21 
21   *   MA  02111-1307  USA                                                   *   *   MA  02111-1307  USA                                                   *
22   ***************************************************************************/   ***************************************************************************/
23    
24  // i.e. OSX people using the xcode project file will avoid inclusion of  // Allow to avoid inclusion of config.h
25  // config.h here and rather use their manually maintained version.h  // (we used it for the _old_ xcode project file to avoid inclusion of
26    // config.h here and rather used our manually maintained version.h)
27  #ifndef OVERRIDE_CONFIG_H  #ifndef OVERRIDE_CONFIG_H
28  # include <config.h>  # include <config.h>
29  #endif  #endif
30    
31    // Make sure all mandatory configuration macros are defined.
32    // We don't care about optional configuration macros though.
33  #ifndef CONFIG_GLOBAL_ATTENUATION_DEFAULT  #ifndef CONFIG_GLOBAL_ATTENUATION_DEFAULT
34  # error "Configuration macro CONFIG_GLOBAL_ATTENUATION_DEFAULT not defined!"  # error "Configuration macro CONFIG_GLOBAL_ATTENUATION_DEFAULT not defined!"
35  #endif // CONFIG_GLOBAL_ATTENUATION_DEFAULT  #endif // CONFIG_GLOBAL_ATTENUATION_DEFAULT
36    #ifndef CONFIG_MAX_PITCH
37    # error "Configuration macro CONFIG_MAX_PITCH not defined!"
38    #endif // CONFIG_MAX_PITCH
39    #ifndef CONFIG_MAX_EVENTS_PER_FRAGMENT
40    # error "Configuration macro CONFIG_MAX_EVENTS_PER_FRAGMENT not defined!"
41    #endif // CONFIG_MAX_EVENTS_PER_FRAGMENT
42    #ifndef CONFIG_EG_BOTTOM
43    # error "Configuration macro CONFIG_EG_BOTTOM not defined!"
44    #endif // CONFIG_EG_BOTTOM
45    #ifndef CONFIG_EG_MIN_RELEASE_TIME
46    # error "Configuration macro CONFIG_EG_MIN_RELEASE_TIME not defined!"
47    #endif // CONFIG_EG_MIN_RELEASE_TIME
48    #ifndef CONFIG_REFILL_STREAMS_PER_RUN
49    # error "Configuration macro CONFIG_REFILL_STREAMS_PER_RUN not defined!"
50    #endif // CONFIG_REFILL_STREAMS_PER_RUN
51    #ifndef CONFIG_STREAM_MIN_REFILL_SIZE
52    # error "Configuration macro CONFIG_STREAM_MIN_REFILL_SIZE not defined!"
53    #endif // CONFIG_STREAM_MIN_REFILL_SIZE
54    #ifndef CONFIG_STREAM_MAX_REFILL_SIZE
55    # error "Configuration macro CONFIG_STREAM_MAX_REFILL_SIZE not defined!"
56    #endif // CONFIG_STREAM_MAX_REFILL_SIZE
57    #ifndef CONFIG_STREAM_BUFFER_SIZE
58    # error "Configuration macro CONFIG_STREAM_BUFFER_SIZE not defined!"
59    #endif // CONFIG_STREAM_BUFFER_SIZE
60    #ifndef CONFIG_MAX_STREAMS
61    # error "Configuration macro CONFIG_MAX_STREAMS not defined!"
62    #endif // CONFIG_MAX_STREAMS
63    #ifndef CONFIG_MAX_VOICES
64    # error "Configuration macro CONFIG_MAX_VOICES not defined!"
65    #endif // CONFIG_MAX_VOICES
66    #ifndef CONFIG_DEFAULT_SUBFRAGMENT_SIZE
67    # error "Configuration macro CONFIG_DEFAULT_SUBFRAGMENT_SIZE not defined!"
68    #endif // CONFIG_DEFAULT_SUBFRAGMENT_SIZE
69    #ifndef CONFIG_VOICE_STEAL_ALGO
70    # error "Configuration macro CONFIG_VOICE_STEAL_ALGO not defined!"
71    #endif // CONFIG_VOICE_STEAL_ALGO
72    #ifndef CONFIG_SYSEX_BUFFER_SIZE
73    # error "Configuration macro CONFIG_SYSEX_BUFFER_SIZE not defined!"
74    #endif // CONFIG_SYSEX_BUFFER_SIZE
75    #ifndef CONFIG_FILTER_CUTOFF_MIN
76    # error "Configuration macro CONFIG_FILTER_CUTOFF_MIN not defined!"
77    #endif // CONFIG_FILTER_CUTOFF_MIN
78    #ifndef CONFIG_FILTER_CUTOFF_MAX
79    # error "Configuration macro CONFIG_FILTER_CUTOFF_MAX not defined!"
80    #endif // CONFIG_FILTER_CUTOFF_MAX
81    #ifndef CONFIG_PORTAMENTO_TIME_MIN
82    # error "Configuration macro CONFIG_PORTAMENTO_TIME_MIN not defined!"
83    #endif // CONFIG_PORTAMENTO_TIME_MIN
84    #ifndef CONFIG_PORTAMENTO_TIME_MAX
85    # error "Configuration macro CONFIG_PORTAMENTO_TIME_MAX not defined!"
86    #endif // CONFIG_PORTAMENTO_TIME_MAX
87    #ifndef CONFIG_PORTAMENTO_TIME_DEFAULT
88    # error "Configuration macro CONFIG_PORTAMENTO_TIME_DEFAULT not defined!"
89    #endif // CONFIG_PORTAMENTO_TIME_DEFAULT
90    
91  // this is the sampler global volume coefficient that should be obeyed by all  // this is the sampler global volume coefficient that should be obeyed by all
92  // sampler engine implementations  // sampler engine implementations

Legend:
Removed from v.1211  
changed lines
  Added in v.1212

  ViewVC Help
Powered by ViewVC