Hey, guys. Here is my code from the process block. The problem is, that when I fill buffer with method addEvent(), timestamps are ignored and when I am testing my program in host, all of the events are executed immidiately ignoring timestamps and sample numbers. Could you help to define, what the problem is.
P.S: i ve already checked timestamps of messages and they are abcolutely right.
for (int i = 0; i < sequence.getNumEvents(); i++)
m = sequence.getEventPointer(i)->message;
ourBuffer.addEvent(m, m.getTimeStamp() * 44100);