sdm710: Add support for LDAC.

Add pcm_ids and update a2dp offload property
to enable LDAC

Change-Id: I6ffba4a387601d495f146bd52a5a44b1f783aa07
This commit is contained in:
Samyak Jain 2018-08-09 18:53:47 +05:30
parent 6ad124563d
commit 52daf2f293
4 changed files with 4 additions and 2 deletions

2
configs/sdm710/audio_platform_info.xml Executable file → Normal file
View File

@ -99,7 +99,7 @@
<usecase name="USECASE_AUDIO_HFP_SCO_WB" type="in" id="35" />
<usecase name="USECASE_AUDIO_PLAYBACK_VOIP" type="out" id="16" />
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="16" />
<usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="40" />
<usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="35" />
</pcm_ids>
<config_params>
<param key="spkr_1_tz_name" value="wsatz.13"/>

1
configs/sdm710/audio_platform_info_intcodec.xml Executable file → Normal file
View File

@ -68,6 +68,7 @@
<usecase name="USECASE_AUDIO_RECORD_COMPRESS4" type="in" id="43"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS5" type="in" id="44"/>
<usecase name="USECASE_AUDIO_RECORD_COMPRESS6" type="in" id="45"/>
<usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="12"/>
</pcm_ids>
<config_params>
<!-- In the below value string, the value indicates default mono -->

1
configs/sdm710/audio_platform_info_skuw.xml Executable file → Normal file
View File

@ -63,6 +63,7 @@
<usecase name="USECASE_AUDIO_HFP_SCO_WB" type="in" id="12" />
<usecase name="USECASE_AUDIO_PLAYBACK_VOIP" type="out" id="16" />
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="16" />
<usecase name="USECASE_AUDIO_A2DP_ABR_FEEDBACK" type="in" id="12"/>
</pcm_ids>
<config_params>
<!-- In the below value string, the value indicates default mono -->

View File

@ -230,7 +230,7 @@ vendor.audio.flac.sw.decoder.24bit=true
#split a2dp DSP supported encoder list
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac
persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac-ldac
#enable software decoders for ALAC and APE
PRODUCT_PROPERTY_OVERRIDES += \