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

Method ClearRight

libraries/lib-wave-track/WaveClip.cpp:1333–1344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1331}
1332
1333void WaveClip::ClearRight(double t)
1334{
1335 if (t > GetPlayStartTime() && t < GetPlayEndTime())
1336 {
1337 Transaction transaction{ *this };
1338 ClearSequence(t, GetSequenceEndTime())
1339 .Commit();
1340 transaction.Commit();
1341 SetTrimRight(.0);
1342 MarkChanged();
1343 }
1344}
1345
1346auto WaveClip::ClearSequence(double t0, double t1) -> ClearSequenceFinisher
1347{

Callers 3

GetRenderedCopyFunction · 0.80
DiscardTrimmedMethod · 0.80

Calls 1

CommitMethod · 0.45

Tested by

no test coverage detected