From 3043b68bfbcd70ba13d132c8b833cdf3ba199266 Mon Sep 17 00:00:00 2001 From: Nick Mainsbridge Date: Sat, 1 Nov 2008 14:45:03 +0000 Subject: Ignore triple clicks for mute/solo/rec-enable (fixes long-standing insensitive to clicks bug), momentary solo/mute works for track headers, redraw some widgets when resizing editor-mixer (osx only), don't autoconnect physical inputs to busses (sae only), new sends active by default (sae only), some minor sae gui customizations using ardour2_ui_sae.conf. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4078 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session.cc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libs/ardour') diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index a6a322739e..d3c802ea40 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -1966,20 +1966,20 @@ Session::new_audio_route (int input_channels, int output_channels, uint32_t how_ << endmsg; goto failure; } - - for (uint32_t x = 0; n_physical_audio_inputs && x < bus->n_inputs(); ++x) { - - port = ""; - - if (Config->get_input_auto_connect() & AutoConnectPhysical) { + if (! getenv("ARDOUR_SAE")) { + for (uint32_t x = 0; n_physical_audio_inputs && x < bus->n_inputs(); ++x) { + + port = ""; + + if (Config->get_input_auto_connect() & AutoConnectPhysical) { port = physinputs[((n+x)%n_physical_audio_inputs)]; - } - - if (port.length() && bus->connect_input (bus->input (x), port, this)) { - break; + } + + if (port.length() && bus->connect_input (bus->input (x), port, this)) { + break; + } } } - for (uint32_t x = 0; n_physical_audio_outputs && x < bus->n_outputs(); ++x) { port = ""; -- cgit v1.2.3