Detect the microphone and speaker

Hello all,

Is there an API in the kernel mode or user mode to
detect if the mic and speaker is plugged into the
sound card?
Does the sound card hardward vendor have to provide
this function? Like detecting if there is load in the
input and output.

A bunch of thanks!
William

IIRC not so, the hardware has no such function.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “William Zhang”
To: “Windows System Software Devs Interest List”
Sent: Friday, February 27, 2004 9:58 PM
Subject: [ntdev] Detect the microphone and speaker

> Hello all,
>
> Is there an API in the kernel mode or user mode to
> detect if the mic and speaker is plugged into the
> sound card?
> Does the sound card hardward vendor have to provide
> this function? Like detecting if there is load in the
> input and output.
>
> A bunch of thanks!
> William
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com