Why is the sendMessageNow(const MidiMessage&) timestamped?


#1

Hi,

why is the MIDI message timestamped?

void MidiOutput::sendMessageNow (const MidiMessage& message)
{
   #if JUCE_IOS
    const MIDITimeStamp timeStamp = mach_absolute_time();
   #else
    const MIDITimeStamp timeStamp = AudioGetCurrentHostTime();
   #endif

...
   p->timeStamp = timeStamp;
}

The doc says: 0 == now.

This works also...

p->timeStamp = 0;

Just a question.

Cheers