mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
Fix solo logic, connection/feed-information
Assume the following connections
Audio -> Bus1 --aux-send--> Bus2
Prior to this commit, Audio -> Bus2 was marked as "direct feed",
even though the connection was only indirect via an aux-send.
This caused issues with implicit solo and could lead to stuck solo.
This commit is contained in:
parent
ef283ed29c
commit
ba41ac3cec
1 changed files with 4 additions and 4 deletions
|
|
@ -2257,7 +2257,7 @@ Session::set_block_size (pframes_t nframes)
|
|||
|
||||
|
||||
static void
|
||||
trace_terminal (boost::shared_ptr<Route> r1, boost::shared_ptr<Route> rbase)
|
||||
trace_terminal (boost::shared_ptr<Route> r1, boost::shared_ptr<Route> rbase, bool sends_only)
|
||||
{
|
||||
boost::shared_ptr<Route> r2;
|
||||
|
||||
|
|
@ -2284,7 +2284,7 @@ trace_terminal (boost::shared_ptr<Route> r1, boost::shared_ptr<Route> rbase)
|
|||
base as being fed by r2
|
||||
*/
|
||||
|
||||
rbase->add_fed_by (r2, i->sends_only);
|
||||
rbase->add_fed_by (r2, i->sends_only || sends_only);
|
||||
|
||||
if (r2 != rbase) {
|
||||
|
||||
|
|
@ -2300,7 +2300,7 @@ trace_terminal (boost::shared_ptr<Route> r1, boost::shared_ptr<Route> rbase)
|
|||
all routes that feed r2
|
||||
*/
|
||||
|
||||
trace_terminal (r2, rbase);
|
||||
trace_terminal (r2, rbase, i->sends_only || sends_only);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -2415,7 +2415,7 @@ Session::resort_routes_using (boost::shared_ptr<RouteList> r)
|
|||
or indirectly feeds them.
|
||||
*/
|
||||
for (RouteList::iterator i = r->begin(); i != r->end(); ++i) {
|
||||
trace_terminal (*i, *i);
|
||||
trace_terminal (*i, *i, false);
|
||||
}
|
||||
|
||||
*r = *sorted_routes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue