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

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

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

revision 2027 by iliev, Tue Nov 3 19:27:42 2009 UTC revision 2055 by persson, Sat Jan 30 10:30:02 2010 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck    *   *   Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck    *
6   *   Copyright (C) 2005-2009 Christian Schoenebeck                         *   *   Copyright (C) 2005-2008 Christian Schoenebeck                         *
7   *   Copyright (C) 2009 Grigor Iliev                                       *   *   Copyright (C) 2009-2010 Christian Schoenebeck and Grigor Iliev        *
8   *                                                                         *   *                                                                         *
9   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
10   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 185  namespace LinuxSampler { Line 185  namespace LinuxSampler {
185                  itTriggerEvent = Pool<Event>::Iterator();                  itTriggerEvent = Pool<Event>::Iterator();
186    
187                  // If sample stream or release stage finished, kill the voice                  // If sample stream or release stage finished, kill the voice
188                  if (                  if (PlaybackState == Voice::playback_state_end ||
189                      PlaybackState == Voice::playback_state_end ||                      pEG1->getSegmentType() == EG::segment_end) {
190                      EG1.getSegmentType() == gig::EGADSR::segment_end                      KillImmediately();
191                  ) KillImmediately();                  }
192              }              }
193    
194              /**              /**

Legend:
Removed from v.2027  
changed lines
  Added in v.2055

  ViewVC Help
Powered by ViewVC