diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index cb1ae4592d..06446aefb5 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4418,22 +4418,20 @@ Editor::idle_visual_changer () VisualChange::Type p = pending_visual_change.pending; pending_visual_change.pending = (VisualChange::Type) 0; - + double last_time_origin = horizontal_adjustment.get_value(); if (p & VisualChange::ZoomLevel) { set_frames_per_unit (pending_visual_change.frames_per_unit); } if (p & VisualChange::TimeOrigin) { - double current_time_origin = horizontal_adjustment.get_value(); horizontal_adjustment.set_value (pending_visual_change.time_origin / frames_per_unit); - - if (current_time_origin == pending_visual_change.time_origin) { - /* changed signal not emitted */ - update_fixed_rulers (); - redisplay_tempo (true); - } } + if (last_time_origin == horizontal_adjustment.get_value() ) { + /* changed signal not emitted */ + update_fixed_rulers (); + redisplay_tempo (true); + } //cerr << "Editor::idle_visual_changer () called ha v:l:u:ps:fpu = " << horizontal_adjustment.get_value() << ":" << horizontal_adjustment.get_lower() << ":" << horizontal_adjustment.get_upper() << ":" << horizontal_adjustment.get_page_size() << ":" << frames_per_unit << endl;//DEBUG pending_visual_change.idle_handler_id = -1; return 0; /* this is always a one-shot call */ diff --git a/instant.xml.sae b/instant.xml.sae index 1cf5ce7c59..450abfbc84 100644 --- a/instant.xml.sae +++ b/instant.xml.sae @@ -1,7 +1,7 @@ - - + + diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index d3c802ea40..e6d8fa9c67 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; } - if (! getenv("ARDOUR_SAE")) { - for (uint32_t x = 0; n_physical_audio_inputs && x < bus->n_inputs(); ++x) { + /* + 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; - } + 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; } } + */ for (uint32_t x = 0; n_physical_audio_outputs && x < bus->n_outputs(); ++x) { port = "";