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

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

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

revision 2836 by schoenebeck, Sun May 18 17:38:25 2014 UTC revision 2837 by persson, Sun Aug 23 06:14:00 2015 UTC
# Line 4  Line 4 
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 - 2008 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2008 Christian Schoenebeck                       *
7   *   Copyright (C) 2009 - 2013 Christian Schoenebeck and Grigor Iliev      *   *   Copyright (C) 2009 - 2015 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 487  namespace LinuxSampler { namespace gig { Line 487  namespace LinuxSampler { namespace gig {
487      }      }
488    
489      void Voice::ProcessGroupEvent(RTList<Event>::Iterator& itEvent) {      void Voice::ProcessGroupEvent(RTList<Event>::Iterator& itEvent) {
490          dmsg(4,("Voice %x processGroupEvents event type=%d", this, itEvent->Type));          dmsg(4,("Voice %p processGroupEvents event type=%d", (void*)this, itEvent->Type));
491    
492          // TODO: The SustainPedal condition could be wrong, maybe the          // TODO: The SustainPedal condition could be wrong, maybe the
493          // check should be if this Voice is in release stage or is a          // check should be if this Voice is in release stage or is a
# Line 500  namespace LinuxSampler { namespace gig { Line 500  namespace LinuxSampler { namespace gig {
500          // -- Christian, 2013-01-08          // -- Christian, 2013-01-08
501          if (itEvent->Param.Note.Key != MIDIKey /*||          if (itEvent->Param.Note.Key != MIDIKey /*||
502              !GetGigEngineChannel()->SustainPedal*/) {              !GetGigEngineChannel()->SustainPedal*/) {
503              dmsg(4,("Voice %x - kill", this));              dmsg(4,("Voice %p - kill", (void*)this));
504    
505              // kill the voice fast              // kill the voice fast
506              pEG1->enterFadeOutStage();              pEG1->enterFadeOutStage();

Legend:
Removed from v.2836  
changed lines
  Added in v.2837

  ViewVC Help
Powered by ViewVC