summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/io.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2007-10-10 14:49:25 +0000
committerCarl Hetherington <carl@carlh.net>2007-10-10 14:49:25 +0000
commit796bfc025e4c4e4fa7c2659e57af6cde13319af8 (patch)
tree57656a9c4ec8392711f4d47ae3b32409a03ffad7 /libs/ardour/ardour/io.h
parentcf1adb02db2e51c8ca96169b91d84a18b512f64f (diff)
Make sure we notice when an IO's port count is reduced as well as when it's increased. Fixes an assertion failure when removing a port from an IO with 3 existing ports.
git-svn-id: svn://localhost/ardour2/trunk@2537 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/io.h')
-rw-r--r--libs/ardour/ardour/io.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h
index a0b9df3c04..6c040be63e 100644
--- a/libs/ardour/ardour/io.h
+++ b/libs/ardour/ardour/io.h
@@ -204,7 +204,8 @@ class IO : public Automatable, public Latent
static sigc::signal<int> PortsLegal;
static sigc::signal<int> PannersLegal;
static sigc::signal<int> ConnectingLegal;
- static sigc::signal<void,ChanCount> MoreChannels;
+ /// raised when the number of input or output ports changes
+ static sigc::signal<void,ChanCount> PortCountChanged;
static sigc::signal<int> PortsCreated;
static void update_meters();