diff --git a/src/timemanager.cxx b/src/timemanager.cxx index 36800da..c5bb8ec 100644 --- a/src/timemanager.cxx +++ b/src/timemanager.cxx @@ -206,12 +206,13 @@ void TimeManager::process(Buffers* buffers) //buffers->transportPosition->beats_per_bar = 4; //buffers->transportPosition->beat_type = 4; + int nframes = buffers->nframes; + if ( transportState == TRANSPORT_STOPPED ) { + totalFrameCounter += nframes; return; } - int nframes = buffers->nframes; -