Skip to content

Commit

Permalink
Sync Lock: make sure beatsync control is momentary
Browse files Browse the repository at this point in the history
  • Loading branch information
ywwg committed Oct 7, 2021
1 parent 188a1cb commit 028e849
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/engine/sync/synccontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,10 @@ void SyncControl::slotControlBeatSyncTempo(double value) {
}

void SyncControl::slotControlBeatSync(double value) {
m_pSyncEnabled->setAndConfirm(value > 0);
if (value > 0) {
m_pChannel->getEngineBuffer()->requestEnableSync(true);
m_pChannel->getEngineBuffer()->requestEnableSync(false);
}
}

void SyncControl::slotControlPlay(double play) {
Expand Down

0 comments on commit 028e849

Please sign in to comment.