Audacity 3.2.0
AudioSegmentFactoryInterface.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 AudioSegmentFactoryInterface.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
13#include "SampleCount.h"
14
15#include <memory>
16#include <vector>
17
18class AudioSegment;
19class WaveClip;
20enum class PlaybackDirection;
21
22class STRETCHING_SEQUENCE_API AudioSegmentFactoryInterface
23{
24public:
26
27 virtual std::vector<std::shared_ptr<AudioSegment>>
28 CreateAudioSegmentSequence(double playbackStartTime, PlaybackDirection) = 0;
29};
PlaybackDirection
virtual std::vector< std::shared_ptr< AudioSegment > > CreateAudioSegmentSequence(double playbackStartTime, PlaybackDirection)=0
A generalization for audio segments, whether clips or silence between clips.
Definition: AudioSegment.h:23
This allows multiple clips to be a part of one WaveTrack.
Definition: WaveClip.h:238