Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Chrono999

Is there a way to add sound without DX

This topic is 6920 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 was looking at a few Opengl demos and they had sound, so I''m wondering is there a way to add sound to a program through Opengl(I''m guessing not) or did they use DirectSound.

Share this post


Link to post
Share on other sites
Advertisement
I am fairly new to game programming, but have read a few chapters from various books regarding adding sound. All books I have are DirectX orientated, but ''Windows Game Programming for Dummies'' does actually mention that you can use the PlaySound() function which is defined in MMSYSTEM.H

You also need to include WINMM.LIB in your project.

You are using C++ aren''t you?

Marty.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!