H
I got a problem with detecting sound card with Windows x
I use SDK function waveInGetNumDevs() to test if there is a sound card. But even if there is no sound card installed, the function still returns 1. And even waveInGetDevCaps() returns no error. I checked device->hardware, and there are some items under "Audio, Vido and game" catogary, they includes
"Legacy audio driver",
"Audio codecs
"Media Control devices
Guess there are some onboard Audio support, but no sound card installed
SO how can I detect if there is a sound card installed or not? Can anyone help me
Thank
William DePalo [MVP VC++] - 22 May 2004 05:24 GMT
> I use SDK function waveInGetNumDevs() to test if there
> is a sound card. But even if there is no sound card
> installed, the function still returns 1.
Your post is off-topic here. You should post again in
microsoft.public.win32.programmer.mmedia
> And even waveInGetDevCaps() returns no error. I checked
> device->hardware, and there are some items under "Audio,
[quoted text clipped - 4 lines]
> Guess there are some onboard Audio support, but no sound
> card installed.
It doesn't matter if the sound support is on the system board or a card. If
the driver finds suitable hardware and initializes it so that there is a
device available to be used then the function counts it.
Regards,
Will