Sign in to follow this  
thorpe

Sound API

Recommended Posts

We're making a game in OpenGL whichs is supposed to have 5.1 surround sound. Which SoundAPI is easiest to work with? I've previously written a sound engine in DirectSound but it was very complicated and I had to keep track of buffer pointers and stuff like that. I'd preferably like an API which is a bit more highlevel but support 3Dsound and perhaps even some cool sound effects (like doppler shifts, maybe even echoes). Thanks in advance!

Share this post


Link to post
Share on other sites
You have a few choices, all good: FMOD, BASS, OpenAL, DirectSound.
There are a lot of basic & simple tutorials on OpenAL on this website and devmaster.net.

I haven't worked with 3D sound so I can't tell you which one to use, but I think it doesn't matter (They're all easy, except for DirectSound).

Share this post


Link to post
Share on other sites
I've been using DirectMusic/Sound, but I want to get rid of the dependency of DirectX, so I switched to OpenAL. It was used for Unreal and a few other comercial games. About 3d, it is very easy, easier than DirectX, What it is missing is the ability to play MIDI files directly. I'm still working to get the .ogg support to work, and it should, except that for some reason, the .ogg file doesn't open using the .ogg .dll files that DevMaster tutorials use. I don't know at all why.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this