Skip to content

Commit 4f74151

Browse files
DomClarkPhysSong
andauthored
Fix export when rendering looped section multiple times (#5814)
Co-authored-by: Hyunjin Song <tteu.ingog@gmail.com>
1 parent 9f0dc0f commit 4f74151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Song.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ void Song::processNextBuffer()
295295
}
296296

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

0 commit comments

Comments
 (0)