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

Method PasteInto

libraries/lib-label-track/LabelTrack.cpp:158–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158Track::Holder LabelTrack::PasteInto(AudacityProject &, TrackList &list) const
159{
160 auto pNewTrack = std::make_shared<LabelTrack>();
161 pNewTrack->Init(*this);
162 pNewTrack->Paste(0.0, *this);
163 list.Add(pNewTrack);
164 return pNewTrack;
165}
166
167size_t LabelTrack::NIntervals() const
168{

Callers

nothing calls this directly

Calls 3

InitMethod · 0.45
PasteMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected