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

Diff of /linuxsampler/trunk/src/engines/sfz/Engine.cpp

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

revision 2027 by iliev, Tue Nov 3 19:27:42 2009 UTC revision 2058 by persson, Sun Feb 14 11:40:49 2010 UTC
# Line 79  namespace LinuxSampler { namespace sfz { Line 79  namespace LinuxSampler { namespace sfz {
79          int      bend     = pChannel->Pitch;          int      bend     = pChannel->Pitch;
80          uint8_t  chanaft  = pChannel->ControllerTable[128];          uint8_t  chanaft  = pChannel->ControllerTable[128];
81          uint8_t* cc       = pChannel->ControllerTable;          uint8_t* cc       = pChannel->ControllerTable;
82          ::sfz::trigger_t trig = TRIGGER_ATTACK;          ::sfz::trigger_t trig = TRIGGER_ATTACK |
83                  ((pChannel->LastKey != -1 &&
84                    pChannel->PressedKeys[pChannel->LastKey] &&
85                    pChannel->LastKey != key) ?
86                   TRIGGER_LEGATO : TRIGGER_FIRST);
87    
88          pChannel->regionsTemp = pChannel->pInstrument->GetRegionsOnKey (          pChannel->regionsTemp = pChannel->pInstrument->GetRegionsOnKey (
89              chan, key, vel, bend, 0, chanaft, 0, 0, 0, trig, cc,              chan, key, vel, bend, 0, chanaft, 0, 0, 0, trig, cc,
# Line 165  namespace LinuxSampler { namespace sfz { Line 169  namespace LinuxSampler { namespace sfz {
169      }      }
170    
171      String Engine::Version() {      String Engine::Version() {
172          String s = "$Revision: 1.2 $";          String s = "$Revision: 1.3 $";
173          return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword          return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword
174      }      }
175    

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

  ViewVC Help
Powered by ViewVC