Logo Search packages:      
Sourcecode: ultrastar-ng version File versions  Download package

unsigned int CLyrics::getStartTime ( int  sentence  )  [private]

Get the start timestamp of a sentence

Definition at line 139 of file lyrics.cpp.

References getTimestampFromBeat().

Referenced by updateSentences().

      if( sentence < 0 )
            return 0;
      if( (unsigned int) sentence >= formatedLyrics.size() )
            return UINT_MAX;
      return getTimestampFromBeat( formatedLyrics[sentence][0]->timestamp );

Generated by  Doxygen 1.6.0   Back to index