Skip to content
Snippets Groups Projects
Unverified Commit 7cc38935 authored by Sujin Panicker's avatar Sujin Panicker Committed by Joshua Blanchard
Browse files

beckham: configs: Add BT SCO to routes list

- Issue with returning a valid device descriptor
  since BT SCO is not defined in IOProfile.
- With Android-Q changes, first attempt to retrieve device
  descriptor from the avaiable HwModule may fail due to
  address and encoded format conditions.
- Further device descriptor query is based on IOProfile
  with devices defined in audio_policy_configuration.
- This change adds BT SCO to IOProfile.

Change-Id: I52225070e97dd702f965ca5dbb5db9d128df1faf
parent 10f16ccc
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,11 @@
</devicePort>
<devicePort tagName="Dock Headset" type="AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_ALL_SCO" role="sink">
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
</devicePort>
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
</devicePort>
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
</devicePort>
......@@ -143,6 +147,10 @@
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="BT SCO"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="BT SCO Headset"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="HDMI Out"
sources="primary output,deep_buffer,compressed_offload"/>
<route type="mix" sink="Telephony Tx"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment