Answer the question
In order to leave comments, you need to log in
Is it possible to find out if anything is connected to the headphone port?
Is it possible to find out if anything is connected to the headphone port?
Answer the question
In order to leave comments, you need to log in
On linux systems, see /proc/asound/card0/codec#number , there are nodes in it and they have a Pin-ctls field, so you can determine whether something is connected or not by the value in it. There are also many variations in the form of libraries. There is an api
in windows
Pro smartphones above answered.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question