midiEvent.sampleOffset bug

I add MIDI-out to the VST3-process. I use midiEvent.sampleOffset so that I can distribute in time of the block.

Now the funny thing:

  • when I listen to MIDI in real time with Cubase, the sampleOffset is ignored.
  • when I record the MIDI-stream and play it later, then the offset is correctly there.