create engine thread before sending notifications.
Fixes missing thread in Pool in session_process, when switching backend threads (CoreAudio, Waves)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user