What is your sound API of choice? I'm looking into implementing sound into my game prototype engine but I'm not sure which API to look at...
Cross platform would be a big plus. Currently I'm using OpenGL and SDL, so I would like to keep my platform options open with the sound API too.
Sound API of choice
I quite like http://www.un4seen.com/
-
- Posts: 268
- Joined: Tue Nov 24, 2009 2:20 am
- Contact:
That's why you simply use SDL and as a side effect get nice libraries for networking, input etc which are easily ported to Windows and the Mac too.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
the general recommendation for linux is to just use sdl for sound.
Reasoning: ALSA sucks more than the win3.1 api and has about as many bugs as there are stars in our galaxy. OSS is about as well supported as the win3.1 api, but does at least sound more like a farrari...
Really SDL is the most stress free and reliable way to get audio in linux. Be aware that it fills the output sound buffer in a separate thread, as required.
Using SDL gives you a quick and easy work around for all the bugs in the distribution's random choice of alsa version, or uses oss if the user knew how to install it and configure their system for it. It just magically works. Unlike ALSA.
I'm not personally aware of SDL having networking, but then I've never found BSD sockets to differ that much between the more important operating systems. You can generally just abstract the differences with a single header file and a few #defines.
Reasoning: ALSA sucks more than the win3.1 api and has about as many bugs as there are stars in our galaxy. OSS is about as well supported as the win3.1 api, but does at least sound more like a farrari...
Really SDL is the most stress free and reliable way to get audio in linux. Be aware that it fills the output sound buffer in a separate thread, as required.
Using SDL gives you a quick and easy work around for all the bugs in the distribution's random choice of alsa version, or uses oss if the user knew how to install it and configure their system for it. It just magically works. Unlike ALSA.
I'm not personally aware of SDL having networking, but then I've never found BSD sockets to differ that much between the more important operating systems. You can generally just abstract the differences with a single header file and a few #defines.
-
- Posts: 3
- Joined: Mon Jun 28, 2010 5:06 am