| 187 | } |
| 188 | |
| 189 | std::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 | } |