Skip to content

Commit

Permalink
Fix export when rendering looped section multiple times (#5814)
Browse files Browse the repository at this point in the history
Co-authored-by: Hyunjin Song <[email protected]>
  • Loading branch information
DomClark and PhysSong authored Dec 1, 2020
1 parent 9f0dc0f commit 4f74151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ void Song::processNextBuffer()
}

// Handle loop points, and inform VST plugins of the loop status
if (loopEnabled || m_loopRenderRemaining > 1)
if (loopEnabled || (m_loopRenderRemaining > 1 && getPlayPos() >= timeline->loopBegin()))
{
m_vstSyncController.startCycle(
timeline->loopBegin().getTicks(), timeline->loopEnd().getTicks());
Expand Down

0 comments on commit 4f74151

Please sign in to comment.