/[svn]/linuxsampler/trunk/src/engines/common/AbstractVoice.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/AbstractVoice.cpp

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

revision 2963 by schoenebeck, Sun Jul 17 18:41:21 2016 UTC revision 3016 by schoenebeck, Tue Oct 18 21:01:46 2016 UTC
# Line 643  namespace LinuxSampler { Line 643  namespace LinuxSampler {
643       */       */
644      void AbstractVoice::processCCEvents(RTList<Event>::Iterator& itEvent, uint End) {      void AbstractVoice::processCCEvents(RTList<Event>::Iterator& itEvent, uint End) {
645          for (; itEvent && itEvent->FragmentPos() <= End; ++itEvent) {          for (; itEvent && itEvent->FragmentPos() <= End; ++itEvent) {
646              if (itEvent->Type == Event::type_control_change && itEvent->Param.CC.Controller) { // if (valid) MIDI control change event              if ((itEvent->Type == Event::type_control_change || itEvent->Type == Event::type_channel_pressure)
647                    && itEvent->Param.CC.Controller) { // if (valid) MIDI control change event
648                  if (itEvent->Param.CC.Controller == VCFCutoffCtrl.controller) {                  if (itEvent->Param.CC.Controller == VCFCutoffCtrl.controller) {
649                      ProcessCutoffEvent(itEvent);                      ProcessCutoffEvent(itEvent);
650                  }                  }

Legend:
Removed from v.2963  
changed lines
  Added in v.3016

  ViewVC Help
Powered by ViewVC