Sign in to follow this  

How can I add sound and music to my OGL application?

This topic is 4744 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've got "tetris similar game"... I'd like to add some sound and music... Is it good to mix Direct Sound with OpenGL grapics? Or maybe normal API would be better?

Share this post


Link to post
Share on other sites
if i were you, i would learn directsound. but it is not as easy as openal or fmod.
and one more thing, with directsound your game will not cross-platform. i suggest openal for a simple tetris like game. it is very easy to use.

Share this post


Link to post
Share on other sites
OpenAL and FMod will both keep you crossplatform.
Fmod costs money if you want to use it for anything but free projects.
OpenAL has the same syntax as OpenGL (more or less).
DirectSound ties you to windows and throws a whole new API structure at you.

Personally, I'll be going with OpenAL, it looks alot saner than DS to setup and on Creative and NForce mobos if the end user has the correct DLL installed it can even bypass Directsound for slightly faster sound useage.

Share this post


Link to post
Share on other sites

This topic is 4744 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.

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