Re: How are events of headphone plug/unplug handled in ASOC.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 08, 2008 at 03:57:04PM +0530, Srinivas.Kandagatla wrote:

> I see the background of ASOC states that it supports some mechanism for
> events from plugging/unplugging headphone.
> But I don't see this support in any of the drivers/alsa-lib or is this
> feature is yet to come in ASOC core.

There is currently no core support for this.  The machine driver needs
to listen for headphone insert events using whatever mechanism the board
supports and call snd_soc_dapm_set_endpoint() to enable and disable the
relevant jacks when the headphones are connected and disconnected.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux