elementary / os-patches

Patched packages for elementary OS and the tools that keep them up-to-date
GNU General Public License v3.0
18 stars 11 forks source link

Audio Group RT Priority #211

Open SubhadeepJasu opened 3 years ago

SubhadeepJasu commented 3 years ago

Problem

Certain realtime audio applications that run from flatpaks require realtime (pro) audio processing. Apps that use pulseaudio may run into issues with the scheduling system causing glitchy audio in those applications. This issue is made worse by the fact that pulseaudio apps by default can't claim high realtime priority.

Proposal

Set the default rt prio to 90.

Prior Art

I do it by modifying the file /etc/security/limits.conf to include:

@audio   -  rtprio      90
@audio   -  memlock     unlimited