13
0

Use jack_client_stop_thread on windows

This commit is contained in:
Tim Mayberry 2013-07-17 18:15:02 +10:00
parent 22e15422e8
commit f903d623e4

View 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 * 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) { if (jack_client_stop_thread (_jack, thread) != 0) {
error << "AudioEngine: cannot stop process thread" << endmsg; error << "AudioEngine: cannot stop process thread" << endmsg;
return false; return false;