change type of MIDI::Parser::position signal to include timestamp
This commit is contained in:
parent
0f7123d33a
commit
147d456dbd
@ -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;
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user