diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-12 11:32:09 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-12 11:32:09 -0400 |
commit | 4a6412aebe4f18578f201e99ddc74fc5d9cb6bfc (patch) | |
tree | 339637963f785f97b766424b9d63f4ee201af754 /libs/ardour/audioengine.cc | |
parent | bb826f4beebfcedc50570b818c305560d2233e47 (diff) | |
parent | 4df3666738607039445ebc9fa083bf5c23ac5539 (diff) |
merge with master
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 0ff8cd89ef..ded8bf39b5 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -814,7 +814,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; @@ -822,6 +822,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) |