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

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

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

revision 1646 by persson, Sun Jan 20 15:04:51 2008 UTC revision 1653 by schoenebeck, Wed Jan 30 01:51:46 2008 UTC
# Line 508  namespace LinuxSampler { namespace gig { Line 508  namespace LinuxSampler { namespace gig {
508              event.pEngineChannel      = this;              event.pEngineChannel      = this;
509              if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);              if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);
510              else dmsg(1,("EngineChannel: Input event queue full!"));              else dmsg(1,("EngineChannel: Input event queue full!"));
511                // inform instrument editor(s), if any ...
512                pEngine->instruments.TrySendNoteOnToEditors(Key, Velocity, pInstrument);
513          }          }
514      }      }
515    
# Line 534  namespace LinuxSampler { namespace gig { Line 536  namespace LinuxSampler { namespace gig {
536              event.pEngineChannel      = this;              event.pEngineChannel      = this;
537              if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);              if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);
538              else dmsg(1,("EngineChannel: Input event queue full!"));              else dmsg(1,("EngineChannel: Input event queue full!"));
539                // inform instrument editor(s), if any ...
540                pEngine->instruments.TrySendNoteOnToEditors(Key, Velocity, pInstrument);
541          }          }
542      }      }
543    
# Line 555  namespace LinuxSampler { namespace gig { Line 559  namespace LinuxSampler { namespace gig {
559              event.pEngineChannel      = this;              event.pEngineChannel      = this;
560              if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);              if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);
561              else dmsg(1,("EngineChannel: Input event queue full!"));              else dmsg(1,("EngineChannel: Input event queue full!"));
562                // inform instrument editor(s), if any ...
563                pEngine->instruments.TrySendNoteOffToEditors(Key, Velocity, pInstrument);
564          }          }
565      }      }
566    
# Line 581  namespace LinuxSampler { namespace gig { Line 587  namespace LinuxSampler { namespace gig {
587              event.pEngineChannel      = this;              event.pEngineChannel      = this;
588              if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);              if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);
589              else dmsg(1,("EngineChannel: Input event queue full!"));              else dmsg(1,("EngineChannel: Input event queue full!"));
590                // inform instrument editor(s), if any ...
591                pEngine->instruments.TrySendNoteOffToEditors(Key, Velocity, pInstrument);
592          }          }
593      }      }
594    

Legend:
Removed from v.1646  
changed lines
  Added in v.1653

  ViewVC Help
Powered by ViewVC