diff --git a/src/library/autodj/autodjprocessor.cpp b/src/library/autodj/autodjprocessor.cpp index e6b08ee495ff..949aeb376ee2 100644 --- a/src/library/autodj/autodjprocessor.cpp +++ b/src/library/autodj/autodjprocessor.cpp @@ -696,7 +696,8 @@ void AutoDJProcessor::playerPositionChanged(DeckAttributes* pAttributes, // At least right deck is playing // Set crossfade thresholds for right deck. if (sDebug) { - qDebug() << this << "playerPositionChanged" << "right deck playing"; + qDebug() << this << "playerPositionChanged" + << "right deck playing"; } calculateTransition(rightDeck, leftDeck, false); } @@ -745,7 +746,8 @@ void AutoDJProcessor::playerPositionChanged(DeckAttributes* pAttributes, // Don't adjust transition when reaching the end. In this case it is // always stopped. if (sDebug) { - qDebug() << this << "playerPositionChanged" << "cueing seek"; + qDebug() << this << "playerPositionChanged" + << "cueing seek"; } calculateTransition(otherDeck, thisDeck, false); } else if (thisDeck->isRepeat()) { @@ -973,11 +975,10 @@ void AutoDJProcessor::playerPlayChanged(DeckAttributes* thisDeck, bool playing) calculateTransition(thisDeck, getOtherDeck(thisDeck), false); } } else { - // Deck paused - // This may happen if the user has previously pressed play on the "to deck" - // before fading, for example to adjust the intro/outro cues, and lets the - // deck play until the end, seek back to the start point instead of keeping - // the deck stopped at the end. + // Deck paused + // This may happen if the user has previously pressed play on the "to deck" + // before fading, for example to adjust the intro/outro cues, and lets the + // deck play until the end, seek back to the start point instead of keeping if (thisDeck->playPosition() >= 1.0 && !thisDeck->isFromDeck) { // toDeck has stopped at the end. Recalculate the transition, because // it has been done from a now irrelevant previous position.