From 8483acb705d268234e6b1c8438eca5bd0e86d003 Mon Sep 17 00:00:00 2001 From: Wong Cho Ching Date: Fri, 31 Jan 2014 21:17:57 +0800 Subject: [PATCH] Exporting: fixes LFO sync --- src/core/LfoController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/LfoController.cpp b/src/core/LfoController.cpp index 1d6f36190..2ba7d4e18 100644 --- a/src/core/LfoController.cpp +++ b/src/core/LfoController.cpp @@ -83,7 +83,7 @@ float LfoController::value( int _offset ) int frame = runningFrames() + _offset + m_phaseCorrection; //If the song is playing, sync the value with the time of the song. - if( engine::getSong()->isPlaying() ) + if( engine::getSong()->isPlaying() || engine::getSong()->isExporting() ) { // The new duration in frames // (Samples/Second) / (periods/second) = (Samples/cycle)