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

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

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

revision 2227 by iliev, Wed Aug 3 17:11:40 2011 UTC revision 3034 by schoenebeck, Mon Oct 31 00:05:00 2016 UTC
# Line 59  namespace LinuxSampler { Line 59  namespace LinuxSampler {
59               * @param ExtControlValue - new external controller value               * @param ExtControlValue - new external controller value
60               */               */
61              inline void update(const uint16_t& ExtControlValue) {              inline void update(const uint16_t& ExtControlValue) {
62                  const unsigned int intLimit = (unsigned int) -1; // all 0xFFFF...                  //const unsigned int intLimit = (unsigned int) -1; // all 0xFFFF...
63                  const float max = this->InternalDepth + ExtControlValue * this->ExtControlDepthCoeff;                  const float max = this->InternalDepth + ExtControlValue * this->ExtControlDepthCoeff;
64                  if (RANGE == range_unsigned) {                  if (RANGE == range_unsigned) {
65                      normalizer = max / 2.0f;                      normalizer = max / 2.0f;

Legend:
Removed from v.2227  
changed lines
  Added in v.3034

  ViewVC Help
Powered by ViewVC