Use jack_client_stop_thread on windows
authorTim Mayberry <mojofunk@gmail.com>
Wed, 17 Jul 2013 08:15:02 +0000 (18:15 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Wed, 17 Jul 2013 08:15:02 +0000 (18:15 +1000)
libs/ardour/audioengine.cc

index a69e98283eab82adde62ad0a0ce651e5d9ba16e9..583ed1ae820bf2d03cf804a608688dadb57e6da8 100644 (file)
@@ -1568,7 +1568,7 @@ AudioEngine::stop_process_thread (jack_native_thread_t thread)
         * Jack 2 _jack arg is not used so it should be OK
         */
 
-#ifdef USING_JACK2_EXPANSION_OF_JACK_API
+#if defined(USING_JACK2_EXPANSION_OF_JACK_API) || defined(WIN32)
        if (jack_client_stop_thread (_jack, thread) != 0) {
                error << "AudioEngine: cannot stop process thread" << endmsg;
                return false;