20 Apr
2011
20 Apr
'11
8:52 a.m.
Hi Mark,
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?
Thanks!
--
guanqun