The description of getNextEvent (MidiMessage& result, int& samplePosition)

The description of

bool getNextEvent (MidiMessage& result, int& samplePosition) says

"@param result  on return, this will be the message (the MidiMessage's timestamp is not set)"

whereas the code looks like

..

result = MidiMessage (data + sizeof (int32) + sizeof (uint16), itemSize, samplePosition);

..

i.e the timstamp is set

Ah, so it is! I guess that comment's out-of-date, I'll sort it out, thanks!