Re: [PATCH 2/2] ALSA: usb-audio: UAC2 jack detection

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

 



On Fri, 23 Mar 2018 23:24:55 +0100,
Andrew Chant wrote:
> 
> Two new questions:
> #1 - I'd like to report the impedance of the load connected to the jack
> (generally as an integer).  Is a read-only control element the right way to
> do this?

Yes, it would be suitable.

> #2 - In our particular case there's a single jack which can detect presence of
> a microphone and playback separately.  USB descriptors provide a mechanism to
> show that the input and output terminals are linked in this way
> (terminal type 4xx along with bAssocTerminal).
> 
> Is there a better way of having this reported than two separate mono jack
> controls?

This has been discussed in the past.  The current two bool kctls are
the mapping of the former input devices.  One suggestion was to use an
enum for the jack control.  But practically seen this would break
user-space apps, so likely no-go.

I guess we need to live as is -- two bools to represent one
full-duplex jack.


thanks,

Takashi
_______________________________________________
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