Use jack_client_stop_thread on windows
This commit is contained in:
parent
22e15422e8
commit
f903d623e4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user