summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_tracer.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-02-06 17:19:59 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-02-06 17:19:59 +0000
commit5252c77d94ab6e0005322dc90a1ec2d2f1226495 (patch)
treece2752c70d05e372342388e89b333c123b661b32 /gtk2_ardour/midi_tracer.h
parent009c7a9e44d65184d6b6c613569decc9d93fb490 (diff)
add delta-time option to MIDI tracer window. note that its not incredibly accurate or useful right now, because timestamps come from the system clock and are taken when the data is read/written to the port buffer, not its actual timestamp within the buffer
git-svn-id: svn://localhost/ardour2/branches/3.0@11458 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_tracer.h')
-rw-r--r--gtk2_ardour/midi_tracer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_tracer.h b/gtk2_ardour/midi_tracer.h
index 0b195bf31e..682217be5b 100644
--- a/gtk2_ardour/midi_tracer.h
+++ b/gtk2_ardour/midi_tracer.h
@@ -34,10 +34,12 @@ class MidiTracer : public ArdourWindow
Gtk::SpinButton line_count_spinner;
Gtk::Label line_count_label;
Gtk::HBox line_count_box;
-
+ struct timeval _last_receipt;
+
bool autoscroll;
bool show_hex;
bool collect;
+ bool show_delta_time;
/** Incremented when an update is requested, decremented when one is handled; hence
* equal to 0 when an update is not queued. May temporarily be negative if a
@@ -55,11 +57,13 @@ class MidiTracer : public ArdourWindow
Gtk::CheckButton autoscroll_button;
Gtk::CheckButton base_button;
Gtk::CheckButton collect_button;
+ Gtk::CheckButton delta_time_button;
Gtk::ComboBoxText _port_combo;
void base_toggle ();
void autoscroll_toggle ();
void collect_toggle ();
+ void delta_toggle ();
void port_changed ();
void ports_changed ();