Jump to content
  • Advertisement
Sign in to follow this  
Raishin

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

This topic is 5052 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
Advertisement
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
I would go for OpenAL too...
But I think it's just like choosing between OpenGL and Direct3D, they both have their strengths...

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
Read the forum FAQ before posting please. OpenGL is for rendering graphics. You can use a tin drum for your music for all it matters to OpenGL, but this post still doesn't belong in this forum.

Share this post


Link to post
Share on other sites
See http://www.gamedev.net/community/forums/topic.asp?topic_id=289458 for more information on OpenAL multithreading problem.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!