diff options
Diffstat (limited to 'gtk2_ardour/midi_tracer.h')
-rw-r--r-- | gtk2_ardour/midi_tracer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_tracer.h b/gtk2_ardour/midi_tracer.h index a221152cd7..83e99ef979 100644 --- a/gtk2_ardour/midi_tracer.h +++ b/gtk2_ardour/midi_tracer.h @@ -56,7 +56,7 @@ private: Gtk::SpinButton line_count_spinner; Gtk::Label line_count_label; Gtk::HBox line_count_box; - struct timeval _last_receipt; + MIDI::samplecnt_t _last_receipt; bool autoscroll; bool show_hex; @@ -72,7 +72,7 @@ private: Pool buffer_pool; static const size_t buffer_size = 256; - void tracer (MIDI::Parser&, MIDI::byte*, size_t); + void tracer (MIDI::Parser&, MIDI::byte*, size_t, MIDI::samplecnt_t); void update (); Gtk::CheckButton autoscroll_button; @@ -91,6 +91,7 @@ private: void disconnect (); PBD::ScopedConnection _parser_connection; PBD::ScopedConnection _manager_connection; + MIDI::Parser my_parser; boost::shared_ptr<ARDOUR::MidiPort> traced_port; }; |