If you&#x27;re coding for low latency not only do you need to tune your system you want to learn jackd and use jackd library for your app <a href="https:&#x2F;&#x2F;github.com&#x2F;jackaudio&#x2F;jackaudio.github.com&#x2F;wiki" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jackaudio&#x2F;jackaudio.github.com&#x2F;wiki</a>