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

double csound::Score::indexToTime ( size_t  index  )  [virtual]

Return the time of the first event at or after the specified index; if the index is not found, return DBL_MAX.

Definition at line 968 of file Score.cpp.

    double time = DBL_MAX;
    if (index >= 0 && index < size()) {
      time = (*this)[index].getTime();
    return time;

Generated by  Doxygen 1.6.0   Back to index