Re:Systemd: The Biggest Myths
by curlypaul924 on Monday January 28, 2013 @10:47AM
(#5128929)
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?!?
Re:Systemd: The Biggest Myths
by curlypaul924 on Wednesday January 30, 2013 @10:30PM
(#5143284)
Yes I do, on pulseaudio 1.1. Definitely better than it used to be, though.
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