TracktionEngine
|
Represents a time range in an Edit stored as either time or beats. More...
Public Member Functions | |
EditTimeRange (TimeRange) | |
Creates an EditTimeRange from a TimeRange. More... | |
EditTimeRange (BeatRange) | |
Creates an EditTimeRange from a BeatRange. More... | |
bool | isBeats () const |
Returns true if the time is stored as beats, false if stored as a TimePosition. More... | |
Represents a time range in an Edit stored as either time or beats.
This is basically a variant to simplify APIs that can accept either time base.
tracktion::engine::EditTimeRange::EditTimeRange | ( | TimeRange | r | ) |
Creates an EditTimeRange from a TimeRange.
tracktion::engine::EditTimeRange::EditTimeRange | ( | BeatRange | r | ) |
Creates an EditTimeRange from a BeatRange.
bool tracktion::engine::EditTimeRange::isBeats | ( | ) | const |
Returns true if the time is stored as beats, false if stored as a TimePosition.