mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Reduce DSP thread priority (main-i/o > midi i/o > computation)
This commit is contained in:
parent
ab6ab082dd
commit
c125cd2647
3 changed files with 3 additions and 3 deletions
|
|
@ -1127,7 +1127,7 @@ AlsaAudioBackend::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, alsa_process_thread, td)) {
|
||||
pthread_attr_init (&attr);
|
||||
pthread_attr_setstacksize (&attr, stacksize);
|
||||
|
|
|
|||
|
|
@ -857,7 +857,7 @@ CoreAudioBackend::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, coreaudio_process_thread, td)) {
|
||||
pthread_attr_init (&attr);
|
||||
pthread_attr_setstacksize (&attr, stacksize);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue