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

Method GetNumSamples

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

Source from the content-addressed store, hash-verified

676}
677
678sampleCount WaveClip::GetNumSamples() const
679{
680 // Assume only the weak invariant
681 sampleCount result = 0;
682 for (auto &pSequence: mSequences)
683 result = std::max(result, pSequence->GetNumSamples());
684 return result;
685}
686
687SampleFormats WaveClip::GetSampleFormats() const
688{

Callers 5

MakeStereoMethod · 0.45
RepairChannelsMethod · 0.45
StrongInvariantMethod · 0.45
FillBufferMethod · 0.45
MakeDefaultDataProviderFunction · 0.45

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected