diff options
author | Carl Hetherington <carl@carlh.net> | 2007-10-10 14:49:25 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2007-10-10 14:49:25 +0000 |
commit | 796bfc025e4c4e4fa7c2659e57af6cde13319af8 (patch) | |
tree | 57656a9c4ec8392711f4d47ae3b32409a03ffad7 /libs/ardour/ardour/io.h | |
parent | cf1adb02db2e51c8ca96169b91d84a18b512f64f (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.h | 3 |
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(); |