summaryrefslogtreecommitdiff
path: root/libs/ardour/track.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r--libs/ardour/track.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc
index f1e2c86a1b..74125c2b62 100644
--- a/libs/ardour/track.cc
+++ b/libs/ardour/track.cc
@@ -132,6 +132,8 @@ Track::init ()
_input->changed.connect_same_thread (*this, boost::bind (&Track::input_changed, this));
+ _disk_reader->ConfigurationChanged.connect_same_thread (*this, boost::bind (&Track::chan_count_changed, this));
+
return 0;
}
@@ -143,6 +145,12 @@ Track::input_changed ()
}
}
+void
+Track::chan_count_changed ()
+{
+ ChanCountChanged (); /* EMIT SIGNAL */
+}
+
XMLNode&
Track::state (bool save_template)
{