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

Method InsertInterval

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

Source from the content-addressed store, hash-verified

3422}
3423
3424void WaveTrack::InsertInterval(const IntervalHolder& clip,
3425 bool newClip, bool allowEmpty)
3426{
3427 if (clip) {
3428 constexpr bool backup = false;
3429 InsertClip(mClips, clip, newClip, backup, allowEmpty);
3430 // Detect errors resulting in duplicate shared pointers to clips
3431 assert(ClipsAreUnique(mClips));
3432 }
3433}
3434
3435void WaveTrack::RemoveInterval(const IntervalHolder& interval)
3436{

Callers 8

ReverseMethod · 0.80
TrackMethod · 0.80
HandleWaveClipMethod · 0.80
DoRecordMethod · 0.80
AttachMethod · 0.80
doRecordMethod · 0.80

Calls 1

ClipsAreUniqueFunction · 0.85

Tested by 1

TrackMethod · 0.64