13
0
This commit is contained in:
Paul Davis 2014-01-03 12:18:36 -05:00
commit 31a1b73752

View File

@ -1985,7 +1985,7 @@ Session::auto_connect_route (boost::shared_ptr<Route> route, ChanCount& existing
for (uint32_t i = output_start.get(*t); i < route->n_outputs().get(*t); ++i) {
string port;
if ((*t) == DataType::MIDI || Config->get_output_auto_connect() & AutoConnectPhysical) {
if ((*t) == DataType::MIDI && Config->get_output_auto_connect() & AutoConnectPhysical) {
port = physoutputs[(out_offset.get(*t) + i) % nphysical_out];
} else if ((*t) == DataType::AUDIO && Config->get_output_auto_connect() & AutoConnectMaster) {
/* master bus is audio only */