Well, again: PulseAudio is not a high-latency framework. It's low-latency; PA tries to provide lower latency than just using ALSA.
If games don't work with it, it's not due to latency. The bug lies elsewhere.
I would like to see direct evidence and benchmarks of PulseAudio being low latency, consdering even the ones of the devs has said it sacrifices latency for power consumption (link is on the 1st page).
Originally Posted by RealNC
BTW I am comparing ALSA with ESD to PulseAudio. ALSA and ESD had far fewer programs with games (though SDL had to be set to use OSS for the Allegro games to work).
First, from personal experience: Playing notes in a synthesizer through PA is lower latency than through ALSA+dmix
Second, from the PA website: http://www.pulseaudio.org/wiki/AboutPulseAudio
"Good low latency behaviour"
"Very accurate latency measurement for playback and recording."
And most importantly:
"PulseAudio is intended to provide lower latency than the software mixers dmix and esd."
("dmix" is ALSA's mixer.)
And I can confirm that this is indeed the case. Actually, I was surprised at this myself, because before trying PA I stayed away from ALSA (I'm normally using OSSv4, which I still do on my main machine). PA has many problems; however, I came to the conclusion that latency was not one of them. Not only that, but it noticeably improves latency.
I guess the "latency issue" of PA is simply something that sticks around from years back, and everyone is repeating this to this day. Another reason might be some Ubuntu brain damage. The developer of PulseAudio ranted about this, mentioning that PulseAudio has a worse reputation than deserved because Ubuntu (the most widely used distro) didn't offer a well configured PA:
Linking to the PulseAudio website as a source is not a good argument...
There should be independent benchmarks and comparisions if PulseAudio is truely lower latency than ALSA.
Linux needs a stupid simple underlying audio API and PulseAudio/ALSA is not it. OSSv4 would be a much better alternative, though it's mixer GUI needs some work and some drivers need to be ported over to it. OSSv4 is also used by the other Unixes, such as the BSDs. ALSA is only used by Linux.
As I said, I can confirm this personally. You want me to write a blog post about it and link to it? Would that make it more credible?
Anyway, take that from someone who flamed PA a lot in the past.
I agree on the OSSv4 part. To date, it's the best way to get high quality, low latency audio for me on Linux.
Yes, OSSv4 with a bit of cleanup is the way to go.
Well, it is a million $$$ you know...
Originally Posted by crazycheese
Steam is not needed, I'm actually afraid of all the CS playah corruption. Hopefully the infection is contained within Ubuntu forums.
I think things would be better without PA. But things not working on it is the fault of distros using it, no way around that.
Devs should just use SDL/OpenAL/libao/whatever high-level sound lib, and expect Ubuntu to provide proper configuration for them to work with $UBUNTU_SOUND_SYSTEM.
On multimedia, I disagree about gstreamer, use ffmpeg. But anyway, in that area it's not really a mess, just a question of preferences.
there is a nice framework for audio. It is called ALSA. There is also SDL.
What else is needed? Besided buzzwords from butthurt ubuntu users?
Direct ALSA support imo makes little sense. SDL or so since it makes porting efforts to and from Linux pretty simple.
Tags for this Thread