1
0
Fork 0

Clarify the input event timing handling in VST3

This commit is contained in:
Robbert van der Helm 2022-07-04 22:45:52 +02:00
parent 1bbb56151d
commit 7ea2851775

View file

@ -1079,6 +1079,9 @@ impl<P: Vst3Plugin> IAudioProcessor for Wrapper<P> {
&mut value,
) == kResultOk
{
// Later this timing will be compensated for block splits by calling
// `event.subtract_timing(block_start)` before it is passed to the
// plugin
let timing = sample_offset as u32;
let value = value as f32;