ALSA jack detection support - match upstream kernel
Match upstream Linux kernel support for UAC2 jack detection. The patch that was included upstream names USB input and output jack controls by ending them in "Input Jack" or "Output Jack" respectively. see 5a222e84945 ('ALSA: usb-audio: UAC2 jack detection') in git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git Update UsbAlsaJackDetector appropriately. Test: Verified on a UAC2 device with the above kernel patch, tinymix -D 1 produced: ... 2 BOOL 1 Headset - Input Jack Off ... 9 BOOL 1 Headset - Output Jack On With a headset connected, and when the jack was unplugged, Youtube paused. Bug: 70632415 Change-Id: I2e5dd48c7a9d174aabbb3a3315496fb30f7a545a
Loading
Please register or sign in to comment