diff options
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r-- | libs/ardour/audioengine.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 329de68bee..ba5b5ad525 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -816,7 +816,7 @@ AudioEngine::get_sync_offset (pframes_t& offset) const } int -AudioEngine::create_process_thread (boost::function<void()> func, pthread_t* thr, size_t stacksize) +AudioEngine::create_process_thread (boost::function<void()> func, AudioBackendNativeThread* thr, size_t stacksize) { if (!_backend) { return -1; @@ -824,6 +824,14 @@ AudioEngine::create_process_thread (boost::function<void()> func, pthread_t* thr return _backend->create_process_thread (func, thr, stacksize); } +int +AudioEngine::wait_for_process_thread_exit (AudioBackendNativeThread thr) +{ + if (!_backend) { + return 0; + } + return _backend->wait_for_process_thread_exit (thr); +} int AudioEngine::set_device_name (const std::string& name) |