Skip to content

Commit

Permalink
Merge pull request #4389 from daschuer/synclock-audiblephase
Browse files Browse the repository at this point in the history
Fix debug assertion when the only playing track has no beats
  • Loading branch information
Be-ing authored Oct 13, 2021
2 parents 05b9582 + 5ab0157 commit 521e2da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engine/sync/enginesync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,10 @@ void EngineSync::reinitLeaderParams(Syncable* pSource) {
mixxx::Bpm bpm = pSource->getBpm();
if (!bpm.isValid()) {
bpm = baseBpm;
if (!bpm.isValid()) {
// This happens if the deck is the only playing one but the track has no beats
return;
}
}
if (kLogger.traceEnabled()) {
kLogger.trace() << "BaseSyncableListener::reinitLeaderParams, source is"
Expand Down

0 comments on commit 521e2da

Please sign in to comment.