summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2007-11-20 02:20:45 +0000
committerDoug McLain <doug@nostar.net>2007-11-20 02:20:45 +0000
commitc60e0e6a32e1df2a3d1bdd96739d03fc683ca5ca (patch)
tree9d5b0e1f160961df04c5ffae354debba26cee77c /gtk2_ardour/route_time_axis.cc
parentc2b9f932c434e38e91db0ac2e17d08e207375176 (diff)
connect trackmeters to existing I/O change signals
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2702 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 7c2eec941a..d9acf6bdc1 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -153,6 +153,8 @@ RouteTimeAxisView::RouteTimeAxisView (PublicEditor& ed, Session& sess, boost::sh
controls_hbox.pack_end(gpm);
_route->meter_change.connect (mem_fun(*this, &RouteTimeAxisView::meter_changed));
+ _route->input_changed.connect (mem_fun(*this, &RouteTimeAxisView::io_changed));
+ _route->output_changed.connect (mem_fun(*this, &RouteTimeAxisView::io_changed));
controls_table.attach (*mute_button, 5, 6, 0, 1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND, 0, 0);
controls_table.attach (*solo_button, 6, 7, 0, 1, Gtk::FILL|Gtk::EXPAND, Gtk::FILL|Gtk::EXPAND, 0, 0);
@@ -1822,3 +1824,8 @@ RouteTimeAxisView::meter_changed (void *src)
reset_meter();
}
+void
+RouteTimeAxisView::io_changed (IOChange change, void *src)
+{
+ reset_meter ();
+}