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

long int QEFileView::marked_area_start ( void   )  const

Returns selection start position in samples

Definition at line 347 of file qefile.cpp.

References current_position(), and is_marked().

Referenced by emit_status(), and is_marked().

  if (waveforms.size() == 0) return(0);
  if (waveforms[0]->is_marked() == true) {
    double pos = waveforms[0]->marked_area_begin();
    return(static_cast<long int>(length_rep * (pos / waveblocks[0].size())));

Generated by  Doxygen 1.6.0   Back to index