Reduce DSP thread priority (main-i/o > midi i/o > computation)
[ardour.git] / libs / backends / portaudio / portaudio_backend.cc
index d6e220cf276664da33777a5059c0cb1944e8415c..d6607595f0a576a8f3f54878a5914953fe1f0506 100644 (file)
@@ -1104,7 +1104,7 @@ PortAudioBackend::create_process_thread (boost::function<void()> func)
 
        ThreadData* td = new ThreadData (this, func, stacksize);
 
-       if (_realtime_pthread_create (SCHED_FIFO, -21, stacksize,
+       if (_realtime_pthread_create (SCHED_FIFO, -22, stacksize,
                                &thread_id, portaudio_process_thread, td)) {
                pthread_attr_init (&attr);
                pthread_attr_setstacksize (&attr, stacksize);