wnd's weblog


July 2009
Mo Tu We Th Fr Sa Su
29 30 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31 1 2
Categories
Archive

PulseAudio

16 July 2009 10:37:37 rant, software

This rant was originally going to be part of previous multi-rant, but it has then grown in size to be fully self-sufficient.

I'm not exactly the biggest fan of PulseAudio and based on my past encounters with it I tend to blame PulseAudio for all audio issues on GNU/Linux until proven otherwise. Take that in account when you read this. Technically I think PulseAudio is neat and it has some ambitious goals but right now it simply doesn't work for me.

rant mode on

If you ask me, PulseAudio is the source of all evil. Well, maybe not the source of all evil, but to me it has done more bad than good.

First of all PulseAudio hides real hardware mixers behind its shiny shell. That would be mostly ok if the real ALSA mixer would not be muted on default on most new computers we install. I can blame Ubuntu/ALSA for that, but as far as I can remember, Debian's ALSA init.d-scripts take care of that. ALSA mixers can be used even when PulseAudio is running (if you know how) but that's not the point.

Second, many (GNOME/Cubbli) users here at university who want to use their wireless USB headphones come to ask for help. They can't seem to figure it out themself -- and I'm not blaming them. Since I've only configured ALSA to use those headphones, someone had to teach me how to do it with PulseAudio. Here's how I was told to do it.

If I get this right, PulseAudio remember which output is used for each application. This way music and movie players can use your stereo system for sound, and your VoIP application can use the headphones. That's great and all, but if I never touch those settings, but then select different device as default output device, I'd expect the sounds to go to that device. Apparently PulseAudio does not only remember user's choices, but also remember what device was used when the application was started for the first time. I can imagine why people made it this way, but part of me is still wondering "what were they thinking!?"

Third, PulseAudio constantly crashes on me. When I started working here last year didn't know anything about PulseAudio. When I first launched alsamixer I noticed that strange audio device called PulseAudio. I then started playing SIDs with my ALSA-enabled sidplay2 only to find out that after an hour or two the sound was no longer working. Applications didn't compain about the device, the volume was set properly, but there was simply no sound. Eventually I killed and restarted PulseAudio and suddenly everything started working again. After a few days I grew tired of this, killed PulseAudio but never restarted it. Only then I realized what PulseAudio was. I realized PulseAudio was unnecessary source of trouble.

rant mode off

Permalink