Advertisement

Is there a way to add sound without DX

Started by May 09, 2000 03:33 PM
1 comment, last by Chrono999 24 years, 6 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.
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.

Advertisement
What''s wrong with DirectSound anyway?

This topic is closed to new replies.

Advertisement