Logo Search packages:      
Sourcecode: canorus version File versions  Download package

CAPlayable * CAVoice::nextPlayable ( int  timeStart  ) 

Returns a pointer to the next playable element with the strictly higher timeStart than the given one. Returns 0, if the such a note doesn't exist.

Definition at line 766 of file voice.cpp.

Referenced by CAMainWin::deleteSelection().

      int i;
      for (i=0;
           i<_musElementList.size() &&
            (!_musElementList[i]->isPlayable() ||

      if (i<_musElementList.size())
            return static_cast<CAPlayable*>(_musElementList[i]);
            return 0;

Generated by  Doxygen 1.6.0   Back to index