diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2013-10-02 19:40:48 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2013-10-04 18:53:37 +1000 |
commit | 53ad2d187ffb31edcb90f7db5799886ee1806586 (patch) | |
tree | 8974083bf0b95e5d4dfff9fe5e53d09641d685a3 /libs/ardour/audioengine.cc | |
parent | df363a4fb3057253c1530941176cac49a7ffd409 (diff) |
Move processing thread list from ARDOUR::Graph into AudioBackend implementation
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r-- | libs/ardour/audioengine.cc | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 38e9ad0b86..631a861741 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -826,21 +826,21 @@ AudioEngine::get_sync_offset (pframes_t& offset) const } int -AudioEngine::create_process_thread (boost::function<void()> func, AudioBackendThread* thread, size_t stacksize) +AudioEngine::create_process_thread (boost::function<void()> func) { if (!_backend) { return -1; } - return _backend->create_process_thread (func, thread, stacksize); + return _backend->create_process_thread (func); } int -AudioEngine::join_process_thread (AudioBackendThread* thr) +AudioEngine::join_process_threads () { if (!_backend) { return -1; } - return _backend->join_process_thread (thr); + return _backend->join_process_threads (); } bool @@ -852,6 +852,15 @@ AudioEngine::in_process_thread () return _backend->in_process_thread (); } +uint32_t +AudioEngine::process_thread_count () +{ + if (!_backend) { + return 0; + } + return _backend->process_thread_count (); +} + int AudioEngine::set_device_name (const std::string& name) { |