}
void
-Parser::trace_event (Parser &, MIDI::byte *msg, size_t len)
+Parser::trace_event (Parser &, MIDI::byte *msg, size_t len, samplecnt_t /*when*/)
{
eventType type;
ostream *o;
if (onoff) {
trace_stream = o;
trace_prefix = prefix;
- any.connect_same_thread (trace_connection, boost::bind (&Parser::trace_event, this, _1, _2, _3));
+ any.connect_same_thread (trace_connection, boost::bind (&Parser::trace_event, this, _1, _2, _3, _4));
} else {
trace_prefix = "";
trace_stream = 0;
}
}
if (!_offline) {
- any (*this, msgbuf, msgindex);
+ any (*this, msgbuf, msgindex, _timestamp);
}
}
}
break;
}
- any (*this, &inbyte, 1);
+ any (*this, &inbyte, 1, _timestamp);
}
// all these messages will be sent via any()
// when they are complete.
- // any (*this, &inbyte, 1);
+ // any (*this, &inbyte, 1, _timestamp);
}
void
break;
}
- any (*this, msg, len);
+ any (*this, msg, len, _timestamp);
}
bool