25 for (
const auto clip : clips)
26 num += clip->NumCutLines();
32 locations.reserve(num);
37 for (
const auto clip: clips) {
38 for (
const auto &cc : clip->GetCutLines()) {
39 auto cutlinePosition =
40 clip->GetSequenceStartTime() + cc->GetSequenceStartTime();
41 if (clip->WithinPlayRegion(cutlinePosition)) {
43 locations.emplace_back(cutlinePosition);
51 assert(curpos == num);
WaveTrackLocations FindWaveTrackLocations(const WaveTrack &track)
std::vector< WaveTrackLocation > WaveTrackLocations
A Track that contains audio waveform data.
IntervalHolders SortedIntervalArray()
Return all WaveClips sorted by clip play start time.