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

Function GetRate

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

Source from the content-addressed store, hash-verified

180
181namespace {
182double GetRate(const Track &track) {
183 if (auto pList = track.GetOwner()) {
184 if (auto pProject = pList->GetOwner())
185 return ProjectRate::Get(*pProject).GetRate();
186 }
187 return 44100.0;
188}
189}
190
191void TimeTrack::Clear(double t0, double t1)

Callers 2

ClearMethod · 0.70
PasteMethod · 0.70

Calls 2

GetFunction · 0.85
GetRateMethod · 0.45

Tested by

no test coverage detected