Is there a way to add sound without DX

Started by
1 comment, last by Chrono999 23 years, 11 months ago
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.
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.

What''s wrong with DirectSound anyway?

This topic is closed to new replies.

Advertisement