By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,680 Members | 1,710 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,680 IT Pros & Developers. It's quick & easy.

Problem in detecting sound card

P: n/a
H

I got a problem with detecting sound card with Windows xp

I am working on an application to test microphone. First I need detect if there is a sound card installed (or integrated audio device). In a system without sound card (no full onboard audio support either), I use waveInGetNumDevs() to test if there is a sound card, it returns 1. And waveInGetDevCaps() returns no error. But it will fail when I test recording

Guess the system have some onboard Audio support, but not full support, no socket for mic and speaker. I expect the error message shows if it is sound card problem or mic problem

Later I testeb by calling mixerGetNumDevs(), which returns 0. I don't know if it is necessarily to call mixerGetNumDevs() to judge audio support or sound card available. In another (different) system without sound card, I used waveInGetNumDevs(), it returns 0. Which makes me confusin

Can you help me
Thank
Jun

FYI: The system device manager info (first one): Items listed under "Audio, Vido and game" catogary
"Legacy audio driver",
"Audio codecs
"Media Control devices"

Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.