469,903 Members | 1,893 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,903 developers. It's quick & easy.

Problem in detecting sound card

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
0 2381

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Peter | last post: by
reply views Thread by Eddy Jones | last post: by
2 posts views Thread by Dominik Susmel | last post: by
4 posts views Thread by Robert Gravereaux | last post: by
3 posts views Thread by June Li | last post: by
tpgames
7 posts views Thread by tpgames | last post: by
3 posts views Thread by =?Utf-8?B?SlZE?= | last post: by
60 posts views Thread by =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.