Don't create a feedback loop by auto-connecting a master route to itself.
git-svn-id: svn://localhost/ardour2/branches/3.0@7745 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ea2648503b
commit
e1106c39b8
@ -2657,8 +2657,12 @@ Route::output_change_handler (IOChange change, void * /*src*/)
|
||||
|
||||
/* XXX resize all listeners to match _main_outs? */
|
||||
|
||||
/* auto-connect newly-created outputs */
|
||||
if (Config->get_output_auto_connect()) {
|
||||
/* Auto-connect newly-created outputs, unless we're auto-connecting to master
|
||||
and we are master (as an auto-connect in this situation would cause a
|
||||
feedback loop)
|
||||
*/
|
||||
AutoConnectOption ac = Config->get_output_auto_connect ();
|
||||
if (ac == AutoConnectPhysical || (ac == AutoConnectMaster && !is_master ())) {
|
||||
|
||||
ChanCount start = change.before;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user