diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-01 21:28:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-01 21:28:31 +0000 |
commit | b6d418f3c292a3e8720f940afb5085ca5ea84d48 (patch) | |
tree | 334b9807e36eef411d2e3cb629ac7183d1b7b78e /libs/ardour/session_midi.cc | |
parent | 66ee16d7c867fc6243721a774602f19987409958 (diff) |
make ALSA MIDI I/O work with timestamps; more MTC debug tracing
git-svn-id: svn://localhost/ardour2/branches/3.0@6258 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_midi.cc')
-rw-r--r-- | libs/ardour/session_midi.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index 45642749e2..d205cc1ca8 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -1173,6 +1173,9 @@ Session::midi_thread_work () break; } + + nframes64_t now = engine().frame_time(); + DEBUG_TRACE (DEBUG::MidiIO, "MIDI thread awake\n"); fds_ready = 0; @@ -1260,7 +1263,7 @@ Session::midi_thread_work () if (pfd[p].revents & POLLIN) { DEBUG_TRACE (DEBUG::MidiIO, string_compose ("MIDI fd # %1 has data ready\n", p)); fds_ready++; - ports[p]->parse (); + ports[p]->parse (now); } } |