Revert "Work around a Windows crash (for now)"
authorRobin Gareus <robin@gareus.org>
Mon, 7 Aug 2017 17:26:06 +0000 (19:26 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 7 Aug 2017 17:26:06 +0000 (19:26 +0200)
This reverts commit 4f2dc77f6f6b5b0de07304e8a4981ff1298ef090.

libs/ardour/session_ltc.cc

index 0cd365e1171714bac7beeb231ece48e6a8e67268..8acb16dde30ea7f9247aac42958c45f36bbe0596 100644 (file)
@@ -176,21 +176,6 @@ Session::ltc_tx_send_time_code_for_cycle (framepos_t start_frame, framepos_t end
                return;
        }
 
-#if 1
-       /* Work around a race-condition on Windows/ PortAudio.
-        * It may happen that we do have a valid ltcport (created
-        * with the session), but no valid port-handle yet:
-        *
-        * Session > New implicitly closes old session and creates
-        * a new session directly after.
-        * re-registers ports fail? delayed? first proc callback only?
-        * reason is still unknown
-        */
-       if (!ltcport->port_handle ()) {
-               return;
-       }
-#endif
-
        /* marks buffer as not written */
        Buffer& buf (ltcport->get_buffer (nframes));