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

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

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

linuxsampler/trunk/src/engines/common/SineLFO.h revision 3613 by schoenebeck, Mon Sep 30 18:03:43 2019 UTC linuxsampler/trunk/src/engines/common/LFOSineBuiltinFn.h revision 3614 by schoenebeck, Tue Oct 1 09:11:27 2019 UTC
# Line 19  Line 19 
19   *   MA  02111-1307  USA                                                   *   *   MA  02111-1307  USA                                                   *
20   ***************************************************************************/   ***************************************************************************/
21    
22  #ifndef __LS_SINELFO_H__  #ifndef __LS_SINELFO_BUILTIN_H__
23  #define __LS_SINELFO_H__  #define __LS_SINELFO_BUILTIN_H__
24    
25  #include "LFOBase.h"  #include "LFOBase.h"
26    
27  namespace LinuxSampler {  namespace LinuxSampler {
28    
29      /** @brief sine LFO      /** @brief Sine LFO (using built-in sin() function as implementation)
30       */       */
31      template<LFO::range_type_t RANGE>      template<LFO::range_type_t RANGE>
32      class SineLFO : public LFOBase<RANGE> {      class LFOSineBuiltinFn : public LFOBase<RANGE> {
33          public:          public:
34    
35              /**              /**
# Line 37  namespace LinuxSampler { Line 37  namespace LinuxSampler {
37               *               *
38               * @param Max - maximum value of the output levels               * @param Max - maximum value of the output levels
39               */               */
40              SineLFO(float Max) : LFOBase<RANGE>::LFOBase(Max) {              LFOSineBuiltinFn(float Max) : LFOBase<RANGE>::LFOBase(Max) {
41              }              }
42    
43              /**              /**
# Line 160  namespace LinuxSampler { Line 160  namespace LinuxSampler {
160    
161  } // namespace LinuxSampler  } // namespace LinuxSampler
162    
163  #endif // __LS_SINELFO_H__  #endif // __LS_SINELFO_BUILTIN_H__

Legend:
Removed from v.3613  
changed lines
  Added in v.3614

  ViewVC Help
Powered by ViewVC