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

Method CleanState

libraries/lib-time-track/TimeTrack.cpp:52–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void TimeTrack::CleanState()
53{
54 mEnvelope = std::make_unique<BoundedEnvelope>(true, TIMETRACK_MIN, TIMETRACK_MAX, 1.0);
55
56 SetRangeLower( 0.2 );
57 SetRangeUpper( 2.0 );
58 mDisplayLog = false;
59
60 mEnvelope->SetTrackLen(DBL_MAX);
61 mEnvelope->SetOffset(0);
62
63 //Time track is always unique
64 SetName(GetDefaultName());
65}
66
67TimeTrack::TimeTrack(const TimeTrack &orig, ProtectedCreationArg &&a,
68 double *pT0, double *pT1

Callers 1

PasteIntoMethod · 0.80

Calls 2

SetTrackLenMethod · 0.80
SetOffsetMethod · 0.80

Tested by

no test coverage detected