diff --git a/src/track/cue.h b/src/track/cue.h index 928d05297697..69536439bce0 100644 --- a/src/track/cue.h +++ b/src/track/cue.h @@ -68,37 +68,10 @@ class Cue : public QObject { mixxx::audio::FramePos getPosition() const; void setStartPosition(mixxx::audio::FramePos position); - void setStartPosition(double samplePosition) { - mixxx::audio::FramePos position; - if (samplePosition != Cue::kNoPosition) { - position = mixxx::audio::FramePos::fromEngineSamplePos(samplePosition); - } - setStartPosition(position); - } void setEndPosition(mixxx::audio::FramePos position); - void setEndPosition(double samplePosition) { - mixxx::audio::FramePos position; - if (samplePosition != Cue::kNoPosition) { - position = mixxx::audio::FramePos::fromEngineSamplePos(samplePosition); - } - setEndPosition(position); - } void setStartAndEndPosition( mixxx::audio::FramePos startPosition, mixxx::audio::FramePos endPosition); - void setStartAndEndPosition( - double sampleStartPosition, - double sampleEndPosition) { - mixxx::audio::FramePos startPosition; - mixxx::audio::FramePos endPosition; - if (sampleStartPosition != Cue::kNoPosition) { - startPosition = mixxx::audio::FramePos::fromEngineSamplePos(sampleStartPosition); - } - if (sampleEndPosition != Cue::kNoPosition) { - endPosition = mixxx::audio::FramePos::fromEngineSamplePos(sampleEndPosition); - } - setStartAndEndPosition(startPosition, endPosition); - } void shiftPositionFrames(mixxx::audio::FrameDiff_t frameOffset); mixxx::audio::FrameDiff_t getLengthFrames() const;