12namespace tracktion {
inline namespace engine
41 BeatRange range1, range2;
42 bool playing1 =
false, playing2 =
false;
59 BeatRange clipRange, loopRange;
61 bool isLooping =
false;
void start(BeatPosition)
Signifies that the clip has started at a given position.
SplitBeatRange timelineRangeToClipSourceRange(BeatRange) const
Converts a timeline range (e.g.
void stop()
Signifies that the clip should stop.
std::optional< BeatPosition > getStart() const
If the clip has been started, this will return that position.
std::optional< float > getProgress(BeatPosition) const
Returns the progress through a clip's source.
Represents two beat ranges that can be split.
Represents a duration in beats.
Represents a position in beats.