Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Is there a way to add sound without DX

4: Adsense

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   

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.

#2 Marty   Members   

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   

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.