audio: Add controls for hifi record

Add profile to support hifi capture from USB

Test: test playback and capture with and without USB headset

Change-Id: I43a21961eaa64ff27614978ebc53a1d9ca3dbf26
This commit is contained in:
Haynes Mathew George
2017-05-25 11:42:57 -07:00
committed by Eric Laurent
parent 23bed5c06f
commit f49f22c424
2 changed files with 6 additions and 0 deletions

View File

@@ -105,6 +105,8 @@
<app uc_type="PCM_PLAYBACK" bit_width="16" id="69936" max_rate="96000" />
<app uc_type="PCM_PLAYBACK" bit_width="24" id="69940" max_rate="192000" />
<app uc_type="PCM_PLAYBACK" bit_width="32" id="69942" max_rate="192000" />
<app uc_type="PCM_CAPTURE" bit_width="16" id="69938" max_rate="96000" />
<app uc_type="PCM_CAPTURE" bit_width="24" id="69940" max_rate="96000" />
</app_types>
</audio_platform_info>

View File

@@ -826,6 +826,10 @@
<ctl name="USB_AUDIO_RX Audio Mixer MultiMedia2" value="1" />
</path>
<path name="hifi-record usb-headset-mic">
<ctl name="MultiMedia2 Mixer USB_AUDIO_TX" value="1" />
</path>
<path name="compress-offload-playback">
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia4" value="1" />
</path>