/[svn]/linuxsampler/trunk/src/engines/gig/EGADSR.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/EGADSR.cpp

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

revision 252 by schoenebeck, Thu Sep 23 21:33:43 2004 UTC revision 259 by senkov, Wed Sep 29 03:16:01 2004 UTC
# Line 177  namespace LinuxSampler { namespace gig { Line 177  namespace LinuxSampler { namespace gig {
177                          pEngine->pSynthesisParameters[ModulationDestination][iSample++] *= Level;                          pEngine->pSynthesisParameters[ModulationDestination][iSample++] *= Level;
178                      }                      }
179                      if (Level <= FadeOutCoeff) Stage = stage_end;                      if (Level <= FadeOutCoeff) Stage = stage_end;
180                      break;                  } //Fall through here instead of breaking otherwise we can get back into stage_fadeout and loop forever!
                 }  
181                  case stage_end: {                  case stage_end: {
182                      while (iSample < TotalSamples) {                      while (iSample < TotalSamples) {
183                          pEngine->pSynthesisParameters[ModulationDestination][iSample++] = 0.0f;                          pEngine->pSynthesisParameters[ModulationDestination][iSample++] = 0.0f;

Legend:
Removed from v.252  
changed lines
  Added in v.259

  ViewVC Help
Powered by ViewVC