MidiMessageCollector: bad timestamping


I’ve noticed that the sample position of MidiMessages coming from the MidiMessageCollector always seems to be 255 (for a soundcard block size of 256 samples). I see you’re using the timestamp from the OS that gets delivered by static void CALLBACK midiInCallback (HMIDIIN, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR midiMessage, DWORD_PTR timeStamp). This timestamp from the system seems to be completely useless, or something is wrong with your code. I think I remember having used this timestamp back in the past and it didn’t work the way it should.