13
0

Make sure VST3 projectTimeMusic is updated

This commit is contained in:
luna 2020-11-20 11:27:51 +11:00 committed by Robin Gareus
parent 734dc78ed5
commit 8f00826803
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -629,6 +629,7 @@ VST3Plugin::connect_and_run (BufferSet& bufs,
context.tempo = t.quarter_notes_per_minute (); context.tempo = t.quarter_notes_per_minute ();
context.timeSigNumerator = ms.divisions_per_bar (); context.timeSigNumerator = ms.divisions_per_bar ();
context.timeSigDenominator = ms.note_divisor (); context.timeSigDenominator = ms.note_divisor ();
context.projectTimeMusic = tmap.quarter_note_at_sample_rt (start);
} }
const double tcfps = _session.timecode_frames_per_second (); const double tcfps = _session.timecode_frames_per_second ();