Jump to content
  • Advertisement
Sign in to follow this  
thorpe

Sound API

This topic is 5098 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!