Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2004

Tip: Looking for answers? Try searching our database.

Weird problem with sound card detecting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
June Li - 22 May 2004 00:51 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.