mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 14:16:31 +01:00
connect trackmeters to existing I/O change signals
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2702 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c2b9f932c4
commit
c60e0e6a32
2 changed files with 8 additions and 0 deletions
|
|
@ -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 ();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ public:
|
|||
void show_meter ();
|
||||
void reset_meter ();
|
||||
void clear_meter ();
|
||||
void io_changed (ARDOUR::IOChange, void *);
|
||||
void meter_changed (void *);
|
||||
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue