Jump to content
  • Advertisement
Sign in to follow this  

Sound together with OpenGL

This topic is 5065 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

I'm new to OpenGL and although this might not be a specific OpenGL question I still wonder; What API is suitable for playing sound together with OpenGL apps? I think I will need 5.1 surround sound. Is DirectSound (from DirectX) ok to mix with OpenGL?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by thorpe
What API is suitable for playing sound together with OpenGL apps? I think I will need 5.1 surround sound. Is DirectSound (from DirectX) ok to mix with OpenGL?

Uhm, yeah. I wouldn't worry about finding a OpenGL 'compatible' library since they really shouldn't have much to do with each other anyway.
Just have a look at the specs/interface for a few common apis (dsound, openal, fmod, bass, waveout) and find one you're comfortable with.

Lycka till :)

Share this post


Link to post
Share on other sites
Yeah, the odds of there being a clash between OpenGL and any given sound library are slim to none.

So you can use whatever you like best. Of course, keep in mind that if you use DirectX, you won't be able to port your program to Linux without using a different sound engine anyway. That's all your prerogative though. You may not care about Linux support in which case, DirectX is fine.

-Auron

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!