remove final reference to jack headers
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 10 Apr 2014 14:14:45 +0000 (10:14 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 10 Apr 2014 14:14:45 +0000 (10:14 -0400)
gtk2_ardour/editor_markers.cc
gtk2_ardour/public_editor.h

index 1b937dad7d597b2ae84648b6bd3a12f8598fb68a..3cf3ef83b7a5fe53a7bf3c309a31d4bf1a7225be 100644 (file)
@@ -1469,7 +1469,7 @@ Editor::update_punch_range_view ()
 
                if (_session->config.get_punch_in()) {
                        transport_punch_range_rect->set_x0 (sample_to_pixel (tpl->start()));
-                       transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : sample_to_pixel (JACK_MAX_FRAMES));
+                       transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : sample_to_pixel (max_framepos));
                } else {
                        transport_punch_range_rect->set_x0 (0);
                        transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : v.width ());
index 9a1af4b5776aeec8fdc0d16f7f5f00c4df9f063d..f3b76e93100ab4a2b790dd9c43e9c6583cce049e 100644 (file)
@@ -32,7 +32,6 @@
 #include <gtkmm/box.h>
 #include <gtkmm/window.h>
 #include <gtkmm/actiongroup.h>
-#include <jack/types.h>
 #include <sigc++/signal.h>
 
 #include "evoral/types.hpp"