Advertisement

Detecting Soundcard Win API or DX

Started by December 20, 2000 09:23 AM
1 comment, last by En3my 24 years, 1 month ago
Hi, I am wondering if there''s any function for detecting whether there is a soundcard or not... Either using Windows API or Direct X... Right now my game only crash if there''s none... Thanks in advance!
waveOutGetNumDevs is the win32 function that will return the number of output wave devices. If you use waveOutGetDevCaps, you can get each devices'' capabilities.
Advertisement
Thank you! I will go give it a try... Regards!

This topic is closed to new replies.

Advertisement