Hacker News new | ask | show | jobs
by kuschku 3381 days ago
Sadly, pulse is also still quite fragile and has a massive latency.

It’d be preferable if for Linux there was an audio server closer to what JACK is (although both JACK and JACK2 aren’t ideal either).

(That said, I mix hardware mixing and pulse for my purposes)

2 comments

> has a massive latency.

The trade-off for latency in PA is lower power usage. I think most consume users are pretty happy that their sound system does not suck tons of energy just to offer sub-10ms of audio latency.

> JACK

AFAIK, PulseAudio and Jack 2 can work pretty seamlessly together thanks to a new dbus API (https://wiki.archlinux.org/index.php/PulseAudio/Examples#Pul...).

Mostly, but you will need a tuned kernel setup to have JACK working properly as in no random underruns.
I gave up long ago and simply use audio cards that do hardware mixing. There's no need for anything other than ALSA if you do it that way.
Unless you want to do filters or additional in/out channels, and more than the card supports.

In my case, I use 3 audio cards, an internal one for speakers, a Behringer Xenxy Q502 for headphones and microphone, and a backend streaming to my phone (in case I wanna walk around the house listening to music via headphones).

Mixing audio into streams for recording, live stream, headphones, etc isn’t easy even with hardware cards unless you spend a LOT of money.