return boost::shared_ptr<IO> ();
}
- return (*i)->io;
+ boost::shared_ptr<IO> io ((*i)->io.lock ());
+ return io;
}
/** Remove bundles whose channels are already represented by other, larger bundles */
}
boost::shared_ptr<Route> route;
+ /* it's ok to use a shared_ptr here as RouteIOs structs are only used during ::gather () */
std::list<boost::shared_ptr<IO> > ios;
};
boost::shared_ptr<PortGroup> bus (new PortGroup (_("Bus")));
boost::shared_ptr<PortGroup> track (new PortGroup (_("Track")));
boost::shared_ptr<PortGroup> system (new PortGroup (_("System")));
- boost::shared_ptr<PortGroup> ardour (new PortGroup (_("Ardour")));
+ boost::shared_ptr<PortGroup> ardour (new PortGroup (PROGRAM_NAME));
boost::shared_ptr<PortGroup> other (new PortGroup (_("Other")));
/* Find the IOs which have bundles for routes and their processors. We store