Jump to content

  • Log In with Google      Sign In   
  • Create Account


Is there a way to add sound without DX


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Chrono999   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 May 2000 - 09:33 AM

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.

Sponsor:

#2 Marty   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 May 2000 - 11:16 AM

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.



#3 Marty   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 May 2000 - 11:23 AM

What''s wrong with DirectSound anyway?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS