News for hackers. Stuff that matters.
Re:PulseAudio requirement breaks Firefox on ALSA-only systems by widdma on Tuesday March 14, 2017 @10:17PM (#13873268)
PulseAudio is pretty good these days and typically works out of the box for most need. Per app volume is an amazing feature and switching sinks is a breeze. I often play music on my stereo (mobo sound card) and game audio on some headphones (audio over hdmi through monitor). Being able to switch them around live is great.

However, like systemd, PulseAudio large and opinionated so it's not everyone's cup-of-tea.

Re:PulseAudio requirement breaks Firefox on ALSA-only systems by CaptSpify on Tuesday March 14, 2017 @11:21PM (#13873573)
> PulseAudio is pretty good these days and typically works out of the box for most need.

Ehh...... I'll disagree with that. I have ~50% success rate of it working on my devices in the past 5 years.

Re:PulseAudio requirement breaks Firefox on ALSA-only systems by paulfurtado on Wednesday March 15, 2017 @12:03AM (#13873715)
A 50% success rate is pretty bad. May I ask what distributions you're using and which devices you've had trouble on? Are you using any special configuration?

Most modern distros come with pulseaudio by default, which means I'd guess that over 90% of linux users use pulseaudio successfully. I've run workshops helping people install linux on their machines and I've never run into a system where pulseaudio did not work that alsa did.

Re:PulseAudio requirement breaks Firefox on ALSA-only systems by pdkl95 on Wednesday March 15, 2017 @12:51AM (#13873885)
> come with pulseaudio by default

Which means they almost certainly include libasound.so, because PA still depends on ALSA in the kernel. Even in the case of distros that only use the ALSA emulation interface for PA, the traditional ALSA interface is still provided. Lots of software would break without that support.

It's more accurate to say most distros support both PA and ALSA by default.

> use pulseaudio successfully

Note that "successfully" doesn't imply "enjoyably" or "preferentially". I still hear complaints regularly from people that hate newer (PA-focused) distros that introduced a lot of latency problems. Movie audio sync became inconsistent (hundreds of ms latency, very high variability), and UI audio cues playing up to 3s (3000ms) after the visual changes.

Re:PulseAudio requirement breaks Firefox on ALSA-only systems by CaptSpify on Wednesday March 15, 2017 @12:55AM (#13873905)
Mostly debian and ubuntu. Mostly Thinkpads, a couple of dells that I don't remember the model of, and a couple of compaqs. All of them standard builds. I've never added a soundcard that I can recall.

This is what bothers me so much about discussions about PA. There are legitimate problems with it, and whenever someone mentions them, everyone else chimes in to say that they are the minority, that they are doing it wrong, etc etc. This is how polarization happens.

I've had a much higher success rate with alsa ootb.

Re:PulseAudio requirement breaks Firefox on ALSA-only systems by Zardoz84 on Wednesday March 15, 2017 @02:56AM (#13874302)
And I have a 100% success rate. A single case don't means nothing.
Re:PulseAudio requirement breaks Firefox on ALSA-only systems by CaptSpify on Wednesday March 15, 2017 @03:02AM (#13874331)
No, but I can demonstrate that there are problems. And judging by others in this thread, I'm not the only one. I find that saying "typically works out of the box for most need." is incorrect.
Re:PulseAudio requirement breaks Firefox on ALSA-only systems by nirbheek on Thursday March 16, 2017 @03:51PM (#13888547)
In open source, an unreported bug doesn't exist. Did you report it upstream?
Re:PulseAudio requirement breaks Firefox on ALSA-only systems by kuschku on Tuesday March 14, 2017 @10:20PM (#13873281)
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)

Re:PulseAudio requirement breaks Firefox on ALSA-only systems by m45t3r on Tuesday March 14, 2017 @10:54PM (#13873446)
> 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...).

Re:PulseAudio requirement breaks Firefox on ALSA-only systems by AstralStorm on Wednesday March 15, 2017 @04:25AM (#13874617)
Mostly, but you will need a tuned kernel setup to have JACK working properly as in no random underruns.
Re:PulseAudio requirement breaks Firefox on ALSA-only systems by beedogs on Tuesday March 14, 2017 @10:51PM (#13873430)
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.
Re:PulseAudio requirement breaks Firefox on ALSA-only systems by kuschku on Wednesday March 15, 2017 @12:15AM (#13873767)
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.