[alsa-devel] Signaling user-space through kcontrol

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Sep 28 19:17:26 CEST 2011

On Wed, Sep 28, 2011 at 09:27:31AM -0700, Patrick Lai wrote:

> Agree that should go through consistent interface but not exactly sure
> if going through input device interface is appropriate though. Isn't
> the same reasoning why it has been decided to create ALSA specific API
> for headset detection?

That's why I said use the jack API not the input API, if you're open
coding an input interface for jacks in ALSA you're doing something
wrong.  Just use the jack API and let it worry about how to tell the
rest of the system about what's going on - a driver shouldn't have to
worry about the details.

More information about the Alsa-devel mailing list