Lunatic said:
Just from a user-level perspective, pulseaudio has caused more headaches for me than I can count. Second only to network manager, but I use wicd now.
I felt like giving PulseAudio another shot on my recent complete reinstall of Ubuntu (9.10). It was a disaster. Latency was terrible, lots, dare I say most programs stuttered like crazy, in particular flash in Firefox. It also ate CPU like no tomorrow. Ate lots on my netbook too. Interestingly, my netbook seems to have had OSS from the start (Eeesy Peasy Ubuntu), although it could be an ALSA layer I guess.
Fortunately there's now an official entry on the Ubuntu wiki for migrating to OSS. It's gotten that bad. It's only a matter of time before all of the major distributions start offering it as a package option, then start defaulting to it entirely.
Even if PulseAudio actually worked like it was supposed to any acceptable percentage of the time it's still too heavy weight for Pandora.
From a programming point of view ALSA is a total mess compared to OSS, which is a simple character device/ioctl interface (yeah yeah, ioctl is evil, whatever). Kind of moot since it's abstracted by the API, but on the other hand it sucks having to bring in a big library just for sound when you just need a streaming source, and you can write OSS code quickly.
On topic: a Wiz layer for Pandora would be hard but not strictly impossible, given that even the hardware interface for Wiz is generally pretty lightweight once it's setup, mainly the heavy work just consists of dumping things in buffers. So an mmap based abstraction to provide enough Wiz hardware could probably do the trick. OABI compatibility might be a problem. If it's at all possible I'd love to see someone try, it'd be a cool project and might be a way to get at some things that won't end up open source, like the commercial games.