Is there a way to add sound without DX
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.
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.
You also need to include WINMM.LIB in your project.
You are using C++ aren''t you?
Marty.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement