mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Support for the port matrix working at the bundle level and hiding details of ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@5029 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7e48118bf1
commit
1ae39840b3
19 changed files with 560 additions and 256 deletions
|
|
@ -67,17 +67,17 @@ BundleEditorMatrix::set_state (ARDOUR::BundleChannel c[2], bool s)
|
|||
}
|
||||
}
|
||||
|
||||
PortMatrix::State
|
||||
PortMatrixNode::State
|
||||
BundleEditorMatrix::get_state (ARDOUR::BundleChannel c[2]) const
|
||||
{
|
||||
ARDOUR::Bundle::PortList const& pl = c[OTHER].bundle->channel_ports (c[OTHER].channel);
|
||||
for (ARDOUR::Bundle::PortList::const_iterator i = pl.begin(); i != pl.end(); ++i) {
|
||||
if (!c[OURS].bundle->port_attached_to_channel (c[OURS].channel, *i)) {
|
||||
return NOT_ASSOCIATED;
|
||||
return PortMatrixNode::NOT_ASSOCIATED;
|
||||
}
|
||||
}
|
||||
|
||||
return ASSOCIATED;
|
||||
return PortMatrixNode::ASSOCIATED;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue