472,328 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,328 software developers and data experts.

Problem in detecting sound card


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

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 2475

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Peter | last post by:
Hi all, I'm using windows media player as an object in visual basic 6. I have two sound cards in the PC. The default sound card is used for...
by: Eddy Jones | last post by:
Can someone point me at any documentation you might know of that will help me detect sound card activity? I prefer C#, but any .NET would do......
by: Dominik Susmel | last post by:
I'd like to take in a stream of audio from sound card (linein - but that doesn't matter), and process that stream to detect DTFM tones, and output...
by: Robert Gravereaux | last post by:
I'm putting together a C# .Net forms project on win2k. The application requires some sort of horn sound. I've never implemented any audio in .Net,...
by: June Li | last post by:
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...
by: larry | last post by:
Hi, my friends, My boss asked me to use sound card to do analog to digital conversion for my application. I know when we record sound, sound card...
by: tpgames | last post by:
I know that an internal sound card has to be one listed as for a specific mother board. However, does this rule apply to external sound cards? I use...
by: =?Utf-8?B?SlZE?= | last post by:
In my system, i have two sound card installed. I am developing one multimedia application in c# using DirectShow. I want to select particular...
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
On May 3, 8:09am, apati...@gmail.com wrote: A programmer that uses Vista? :O Vista is a hog of an operating system. Downgrade to Windows...
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.