13
0

change type of MIDI::Parser::position signal to include timestamp

This commit is contained in:
Paul Davis 2018-09-25 17:46:49 -04:00
parent 0f7123d33a
commit 147d456dbd
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ class Parser;
typedef PBD::Signal1<void,Parser&> ZeroByteSignal;
typedef PBD::Signal2<void,Parser&,unsigned short> BankSignal;
typedef PBD::Signal2<void,Parser&,samplecnt_t> TimestampedSignal;
typedef PBD::Signal2<void,Parser&,samplecnt_t> TimestampedSignal;
typedef PBD::Signal2<void,Parser&, byte> OneByteSignal;
typedef PBD::Signal2<void,Parser &, EventTwoBytes *> TwoByteSignal;
typedef PBD::Signal2<void,Parser &, pitchbend_t> PitchBendSignal;
@ -90,7 +90,7 @@ class LIBMIDIPP_API Parser {
AnySignal any;
Signal sysex;
Signal mmc;
Signal position;
AnySignal position;
Signal song;
ZeroByteSignal all_notes_off;

View File

@ -749,7 +749,7 @@ Parser::signal (MIDI::byte *msg, size_t len)
break;
case MIDI::position:
position (*this, msg, len);
position (*this, msg, len, _timestamp);
break;
case MIDI::song: