Link to home
Start Free TrialLog in
Avatar of drake_leon
drake_leon

asked on

check if headphone/headset is plug or not

do someone knows how to check if the microphone/headphone/headset is plugged/attached or unplugged in your pc?
Avatar of saravananvg
saravananvg
Flag of India image

Hello Sir,

  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.

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
Avatar of Wim ten Brink
Wim ten Brink
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial