Audacity 3.2.0
TestWaveTrackMaker.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 TestWaveTrackMaker.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
14#include "SampleFormat.h"
15#include "WaveClip.h"
16#include "WaveTrack.h"
17
19{
20public:
22 std::shared_ptr<WaveTrack> Track(const WaveClipHolders& clips) const;
23 std::shared_ptr<WaveTrack> Track(const WaveClipHolder& clip) const;
24
25private:
26 const int mSampleRate;
28};
std::shared_ptr< SampleBlockFactory > SampleBlockFactoryPtr
Definition: SampleBlock.h:31
std::shared_ptr< WaveClip > WaveClipHolder
Definition: WaveClip.h:43
std::vector< WaveClipHolder > WaveClipHolders
Definition: WaveClip.h:45
TestWaveTrackMaker(int sampleRate, SampleBlockFactoryPtr)
std::shared_ptr< WaveTrack > Track(const WaveClipHolders &clips) const
const SampleBlockFactoryPtr mFactory