/[svn]/linuxsampler/trunk/src/engines/common/AbstractVoice.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/AbstractVoice.h

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

revision 3611 by schoenebeck, Fri Aug 23 11:44:00 2019 UTC revision 3612 by schoenebeck, Mon Sep 30 18:03:43 2019 UTC
# Line 39  Line 39 
39  #include "../gig/Synthesizer.h"  #include "../gig/Synthesizer.h"
40  #include "../gig/Profiler.h"  #include "../gig/Profiler.h"
41  #include "SignalUnitRack.h"  #include "SignalUnitRack.h"
42    #include "LFOAll.h"
 // include the appropriate (unsigned) triangle LFO implementation  
 #if CONFIG_UNSIGNED_TRIANG_ALGO == INT_MATH_SOLUTION  
 # include "LFOTriangleIntMath.h"  
 #elif CONFIG_UNSIGNED_TRIANG_ALGO == INT_ABS_MATH_SOLUTION  
 # include "LFOTriangleIntAbsMath.h"  
 #elif CONFIG_UNSIGNED_TRIANG_ALGO == DI_HARMONIC_SOLUTION  
 # include "LFOTriangleDiHarmonic.h"  
 #else  
 # error "Unknown or no (unsigned) triangle LFO implementation selected!"  
 #endif  
   
 // include the appropriate (signed) triangle LFO implementation  
 #if CONFIG_SIGNED_TRIANG_ALGO == INT_MATH_SOLUTION  
 # include "LFOTriangleIntMath.h"  
 #elif CONFIG_SIGNED_TRIANG_ALGO == INT_ABS_MATH_SOLUTION  
 # include "LFOTriangleIntAbsMath.h"  
 #elif CONFIG_SIGNED_TRIANG_ALGO == DI_HARMONIC_SOLUTION  
 # include "LFOTriangleDiHarmonic.h"  
 #else  
 # error "Unknown or no (signed) triangle LFO implementation selected!"  
 #endif  
43    
44  namespace LinuxSampler {  namespace LinuxSampler {
45    
     #if CONFIG_UNSIGNED_TRIANG_ALGO == INT_MATH_SOLUTION  
     typedef LFOTriangleIntMath<range_unsigned> LFOUnsigned;  
     #elif CONFIG_UNSIGNED_TRIANG_ALGO == INT_ABS_MATH_SOLUTION  
     typedef LFOTriangleIntAbsMath<range_unsigned> LFOUnsigned;  
     #elif CONFIG_UNSIGNED_TRIANG_ALGO == DI_HARMONIC_SOLUTION  
     typedef LFOTriangleDiHarmonic<range_unsigned> LFOUnsigned;  
     #endif  
   
     #if CONFIG_SIGNED_TRIANG_ALGO == INT_MATH_SOLUTION  
     typedef LFOTriangleIntMath<range_signed> LFOSigned;  
     #elif CONFIG_SIGNED_TRIANG_ALGO == INT_ABS_MATH_SOLUTION  
     typedef LFOTriangleIntAbsMath<range_signed> LFOSigned;  
     #elif CONFIG_SIGNED_TRIANG_ALGO == DI_HARMONIC_SOLUTION  
     typedef LFOTriangleDiHarmonic<range_signed> LFOSigned;  
     #endif  
   
46      class AbstractVoice : public Voice {      class AbstractVoice : public Voice {
47          public:          public:
48              type_t       Type;         ///< Voice Type (bit field, a voice may have several types)              type_t       Type;         ///< Voice Type (bit field, a voice may have several types)

Legend:
Removed from v.3611  
changed lines
  Added in v.3612

  ViewVC Help
Powered by ViewVC