Skip to content

Commit

Permalink
Don't quantize against sampler decks
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwg committed Apr 29, 2020
1 parent 75fe8c7 commit fc4bb21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/engine/sync/enginesync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,9 @@ EngineChannel* EngineSync::pickNonSyncSyncTarget(EngineChannel* pDontPick) const
continue;
}

// Only consider channels that have a track loaded and are in the master
// mix.
if (pChannel->isActive() && pChannel->isMasterEnabled()) {
// Only consider channels that have a track loaded, are in the master
// mix, and are primary decks.
if (pChannel->isActive() && pChannel->isMasterEnabled() && pChannel->isPrimaryDeck()) {
EngineBuffer* pBuffer = pChannel->getEngineBuffer();
if (pBuffer && pBuffer->getBpm() > 0) {
// If the deck is playing then go with it immediately.
Expand Down

0 comments on commit fc4bb21

Please sign in to comment.