Sign in to follow this  
thorpe

Sound together with OpenGL

Recommended Posts

thorpe    122
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
doynax    850
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
Auron    328
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

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