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

Diff of /linuxsampler/trunk/src/engines/AbstractEngineChannel.cpp

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

revision 2883 by schoenebeck, Tue Apr 19 14:07:53 2016 UTC revision 2884 by schoenebeck, Wed Apr 20 15:22:58 2016 UTC
# Line 888  namespace LinuxSampler { Line 888  namespace LinuxSampler {
888          if (it) pEvents->free(it);          if (it) pEvents->free(it);
889      }      }
890    
     /**  
      * Called by real-time instrument script functions to ignore the note  
      * reflected by given note ID. The note's event will be freed immediately  
      * to its event pool and this will prevent voices to be launched for the  
      * note.  
      *  
      * NOTE: preventing a note by calling this method works only if the note  
      * was launched within the current audio fragment cycle.  
      *  
      * @param id - unique ID of note to be dropped  
      */      
     void AbstractEngineChannel::IgnoreNote(note_id_t id) {  
         NoteBase* pNote = pEngine->NoteByID(id);  
         if (!pNote) return;  
         IgnoreEvent(pNote->eventID);  
     }  
   
891      /** @brief Drop the requested event.      /** @brief Drop the requested event.
892       *       *
893       * Called by real-time instrument script functions to ignore the event       * Called by real-time instrument script functions to ignore the event

Legend:
Removed from v.2883  
changed lines
  Added in v.2884

  ViewVC Help
Powered by ViewVC