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

Method Create

libraries/lib-stretching-sequence/StretchingSequence.cpp:189–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189std::shared_ptr<StretchingSequence> StretchingSequence::Create(
190 const PlayableSequence& sequence, const ClipConstHolders& clips)
191{
192 const int sampleRate = sequence.GetRate();
193 return std::make_shared<StretchingSequence>(
194 sequence, sampleRate, sequence.NChannels(),
195 std::make_unique<AudioSegmentFactory>(
196 sampleRate, sequence.NChannels(), clips));
197}

Callers

nothing calls this directly

Calls 2

GetRateMethod · 0.45
NChannelsMethod · 0.45

Tested by

no test coverage detected