Hacker News new | comments | show | ask | jobs | submit login

"I seriously doubt that many of those actually do anything reasonable with audio."

Actually, serious audio work on Linux is done with JACK. PulseAudio is completely inadequate for serious audio work.

You're stating it as if it were a shortcoming of PulseAudio. PA is inadequate for most audio work, because the latency is too high -- which is a feature.

Latency vs. CPU usage is always a compromise. To achieve low latency, you need very small buffers for "rendered" audio, and lots of well-timed copy operations to the audio hardware. To just play some audio files efficiently, you want large buffers, because then fewer copy operations are necessary.

Here's a better explanation by Lennart Poettering: http://0pointer.de/blog/projects/when-pa-and-when-not.html

I don't see how high latency in pulseaudio is a feature. Pulseaudio has both high latency and high cpu usage. I've seen cpu usage by the pulseaudio daemon as high as 20% when playing audio.

That was the case many years ago. You really still have this?!?

Yes I do, on pulseaudio 1.1. Definitely better than it used to be, though.

Applications are open for YC Summer 2018

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact