diff --git a/src/detail/vst3/process.cpp b/src/detail/vst3/process.cpp index 2e25faa3..2427afab 100644 --- a/src/detail/vst3/process.cpp +++ b/src/detail/vst3/process.cpp @@ -225,8 +225,8 @@ void ProcessAdapter::process(Steinberg::Vst::ProcessData& data) _transport.song_pos_beats = 0; // samplerate and projectTimeSamples are always valid - _transport.song_pos_seconds = - _vstdata->processContext->projectTimeSamples / _vstdata->processContext->sampleRate; + _transport.song_pos_seconds = doubleToSecTime(_vstdata->processContext->projectTimeSamples / + _vstdata->processContext->sampleRate); if ((_vstdata->processContext->state & Vst::ProcessContext::kProjectTimeMusicValid)) {