fixed previous fix of initial autoplay issue, autoplay now works again
authorJesse Chappell <jesse@essej.net>
Mon, 9 Apr 2007 00:54:39 +0000 (00:54 +0000)
committerJesse Chappell <jesse@essej.net>
Mon, 9 Apr 2007 00:54:39 +0000 (00:54 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1686 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/ardour_ui.cc
gtk2_ardour/ardour_ui_dialogs.cc
libs/ardour/session_transport.cc

index 53b6888dcbb5b250c92b359159f754b648875d3c..8fa4f283f88d5661299f00dbec0dd3069d64e11e 100644 (file)
@@ -187,7 +187,6 @@ ARDOUR_UI::ARDOUR_UI (int *argcp, char **argvp[], string rcfile)
        keybindings_path = ARDOUR::find_config_file ("ardour.bindings");
 
        can_save_keybindings = false;
-       Glib::signal_idle().connect (mem_fun (*this, &ARDOUR_UI::first_idle));
 
        last_configure_time.tv_sec = 0;
        last_configure_time.tv_usec = 0;
index 15940c2e56f939dcce070ce6ebb351ab189cb10d..c3b82c74a84a9e2bb599c2958471821cc52a7d1a 100644 (file)
@@ -146,6 +146,8 @@ ARDOUR_UI::connect_to_session (Session *s)
 
        AudioClock::ModeChanged.connect (mem_fun (*this, &ARDOUR_UI::store_clock_modes));
 
+       Glib::signal_idle().connect (mem_fun (*this, &ARDOUR_UI::first_idle));
+
        start_clocking ();
        start_blinking ();
 
index 950d74edec9ed57d781ee9afae041ec05c869fd0..e4811ca18ddabe16d65624273141543138bce56c 100644 (file)
@@ -639,7 +639,7 @@ Session::locate (nframes_t target_frame, bool with_roll, bool with_flush, bool w
                } 
        }
 
-       if (transport_rolling() && (!auto_play_legal || Config->get_auto_play()) && !with_roll && !(synced_to_jack() && play_loop)) {
+       if (transport_rolling() && (!auto_play_legal || !Config->get_auto_play()) && !with_roll && !(synced_to_jack() && play_loop)) {
                realtime_stop (false);
        }