elan Wrote:The nice thing about it is that it is portable across a bunch of systems, and it's easy to just play a fixed piece of audio (like a skin sound).
However, Portaudio is very portable too, and would probably serve well, although it would need higher level code to playFile(...), etc. If the lower level Linux stuff had used it instead of ALSA, the port to OS X would have been trivial, and it's even portable to Windows, so it might be a good common layer. I used Portaudio extensively in a former job, and it's a solid bit of code.
I'd love to see a common audio library used for both Linux and OSX. Just make sure that this library can play both on the analog device (2ch) and on the digital device (2ch pcm and passthrough for Dolby Digital/DTS).