}
void
-BundleEditorMatrix::add_channel (boost::shared_ptr<Bundle> b)
+BundleEditorMatrix::add_channel (boost::shared_ptr<Bundle> b, DataType t)
{
if (b == _bundle) {
return;
}
- /* XXX: allow user to specify type */
- _bundle->add_channel (d.get_name(), DataType::AUDIO);
+ _bundle->add_channel (d.get_name(), t);
setup_ports (OURS);
} else {
- PortMatrix::add_channel (b);
+ PortMatrix::add_channel (b, t);
}
}