Fix metronome playing when song is paused. (#5612)

This commit is contained in:
thmueller64
2020-08-06 18:36:54 +02:00
committed by GitHub
parent b0333b6281
commit df296b7931

View File

@@ -357,7 +357,7 @@ const surroundSampleFrame * Mixer::renderNextBuffer()
currentPlayMode == Song::Mode_PlayBB;
if( playModeSupportsMetronome && m_metronomeActive && !song->isExporting() &&
p != last_metro_pos &&
!song->isPaused() && p != last_metro_pos &&
// Stop crash with metronome if empty project
Engine::getSong()->countTracks() )
{