Skip to content

Commit e65b1f7

Browse files
committed
DeckAttributes: Add DeckAttributes::kSkipToNextTrack for use in AutoDJProcessor
1 parent 1f4bdf0 commit e65b1f7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/library/autodj/track/deckattributes.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ class DeckAttributes : public QObject {
1616
/// should start playing from its current position.
1717
static constexpr double kKeepPosition = -1.0;
1818

19+
/// Special value for startPos that indicates a track
20+
/// should be skipped because it is too short.
21+
static constexpr double kSkipToNextTrack = -2.0;
22+
1923
DeckAttributes(int index,
2024
BaseTrackPlayer* pPlayer);
2125
virtual ~DeckAttributes();

0 commit comments

Comments
 (0)