MCPcopy Create free account
hub / github.com/audacity/audacity / SortedIntervalArray

Method SortedIntervalArray

libraries/lib-wave-track/WaveTrack.cpp:3486–3494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3484}
3485
3486auto WaveTrack::SortedIntervalArray() -> IntervalHolders
3487{
3488 const auto &intervals = Intervals();
3489 IntervalHolders result;
3490 copy(intervals.begin(), intervals.end(), back_inserter(result));
3491 sort(result.begin(), result.end(), [](const auto &pA, const auto &pB){
3492 return pA->GetPlayStartTime() < pB->GetPlayStartTime(); });
3493 return result;
3494}
3495
3496auto WaveTrack::SortedIntervalArray() const -> IntervalConstHolders
3497{

Callers 13

GetClipBoundariesFunction · 0.80
ReverseMethod · 0.80
FindGapsMethod · 0.80
FinalizeMethod · 0.80
FinalizeMethod · 0.80
FindWaveTrackLocationsFunction · 0.80
SendEnvelopesMethod · 0.80
ApplyInnerMethod · 0.80
FindNextClipBoundaryFunction · 0.80
FindPrevClipBoundaryFunction · 0.80
FindNextClipFunction · 0.80

Calls 5

copyFunction · 0.85
IntervalsFunction · 0.70
beginMethod · 0.45
endMethod · 0.45
GetPlayStartTimeMethod · 0.45

Tested by

no test coverage detected