audio: add usb tty support

- add usb tty mixer path to enable usb tty feature

Change-Id: Iff1da90e73491e3e40561125a1f54e290c80b71f
This commit is contained in:
vivek mehta
2017-03-21 13:57:35 -07:00
committed by David Lin
parent 5c713cd830
commit 682e730dde

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. -->
<!-- Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
@@ -1728,6 +1728,31 @@
<ctl name="DEC0 Volume" value="82" />
</path>
<!-- USB TTY start -->
<!-- full: both end tty -->
<path name="voice-tty-full-usb">
<ctl name="TTY Mode" value="FULL" />
<path name="usb-headphones" />
</path>
<path name="voice-tty-full-usb-mic">
<path name="usb-headset-mic" />
</path>
<!-- vco, in: handset mic use existing, out: tty -->
<path name="voice-tty-vco-usb">
<ctl name="TTY Mode" value="VCO" />
<path name="usb-headphones" />
</path>
<!-- hco, in: tty, out: speaker, use existing handset -->
<path name="voice-tty-hco-usb-mic">
<path name="voice-tty-full-usb-mic" />
</path>
<!-- USB TTY end -->
<path name="listen-handset-mic">
<ctl name="MADONOFF Switch" value="1" />
<ctl name="MAD Input" value="ADC1" />