diff options
author | Andrew Chant <achant@google.com> | 2018-03-26 16:53:34 -0700 |
---|---|---|
committer | Andrew Chant <achant@google.com> | 2018-03-27 21:49:53 +0000 |
commit | afaef83e0aa283c06aa4165fa6ec1bba8e9c6d51 (patch) | |
tree | 320fe1061ed5b6b249cc6d623c925d5ee20df9f4 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 8404d082c41d6e3510d072df0df5739b3ccccc3a (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions