diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-01 18:31:00 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-01 18:31:00 +0000 |
commit | b825b86862223862f2cd23e08d204b2de657b4b7 (patch) | |
tree | 3d0459a362000625c82d51886d0b9ba3b79f1201 /libs/midi++2/parser.cc | |
parent | ce2d9cb4aacae917fd9117d923f124a8d5ecde2d (diff) |
generalize hans' midi_clock_timestamp to be a general timestamp for incoming MIDI data (from JACK); make JACK_MidiPort::read() abort, because it should never ever be called; make JACK_MidiPort::~JackMIDIPort() unregister ports when it is destroyed; pass along the timestamp to MTC qtr and full signals
git-svn-id: svn://localhost/ardour2/branches/3.0@6254 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2/parser.cc')
-rw-r--r-- | libs/midi++2/parser.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/midi++2/parser.cc b/libs/midi++2/parser.cc index 8f416a9717..6daed45d23 100644 --- a/libs/midi++2/parser.cc +++ b/libs/midi++2/parser.cc @@ -538,16 +538,16 @@ Parser::realtime_msg(unsigned char inbyte) switch (inbyte) { case 0xf8: - timing (*this, _midi_clock_timestamp); + timing (*this, _timestamp); break; case 0xfa: - start (*this, _midi_clock_timestamp); + start (*this, _timestamp); break; case 0xfb: - contineu (*this, _midi_clock_timestamp); + contineu (*this, _timestamp); break; case 0xfc: - stop (*this, _midi_clock_timestamp); + stop (*this, _timestamp); break; case 0xfe: /* !!! active sense message in realtime_msg: should not reach here |