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 3e46b5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/library/autodj/autodjprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,11 +780,11 @@ void AutoDJProcessor::playerPositionChanged(DeckAttributes* pAttributes,
m_transitionProgress = 0.0;
emitAutoDJStateChanged(m_eState);

const double toDeckFadeDisatance =
const double toDeckFadeDistance =
(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) {
if (otherDeck->playPosition() >= otherDeck->fadeBeginPos - toDeckFadeDistance) {
otherDeck->setPlayPosition(otherDeck->startPos);
}

Expand Down

0 comments on commit 3e46b5f

Please sign in to comment.