yuvalt Wrote:Generally I would like to get rid of SDL_Audio. Currently it is used only for skin audio.
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.