File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1699,10 +1699,9 @@ void AutoDJProcessor::playerOrientationChanged(DeckAttributes* pAttributes) {
16991699 }
17001700
17011701 if (m_eState != ADJ_DISABLED ) {
1702- // Disable and Enable auto DJ. We will likely fail to enable auto DJ
1703- // but that will pop up an error to explain the situation to the user.
1702+ // Disable auto DJ and emit the error explaining that we no longer have two valid decks.
17041703 toggleAutoDJ (false );
1705- toggleAutoDJ ( true );
1704+ emit autoDJError ( ADJ_NOT_TWO_DECKS );
17061705 }
17071706}
17081707
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ class AutoDJProcessor : public QObject {
162162 ADJ_QUEUE_EMPTY ,
163163 ADJ_BOTH_DECKS_PLAYING ,
164164 ADJ_UNUSED_DECK_PLAYING ,
165- ADJ_NOT_TWO_DECKS
165+ ADJ_NOT_TWO_DECKS ,
166166 };
167167
168168 enum class TransitionMode {
You can’t perform that action at this time.
0 commit comments