[alsa-devel] questions about asoc jack detection
guanqun.lu at intel.com
Wed Apr 20 08:52:12 CEST 2011
I have a question wrt jack detection, suppose now I have internal
speaker enabled and then headphone is inserted. According to the current
jack code in asoc, the Headphone pin wil be enabled, but it does nothing
to Internal Speaker. There is still sound coming out from speaker.
The possible solution is to let the application make the policy to
switch the output source to Headphone, because the jack event can be
observed. If we decide to let the userspace application make the policy,
then why do we bother to enable the jack pin at the first place?
Hope I'm not missing something here. Could you provide some insights?
More information about the Alsa-devel