sort of no-op ... remove debug output ... just basically put it in git so that i...
[ardour.git] / libs / ardour / session_transport.cc
index b2ca0b148403f5d0160457d9b410e84f8953a337..f09f3ac2538d2e2bc60571ac646901472d793fbb 100644 (file)
@@ -593,10 +593,12 @@ Session::non_realtime_locate ()
                gint sc = g_atomic_int_get (&_seek_counter);
                tf = _transport_frame;
 
-               cerr << "\n\n >>> START Non-RT locate on routes to " << tf << "\n\n";
+               cerr << "\n\n >>> START Non-RT locate on routes to " << tf << " counter = " << sc << "\n\n";
 
                for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) {
                        (*i)->non_realtime_locate (tf);
+                       //::usleep (250000);
+                       cerr << "\t\tcounter after track: " << g_atomic_int_get (&_seek_counter) << endl;
                        if (sc != g_atomic_int_get (&_seek_counter)) {
                                cerr << "\n\n RESTART locate, new seek delivered\n";
                                goto restart;
@@ -1246,10 +1248,13 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
                        pending_locate_frame = target_frame;
                        pending_locate_roll = with_roll;
                        pending_locate_flush = with_flush;
+                       cerr << "Declick scheduled ... back soon\n";
                        return;
                }
        }
 
+       cerr << "... now doing the actual locate\n";
+
        // Update Timecode time
        _transport_frame = target_frame;
        // Bump seek counter so that any in-process locate in the butler