473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 2562

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

Similar topics

0
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 explorer "clicks" and statup / shutdown sounds in...
0
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... Eddy Jones
2
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 accordin numbers - in real-time, ofcourse.....
4
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, so I'm not sure how best to accomplish this. ...
3
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 there is no sound card installed, the function...
3
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 changes anolog signal to digital file. I have no...
7
tpgames
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 a satellite A75-s2112 toshiba laptop, intel pent...
3
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 sound card and play one audio file and, play another...
60
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
On May 3, 8:09 am, apati...@gmail.com wrote: A programmer that uses Vista? :O Vista is a hog of an operating system. Downgrade to Windows XP or get yourself a Linux distro.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.