use correct types in arguments to Session::get_remote_nth...()
This commit is contained in:
parent
0d9433aef6
commit
7f4880ad12
|
@ -311,8 +311,8 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
|||
bool io_name_is_legal (const std::string&) const;
|
||||
boost::shared_ptr<Route> route_by_name (std::string) const;
|
||||
boost::shared_ptr<Route> route_by_id (PBD::ID) const;
|
||||
boost::shared_ptr<Stripable> get_remote_nth_stripable (uint16_t n, PresentationInfo::Flag) const;
|
||||
boost::shared_ptr<Route> get_remote_nth_route (uint16_t n) 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> 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);
|
||||
|
|
|
@ -4208,7 +4208,7 @@ Session::track_by_diskstream_id (PBD::ID id) const
|
|||
}
|
||||
|
||||
boost::shared_ptr<Route>
|
||||
Session::get_remote_nth_route (uint16_t n) const
|
||||
Session::get_remote_nth_route (PresentationInfo::order_t n) const
|
||||
{
|
||||
return boost::dynamic_pointer_cast<Route> (get_remote_nth_stripable (n, PresentationInfo::Route));
|
||||
}
|
||||
|
@ -4220,10 +4220,10 @@ struct GlobalPresentationOrderSorter {
|
|||
};
|
||||
|
||||
boost::shared_ptr<Stripable>
|
||||
Session::get_remote_nth_stripable (uint16_t n, PresentationInfo::Flag flags) const
|
||||
Session::get_remote_nth_stripable (PresentationInfo::order_t n, PresentationInfo::Flag flags) const
|
||||
{
|
||||
StripableList sl;
|
||||
uint32_t match_cnt = 0;
|
||||
PresentationInfo::order_t match_cnt = 0;
|
||||
|
||||
/* API is one-based, so adjust n */
|
||||
|
||||
|
|
Loading…
Reference in New Issue