diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-05 16:46:06 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-05 16:46:20 +0100 |
commit | 1089f19a4c38fa548451b1371662d5a26051576a (patch) | |
tree | 4e3a4fcb527c869001fb36b290e39c4b63fc605c /libs/ardour | |
parent | f6f64d3f81d2d38301fd921c8e094b648f74a5c5 (diff) |
create engine thread before sending notifications.
Fixes missing thread in Pool in session_process,
when switching backend threads (CoreAudio, Waves)
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/audioengine.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index e8633c70b0..599d6720a2 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -1136,11 +1136,11 @@ AudioEngine::thread_init_callback (void* arg) pthread_set_name (X_("audioengine")); + SessionEvent::create_per_thread_pool (X_("AudioEngine"), 512); + PBD::notify_gui_about_thread_creation ("gui", pthread_self(), X_("AudioEngine"), 4096); PBD::notify_gui_about_thread_creation ("midiui", pthread_self(), X_("AudioEngine"), 128); - SessionEvent::create_per_thread_pool (X_("AudioEngine"), 512); - AsyncMIDIPort::set_process_thread (pthread_self()); if (arg) { |