Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed May 9, 2022
1 parent c764938 commit 7efc7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/autodj/autodjprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ void AutoDJProcessor::playerPositionChanged(DeckAttributes* pAttributes,

const double toDeckFadeDisatance =
(thisDeck->fadeEndPos - thisDeck->fadeBeginPos) *
getEndSecond(thisDeck) / getEndSecond(thisDeck);
getEndSecond(thisDeck) / getEndSecond(otherDeck);
// Re-cue the track if the user has seeked forward and will miss the fadeBeginPos
if (otherDeck->playPosition() >= otherDeck->fadeBeginPos - toDeckFadeDisatance) {
otherDeck->setPlayPosition(otherDeck->startPos);
Expand Down

0 comments on commit 7efc7af

Please sign in to comment.