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

Diff of /linuxsampler/trunk/src/engines/sfz/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 280  namespace LinuxSampler { namespace sfz { Line 280  namespace LinuxSampler { namespace sfz {
280      }      }
281    
282      void Voice::ProcessGroupEvent(RTList<Event>::Iterator& itEvent) {      void Voice::ProcessGroupEvent(RTList<Event>::Iterator& itEvent) {
283          dmsg(4,("Voice %x processGroupEvents event type=%d", this, itEvent->Type));          dmsg(4,("Voice %p processGroupEvents event type=%d", (void*)this, itEvent->Type));
284          if (itEvent->Type == Event::type_control_change ||          if (itEvent->Type == Event::type_control_change ||
285              (Type & Voice::type_controller_triggered) ||              (Type & Voice::type_controller_triggered) ||
286              itEvent->Param.Note.Key != MIDIKey) {              itEvent->Param.Note.Key != MIDIKey) {
287              dmsg(4,("Voice %x - kill", this));              dmsg(4,("Voice %p - kill", (void*)this));
288              if (pRegion->off_mode == ::sfz::OFF_NORMAL) {              if (pRegion->off_mode == ::sfz::OFF_NORMAL) {
289                  // turn off the voice by entering release envelope stage                  // turn off the voice by entering release envelope stage
290                  EnterReleaseStage();                  EnterReleaseStage();

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

  ViewVC Help
Powered by ViewVC