mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
remove Session::track_by_diskstream_id()
This commit is contained in:
parent
a4a87f56e9
commit
11baba0275
3 changed files with 0 additions and 28 deletions
|
|
@ -119,18 +119,6 @@ PlaylistSelector::show_for (RouteUI* ruix)
|
||||||
|
|
||||||
boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (_session->route_by_id (x->first));
|
boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (_session->route_by_id (x->first));
|
||||||
|
|
||||||
/* legacy sessions stored the diskstream ID as the original
|
|
||||||
* playlist owner. so try there instead.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (tr == 0) {
|
|
||||||
tr = _session->track_by_diskstream_id (x->first);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (tr == 0) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* add a node for the track */
|
/* add a node for the track */
|
||||||
|
|
||||||
string nodename;
|
string nodename;
|
||||||
|
|
|
||||||
|
|
@ -328,7 +328,6 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
||||||
boost::shared_ptr<Stripable> get_remote_nth_stripable (PresentationInfo::order_t n, PresentationInfo::Flag) const;
|
boost::shared_ptr<Stripable> get_remote_nth_stripable (PresentationInfo::order_t n, PresentationInfo::Flag) const;
|
||||||
boost::shared_ptr<Route> get_remote_nth_route (PresentationInfo::order_t n) const;
|
boost::shared_ptr<Route> get_remote_nth_route (PresentationInfo::order_t n) const;
|
||||||
boost::shared_ptr<Route> route_by_selected_count (uint32_t cnt) const;
|
boost::shared_ptr<Route> route_by_selected_count (uint32_t cnt) const;
|
||||||
boost::shared_ptr<Track> track_by_diskstream_id (PBD::ID) const;
|
|
||||||
void routes_using_input_from (const std::string& str, RouteList& rl);
|
void routes_using_input_from (const std::string& str, RouteList& rl);
|
||||||
|
|
||||||
bool route_name_unique (std::string) const;
|
bool route_name_unique (std::string) const;
|
||||||
|
|
|
||||||
|
|
@ -4534,21 +4534,6 @@ Session::processor_by_id (PBD::ID id) const
|
||||||
return boost::shared_ptr<Processor> ();
|
return boost::shared_ptr<Processor> ();
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::shared_ptr<Track>
|
|
||||||
Session::track_by_diskstream_id (PBD::ID id) const
|
|
||||||
{
|
|
||||||
boost::shared_ptr<RouteList> r = routes.reader ();
|
|
||||||
|
|
||||||
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
|
|
||||||
boost::shared_ptr<Track> t = boost::dynamic_pointer_cast<Track> (*i);
|
|
||||||
if (t && t->using_diskstream_id (id)) {
|
|
||||||
return t;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return boost::shared_ptr<Track> ();
|
|
||||||
}
|
|
||||||
|
|
||||||
boost::shared_ptr<Route>
|
boost::shared_ptr<Route>
|
||||||
Session::get_remote_nth_route (PresentationInfo::order_t n) const
|
Session::get_remote_nth_route (PresentationInfo::order_t n) const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue