12#include "MockedAudio.h"
13#include "MockedPrefs.h"
28std::shared_ptr<WaveTrack>
34 for (
const auto& clip : clips)
35 track->InsertInterval(clip,
true);
39std::shared_ptr<WaveTrack>
std::shared_ptr< SampleBlockFactory > SampleBlockFactoryPtr
std::shared_ptr< WaveClip > WaveClipHolder
std::vector< WaveClipHolder > WaveClipHolders
static std::shared_ptr< AudacityProject > Create()
Use this factory function.
TestWaveTrackMaker(int sampleRate, SampleBlockFactoryPtr)
std::shared_ptr< WaveTrack > Track(const WaveClipHolders &clips) const
const SampleBlockFactoryPtr mFactory
static TrackListHolder Create(AudacityProject *pOwner)
static Holder Create(const SampleBlockFactoryPtr &pFactory, sampleFormat format, double rate)
Factory builds all AttachedTrackObjects.
constexpr auto sampleRate