drake_leon
asked on
check if headphone/headset is plug or not
do someone knows how to check if the microphone/headphone/heads et is plugged/attached or unplugged in your pc?
I doubt you'll have much luck with detecting what's actually plugged in. This would depend entirely on the manufacturer of the PC/sound card/BIOS, and would be really difficult to get at. Plus it would change on the next PC you come across. BUT if you can (as per saravananvg's suggestion) see that something is being "heard" on the microphone (and the PC doesn't have one built-in!) that's a good hint that a headset might be connected.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can check the following site if this could help you in any way.
https://www.experts-exchange.com/questions/10016360/Get-microphone-state.html?query=detect+microphone&clearTAFilter=true
with regards,
padmaja.