/[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 286 by schoenebeck, Sat Oct 16 17:29:05 2004 UTC revision 396 by persson, Sun Feb 20 20:32:24 2005 UTC
# Line 85  namespace LinuxSampler { namespace gig { Line 85  namespace LinuxSampler { namespace gig {
85                          Level += AttackCoeff;                          Level += AttackCoeff;
86                          pEngine->pSynthesisParameters[ModulationDestination][iSample++] *= Level;                          pEngine->pSynthesisParameters[ModulationDestination][iSample++] *= Level;
87                      }                      }
88                      if (iSample == TotalSamples) { // postpone last transition event for the next audio fragment                      if (iSample == TotalSamples && itTransitionEvent) { // postpone last transition event for the next audio fragment
89                          RTList<Event>::Iterator itLastEvent = pEvents->last();                          RTList<Event>::Iterator itLastEvent = pEvents->last();
90                          if (itLastEvent) ReleasePostponed = (itLastEvent->Type == Event::type_release);                          if (itLastEvent) ReleasePostponed = (itLastEvent->Type == Event::type_release);
91                      }                      }

Legend:
Removed from v.286  
changed lines
  Added in v.396

  ViewVC Help
Powered by ViewVC