Audacity 3.2.0
Functions
anonymous_namespace{Snap.cpp} Namespace Reference

Functions

SnapPointArray FindCandidates (SnapPointArray candidates, const TrackList &tracks)
 

Function Documentation

◆ FindCandidates()

SnapPointArray anonymous_namespace{Snap.cpp}::FindCandidates ( SnapPointArray  candidates,
const TrackList tracks 
)

Definition at line 45 of file Snap.cpp.

47{
48 for (const auto track : tracks)
49 for (const auto &interval : track->Intervals()) {
50 candidates.emplace_back(interval->Start(), track);
51 if (interval->Start() != interval->End())
52 candidates.emplace_back(interval->End(), track);
53 }
54 return move(candidates);
55}
const auto tracks

References tracks.