xun: Sync up vendor tree

* With latest changes at
  https://github.com/Xiaomi-Redmi-Pad-SE-Resources/android_device_xiaomi_xun/commit/bce480e333aead2e229ae43adcbcb59dbfa840ea

Signed-off-by: dodyirawan85 <dev.irawans@gmail.com>
This commit is contained in:
dodyirawan85 committed 2026-02-15 23:23:33 +07:00
1 parent bb2e409f8f
commit 83f5ca1e80
458 files changed
+7121 -27930

No files matched your search

Binary file not shown.
@@ -0,0 +1,7 @@
service vendor-dolby-media-c2-hal-1-0 /vendor/bin/hw/vendor.dolby.media.c2@1.0-service
class hal
user mediacodec
group camera mediadrm drmrpc
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
@@ -1,140 +0,0 @@
on post-fs-data
chown system system /sys/class/power_supply/wireless/reverse_chg_mode
chown system system /sys/class/power_supply/wireless/bt_state
chown system system /sys/class/power_supply/wireless/rx_cr
chown system system /sys/class/power_supply/main/cool_mode
chown system system /sys/class/power_supply/battery/night_charging
on property:dev.bootcomplete=1
chown system system /sys/class/power_supply/battery/input_suspend
chown system system /sys/class/power_supply/battery/smart_batt
chown system system /sys/class/power_supply/battery/shipmode_count_reset
chown system system /sys/class/power_supply/battery/cc_toggle
chown system system /sys/class/qcom-battery/reverse_chg_mode
chown system system /sys/class/qcom-battery/bt_state
chown system system /sys/class/qcom-battery/rx_cr
chown system system /sys/class/qcom-battery/input_suspend
chown system system /sys/class/qcom-battery/screen_unlock
chown system system /sys/class/qcom-battery/cool_mode
chown system system /sys/class/qcom-battery/night_charging
chown system system /sys/class/qcom-battery/bt_transfer_start
chown system system /sys/class/qcom-battery/wls_tx_speed
chown system system /sys/class/qcom-battery/wireless_chip_fw
chown system system /sys/class/qcom-battery/smart_batt
chown system system /sys/class/qcom-battery/shipmode_count_reset
chown system system /sys/class/qcom-battery/sport_mode
chown system system /sys/class/qcom-battery/server_result
chown system system /sys/class/qcom-battery/over_peak_flag
chown system system /sys/class/qcom-battery/current_deviation
chown system system /sys/class/qcom-battery/power_deviation
chown system system /sys/class/qcom-battery/average_current
chown system system /sys/class/qcom-battery/average_temp
chown system system /sys/class/qcom-battery/start_learn
chown system system /sys/class/qcom-battery/stop_learn
chown system system /sys/class/qcom-battery/set_learn_power
chown system system /sys/class/qcom-battery/get_learn_power
chown system system /sys/class/qcom-battery/get_learn_power_dev
chown system system /sys/class/qcom-battery/get_learn_time_dev
chown system system /sys/class/qcom-battery/constant_power
chown system system /sys/class/qcom-battery/remaining_time
chown system system /sys/class/qcom-battery/referance_power
chown system system /sys/class/qcom-battery/nvt_referance_current
chown system system /sys/class/qcom-battery/nvt_referance_power
chown system system /sys/class/qcom-battery/start_learn_b
chown system system /sys/class/qcom-battery/stop_learn_b
chown system system /sys/class/qcom-battery/set_learn_power_b
chown system system /sys/class/qcom-battery/get_learn_power_b
chown system system /sys/class/qcom-battery/get_learn_power_dev_b
chown system system /sys/class/qcom-battery/fg2_over_peak_flag
chown system system /sys/class/qcom-battery/fg2_current_deviation
chown system system /sys/class/qcom-battery/fg2_power_deviation
chown system system /sys/class/qcom-battery/fg2_average_current
chown system system /sys/class/qcom-battery/fg2_average_temp
chown system system /sys/class/qcom-battery/fg2_start_learn
chown system system /sys/class/qcom-battery/fg2_stop_learn
chown system system /sys/class/qcom-battery/fg2_set_learn_power
chown system system /sys/class/qcom-battery/fg2_get_learn_power
chown system system /sys/class/qcom-battery/fg2_get_learn_power_dev
chown system system /sys/class/qcom-battery/fg2_get_learn_time_dev
chown system system /sys/class/qcom-battery/fg2_constant_power
chown system system /sys/class/qcom-battery/fg2_remaining_time
chown system system /sys/class/qcom-battery/fg2_referance_power
chown system system /sys/class/qcom-battery/fg2_nvt_referance_current
chown system system /sys/class/qcom-battery/fg2_nvt_referance_power
chown system system /sys/class/qcom-battery/fg2_start_learn_b
chown system system /sys/class/qcom-battery/fg2_stop_learn_b
chown system system /sys/class/qcom-battery/fg2_set_learn_power_b
chown system system /sys/class/qcom-battery/fg2_get_learn_power_b
chown system system /sys/class/qcom-battery/fg2_get_learn_power_dev_b
chown system system /sys/class/qcom-battery/fg1_design_capacity
chown system system /sys/class/qcom-battery/fg2_design_capacity
chown system system /sys/class/qcom-battery/plate_shock
chown system system /sys/class/qcom-battery/cc_toggle
chmod 0660 /sys/class/power_supply/battery/input_suspend
chmod 0660 /sys/class/power_supply/battery/smart_batt
chmod 0660 /sys/class/power_supply/battery/shipmode_count_reset
chmod 0660 /sys/class/power_supply/battery/cc_toggle
chmod 0660 /sys/class/qcom-battery/reverse_chg_mode
chmod 0660 /sys/class/qcom-battery/rx_cr
chmod 0660 /sys/class/qcom-battery/input_suspend
chmod 0660 /sys/class/qcom-battery/screen_unlock
chmod 0660 /sys/class/qcom-battery/cool_mode
chmod 0660 /sys/class/qcom-battery/night_charging
chmod 0660 /sys/class/qcom-battery/bt_transfer_start
chmod 0660 /sys/class/qcom-battery/wls_tx_speed
chmod 0660 /sys/class/qcom-battery/wireless_chip_fw
chmod 0660 /sys/class/qcom-battery/smart_batt
chmod 0660 /sys/class/qcom-battery/shipmode_count_reset
chmod 0660 /sys/class/qcom-battery/sport_mode
chmod 0660 /sys/class/qcom-battery/server_result
chmod 0440 /sys/class/qcom-battery/over_peak_flag
chmod 0440 /sys/class/qcom-battery/current_deviation
chmod 0440 /sys/class/qcom-battery/power_deviation
chmod 0440 /sys/class/qcom-battery/average_current
chmod 0440 /sys/class/qcom-battery/average_temp
chmod 0660 /sys/class/qcom-battery/start_learn
chmod 0660 /sys/class/qcom-battery/stop_learn
chmod 0660 /sys/class/qcom-battery/set_learn_power
chmod 0440 /sys/class/qcom-battery/get_learn_power
chmod 0440 /sys/class/qcom-battery/get_learn_power_dev
chmod 0440 /sys/class/qcom-battery/get_learn_time_dev
chmod 0660 /sys/class/qcom-battery/constant_power
chmod 0440 /sys/class/qcom-battery/remaining_time
chmod 0660 /sys/class/qcom-battery/referance_power
chmod 0440 /sys/class/qcom-battery/nvt_referance_current
chmod 0440 /sys/class/qcom-battery/nvt_referance_power
chmod 0660 /sys/class/qcom-battery/start_learn_b
chmod 0660 /sys/class/qcom-battery/stop_learn_b
chmod 0660 /sys/class/qcom-battery/set_learn_power_b
chmod 0440 /sys/class/qcom-battery/get_learn_power_b
chmod 0440 /sys/class/qcom-battery/get_learn_power_dev_b
chmod 0666 /sys/class/qcom-battery/plate_shock
chmod 0440 /sys/class/qcom-battery/fg2_over_peak_flag
chmod 0440 /sys/class/qcom-battery/fg2_current_deviation
chmod 0440 /sys/class/qcom-battery/fg2_power_deviation
chmod 0440 /sys/class/qcom-battery/fg2_average_current
chmod 0440 /sys/class/qcom-battery/fg2_average_temp
chmod 0660 /sys/class/qcom-battery/fg2_start_learn
chmod 0660 /sys/class/qcom-battery/fg2_stop_learn
chmod 0660 /sys/class/qcom-battery/fg2_set_learn_power
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_power
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_power_dev
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_time_dev
chmod 0660 /sys/class/qcom-battery/fg2_constant_power
chmod 0440 /sys/class/qcom-battery/fg2_remaining_time
chmod 0660 /sys/class/qcom-battery/fg2_referance_power
chmod 0440 /sys/class/qcom-battery/fg2_nvt_referance_current
chmod 0440 /sys/class/qcom-battery/fg2_nvt_referance_power
chmod 0660 /sys/class/qcom-battery/fg2_start_learn_b
chmod 0660 /sys/class/qcom-battery/fg2_stop_learn_b
chmod 0660 /sys/class/qcom-battery/fg2_set_learn_power_b
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_power_b
chmod 0440 /sys/class/qcom-battery/fg2_get_learn_power_dev_b
chmod 0440 /sys/class/qcom-battery/fg1_design_capacity
chmod 0440 /sys/class/qcom-battery/fg2_design_capacity
chmod 0660 /sys/class/qcom-battery/cc_toggle
service micharge-hal-1-0 /vendor/bin/hw/vendor.xiaomi.hardware.micharge@1.0-service
class hal
user system
group system
+729
View File
@@ -0,0 +1,729 @@
<KEY_DEF versionMajor="0x0" versionMinor="0x0" versionBranch="0x0" versionSubBranch="0x0">
<PLATFORMS>
<PLATFORM name="LA" id="0x1"/>
<PLATFORM name="LE" id="0x2"/>
</PLATFORMS>
<KEY_LIST>
<KEY name="StreamRX" id="0xa1000000" description="Type of Rx Stream">
<VALUE val="0xa1000001" name="PCM_Deep_Buffer"/>
<VALUE val="0xa1000003" name="PCM_Rx_Loopback"/>
<VALUE val="0xa1000005" name="Voip_Rx"/>
<VALUE val="0xa100000a" name="Compress_Offload_Playback"/>
<VALUE val="0xa100000c" name="HFP_Rx_Playback"/>
<VALUE val="0xa100000d" name="HFP_Tx_Playback"/>
<VALUE val="0xa100000e" name="PCM_LL_Playback"/>
<VALUE val="0xa100000f" name="PCM_Offload"/>
<VALUE val="0xa1000010" name="Voice_Call_Rx"/>
<VALUE val="0xa1000011" name="PCM_ULL_Playback"/>
<VALUE val="0xa1000012" name="PCM_Proxy_Playback"/>
<VALUE val="0xa1000013" name="Incall_Music"/>
<VALUE val="0xa1000014" name="Generic_Playback"/>
<VALUE val="0xa1000015" name="Haptics_Playback"/>
<VALUE val="0xa1000016" name="Voice_Call_Rx_HPCM_Playback"/>
<VALUE val="0xa1000017" name="VOICE_CALL_Tx_HPCM_Playback"/>
</KEY>
<KEY name="StreamTX" id="0xb1000000" description="Type of Tx Stream">
<VALUE val="0xb1000001" name="PCM_Record"/>
<VALUE val="0xb1000002" name="PCM_Tx_Loopback"/>
<VALUE val="0xb1000003" name="Voice_UI"/>
<VALUE val="0xb1000004" name="Voip_Tx"/>
<VALUE val="0xb1000005" name="HFP_Rx_Capture"/>
<VALUE val="0xb1000006" name="HFP_Tx_Capture"/>
<VALUE val="0xb1000007" name="Voice_Call_Tx"/>
<VALUE val="0xb1000008" name="DeepBuffer_Record"/>
<VALUE val="0xb1000009" name="RAW_Record"/>
<VALUE val="0xb100000a" name="PCM_ULL_Record"/>
<VALUE val="0xb100000b" name="PCM_Proxy_Record"/>
<VALUE val="0xb100000c" name="Incall_Record"/>
<VALUE val="0xb100000d" name="ACD"/>
<VALUE val="0xb100000e" name="SENSOR_PCM_DATA"/>
<VALUE val="0xb100000f" name="VOICE_CALL_Rx_HPCM_Record"/>
<VALUE val="0xb1000010" name="Voice_Call_Tx_HPCM_Record"/>
<VALUE val="0xb1000011" name="Voice_Recognition_Record"/>
<VALUE val="0xb1000012" name="COMPRESS_CAPTURE"/>
</KEY>
<KEY name="Instance" id="0xab000000" description="Stream Instance Id">
<VALUE val="0x1" name="Instance_1"/>
<VALUE val="0x2" name="Instance_2"/>
<VALUE val="0x3" name="Instance_3"/>
<VALUE val="0x4" name="Instance_4"/>
<VALUE val="0x5" name="Instance_5"/>
<VALUE val="0x6" name="Instance_6"/>
<VALUE val="0x7" name="Instance_7"/>
<VALUE val="0x8" name="Instance_8"/>
</KEY>
<KEY name="DeviceRX" id="0xa2000000" description="Rx Device">
<VALUE val="0xa2000001" name="Speaker"/>
<VALUE val="0xa2000002" name="Headphones"/>
<VALUE val="0xa2000003" name="BT_Rx"/>
<VALUE val="0xa2000004" name="Handset"/>
<VALUE val="0xa2000005" name="USB_Rx"/>
<VALUE val="0xa2000006" name="HDMI_Rx"/>
<VALUE val="0xa2000007" name="Proxy_Rx"/>
<VALUE val="0xa2000008" name="Proxy_Rx_Voice"/>
<VALUE val="0xa2000009" name="Haptics_Device"/>
<VALUE val="0xa200000a" name="ULTRASOUND_RX"/>
</KEY>
<KEY name="DeviceTX" id="0xa3000000" description="Tx Device">
<VALUE val="0xa3000001" name="Speaker_Mic"/>
<VALUE val="0xa3000002" name="BT_Tx"/>
<VALUE val="0xa3000003" name="Headphone_Mic"/>
<VALUE val="0xa3000004" name="Handset_Mic"/>
<VALUE val="0xa3000005" name="USB_Tx"/>
<VALUE val="0xa3000006" name="VoiceActivation_Mic"/>
<VALUE val="0xa3000007" name="VoiceActivation_Headset_Mic"/>
<VALUE val="0xa3000008" name="Proxy_Tx"/>
<VALUE val="0xa3000009" name="VI_TX"/>
<VALUE val="0xa300000a" name="FM_TX"/>
<VALUE val="0xa300000b" name="Ultrasound_TX"/>
<VALUE val="0xa300000d" name="EchoReference_TX"/>
</KEY>
<KEY name="DeviceTX_EXT" id="0xd7000000" description="Ext Tx Device">
<VALUE val="0xd7000001" name="Ext_EC_Tx"/>
</KEY>
<KEY name="DevicePP_Rx" id="0xac000000" description="Rx Device Post/Pre Processing Chain">
<VALUE val="0xac000001" name="DevicePP_Rx_Default"/>
<VALUE val="0xac000002" name="Audio_MBDRC"/>
<VALUE val="0xac000003" name="Voip_MBDRC"/>
<VALUE val="0xac000004" name="HFP_Sink"/>
<VALUE val="0xac000005" name="DevicePP_RX_Voice_Default"/>
<VALUE val="0xac000006" name="DevicePP_RX_Ultrasound_Gen"/>
<VALUE val="0xac000007" name="DevicePP_RX_Voice_RVE"/>
<VALUE val="0xac000008" name="DEVICEPP_RX_HPCM"/>
<VALUE val="0xac000080" name="DevicePP_Rx_Game"/>
<VALUE val="0xac000081" name="DevicePP_RX_Karaoke"/>
</KEY>
<KEY name="DevicePP_Tx" id="0xad000000" description="Tx Device Post/Pre Processing Chain">
<VALUE val="0xad000001" name="Fluence_FFECNS"/>
<VALUE val="0xad000002" name="Audio_Fluence_SMECNS"/>
<VALUE val="0xad000003" name="Audio_Fluence_Endfire"/>
<VALUE val="0xad000004" name="Audio_Fluence_Pro"/>
<VALUE val="0xad000005" name="Voip_Fluence_Pro"/>
<VALUE val="0xad000006" name="HFP_Sink_Fluence_SMECNS"/>
<VALUE val="0xad000007" name="Voip_Fluence_SMECNS"/>
<VALUE val="0xad000008" name="Voice_Fluence_SMECNS"/>
<VALUE val="0xad000009" name="Voice_Fluence_Endfire"/>
<VALUE val="0xad00000a" name="Voice_Fluence_Pro"/>
<VALUE val="0xad00000b" name="Fluence_FFNS"/>
<VALUE val="0xad00000c" name="RAW_LPI"/>
<VALUE val="0xad00000d" name="Voip_Fluence_Endfire"/>
<VALUE val="0xad00000e" name="RAW_NLPI"/>
<VALUE val="0xad00000f" name="Voice_Fluence_NN_SM"/>
<VALUE val="0xad000010" name="Voip_Fluence_NN_SM"/>
<VALUE val="0xad000011" name="Ultrasound_Engine"/>
<VALUE val="0xad000012" name="Fluence_FFEC"/>
<VALUE val="0xad000013" name="Voice_Fluence_Endfire_RVE"/>
<VALUE val="0xad000014" name="DEVICEPP_TX_HPCM"/>
<VALUE val="0xad000015" name="HFP_Sink_Fluence_ENDFIRE"/>
<VALUE val="0xad000016" name="Audio_Fluence_NN_SM"/>
<VALUE val="0xad000017" name="Voice_Recognition"/>
<VALUE val="0xad000018" name="HFP_Sink_Fluence_NN_SM"/>
<VALUE val="0xad000080" name="DevicePP_Tx_Game"/>
<VALUE val="0xad000081" name="Karaoke_Tx_PP"/>
</KEY>
<KEY name="StreamPP_RX" id="0xaf000000" description="Rx Stream Post/Pre Processing Chain">
<VALUE val="0xaf000001" name="StreamPP_Rx_Default"/>
</KEY>
<KEY name="StreamPP_TX" id="0xb0000000" description="Tx Stream Post/Pre Processing Chain">
<VALUE val="0xb0000001" name="StreamPP_Tx_Default"/>
</KEY>
<KEY name="Spk_Mode" id="0x800000" description="Spk_Mode">
<VALUE val="0x0" name="Bypass_Mode"/>
<VALUE val="0x1" name="Music_Mode"/>
<VALUE val="0x2" name="Voice_Mode"/>
<VALUE val="0x3" name="Game_Mode"/>
<VALUE val="0x4" name="Video_Mode"/>
<VALUE val="0x5" name="Voip_Mode"/>
<VALUE val="0x6" name="FtmAt_Mode"/>
</KEY>
<KEY name="Volume" id="0xa4000000" description="Volume">
<VALUE val="0x0" name="Level_0"/>
<VALUE val="0x1" name="Level_1"/>
<VALUE val="0x2" name="Level_2"/>
<VALUE val="0x3" name="Level_3"/>
<VALUE val="0x4" name="Level_4"/>
<VALUE val="0x5" name="Level_5"/>
<VALUE val="0x6" name="Level_6"/>
<VALUE val="0x7" name="Level_7"/>
<VALUE val="0x8" name="Level_8"/>
<VALUE val="0x9" name="Level_9"/>
<VALUE val="0xa" name="Level_10"/>
<VALUE val="0xb" name="Level_11"/>
<VALUE val="0xc" name="Level_12"/>
<VALUE val="0xd" name="Level_13"/>
<VALUE val="0xe" name="Level_14"/>
<VALUE val="0xf" name="Level_15"/>
</KEY>
<KEY name="Gain" id="0xd2000000" description="Gain">
<VALUE val="0x0" name="Gain_0"/>
<VALUE val="0x1" name="Gain_1"/>
<VALUE val="0x2" name="Gain_2"/>
<VALUE val="0x3" name="Gain_3"/>
<VALUE val="0x4" name="Gain_4"/>
<VALUE val="0x5" name="Gain_5"/>
<VALUE val="0x6" name="Gain_6"/>
<VALUE val="0x7" name="Gain_7"/>
<VALUE val="0x8" name="Gain_8"/>
<VALUE val="0x9" name="Gain_9"/>
<VALUE val="0xa" name="Gain_10"/>
<VALUE val="0xb" name="Gain_11"/>
<VALUE val="0xc" name="Gain_12"/>
<VALUE val="0xd" name="Gain_13"/>
<VALUE val="0xe" name="Gain_14"/>
<VALUE val="0xf" name="Gain_15"/>
</KEY>
<KEY name="SamplingRate" id="0xa5000000" sampleRate="true" description="Sampling Rate">
<VALUE val="0x1f40" name="SR_8K" sampleRate="0x1f40"/>
<VALUE val="0x3e80" name="SR_16K" sampleRate="0x3e80"/>
<VALUE val="0x5622" name="SR_22K" sampleRate="0x5622"/>
<VALUE val="0x5dc0" name="SR_24K" sampleRate="0x5dc0"/>
<VALUE val="0x7d00" name="SR_32K" sampleRate="0x7d00"/>
<VALUE val="0xac44" name="SR_44.1K" sampleRate="0xac44"/>
<VALUE val="0xbb80" name="SR_48K" sampleRate="0xbb80"/>
<VALUE val="0x17700" name="SR_96K" sampleRate="0x17700"/>
<VALUE val="0x2ee00" name="SR_192K" sampleRate="0x2ee00"/>
<VALUE val="0x56220" name="SR_352.8K" sampleRate="0x56220"/>
<VALUE val="0x5dc00" name="SR_384K" sampleRate="0x5dc00"/>
</KEY>
<KEY name="BitWidth" id="0xa6000000" description="Bit Width">
<VALUE val="0x10" name="BW_16"/>
<VALUE val="0x18" name="BW_24"/>
<VALUE val="0x20" name="BW_32"/>
</KEY>
<KEY name="Pause" id="0xa7000000" description="Pause">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="Mute" id="0xa8000000" description="Mute">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="DataLogging" id="0xd8000000" description="DataLogging">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="StreamChannels" id="0xd4000000" description="StreamChannels">
<VALUE val="0x1" name="STREAM_CHS_1"/>
<VALUE val="0x2" name="STREAM_CHS_2"/>
</KEY>
<KEY name="Channels" id="0xa9000000" description="Channels">
<VALUE val="0x1" name="CHS_1"/>
<VALUE val="0x2" name="CHS_2"/>
<VALUE val="0x3" name="CHS_3"/>
<VALUE val="0x4" name="CHS_4"/>
<VALUE val="0x5" name="CHS_5"/>
<VALUE val="0x6" name="CHS_6"/>
<VALUE val="0x6" name="CHS_6"/>
<VALUE val="0x7" name="CHS_7"/>
<VALUE val="0x8" name="CHS_8"/>
</KEY>
<KEY name="ECNS" id="0xaa000000" description="ECNS">
<VALUE val="0x0" name="ECNS_Off"/>
<VALUE val="0x1" name="ECNS_On"/>
<VALUE val="0x2" name="EC_On"/>
<VALUE val="0x3" name="NS_On"/>
</KEY>
<KEY name="Dtmf" id="0xde000000" description="DTMF_SWITCH">
<VALUE val="0x0" name="TAG_VALUE_MODULE_DISABLE"/>
<VALUE val="0x1" name="TAG_VALUE_MODULE_ENABLE"/>
</KEY>
<KEY name="Dtmf_Gen_KeyTone" id="0xdf000000" description="DTMF_GEN_TONE">
<VALUE val="0x1" name="DTMF_GEN_1"/>
<VALUE val="0x2" name="DTMF_GEN_2"/>
<VALUE val="0x3" name="DTMF_GEN_3"/>
<VALUE val="0x4" name="DTMF_GEN_4"/>
<VALUE val="0x5" name="DTMF_GEN_5"/>
<VALUE val="0x6" name="DTMF_GEN_6"/>
<VALUE val="0x7" name="DTMF_GEN_7"/>
<VALUE val="0x8" name="DTMF_GEN_8"/>
<VALUE val="0x9" name="DTMF_GEN_9"/>
<VALUE val="0xa" name="DTMF_GEN_10"/>
<VALUE val="0xb" name="DTMF_GEN_11"/>
<VALUE val="0xc" name="DTMF_GEN_12"/>
<VALUE val="0xd" name="DTMF_GEN_13"/>
<VALUE val="0xe" name="DTMF_GEN_14"/>
<VALUE val="0xf" name="DTMF_GEN_15"/>
<VALUE val="0x10" name="DTMF_GEN_16"/>
</KEY>
<KEY name="MediaFmtID" id="0xae000000" description="MediaFmtID">
<VALUE val="0xae000001" name="PCM"/>
<VALUE val="0xae000002" name="AAC"/>
<VALUE val="0xae000003" name="ALAC"/>
<VALUE val="0xae000004" name="APE"/>
<VALUE val="0xae000005" name="WMAPRO"/>
<VALUE val="0xae000006" name="WMASTD"/>
<VALUE val="0xae000007" name="FLAC"/>
<VALUE val="0xae000008" name="VORBIS"/>
<VALUE val="0xae000009" name="MP3"/>
<VALUE val="0xae00000a" name="AMRWBPLUS"/>
<VALUE val="0xae00000b" name="AMRWB"/>
<VALUE val="0xae00000c" name="AMRNB"/>
<VALUE val="0xae00000d" name="EVRC"/>
<VALUE val="0xae00000e" name="G711"/>
<VALUE val="0xae00000f" name="QCELP"/>
</KEY>
<KEY name="VSID" id="0xb3000000" description="VSID">
<VALUE val="0xb3000001" name="VSID_DEFAULT"/>
<VALUE val="0xb3000002" name="VSID_VOICE1"/>
<VALUE val="0xb3000003" name="VSID_VOICE2"/>
<VALUE val="0xb3000004" name="VSID_VOICE1_LB"/>
<VALUE val="0xb3000005" name="VSID_VOICE2_LB"/>
</KEY>
<KEY name="Equalizer" id="0xb2000000" description="Equalizer_Switch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="Asphere" id="0xd6000000" description="Asphere_Switch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="BtProfile" id="0xb4000000" description="BTProfile">
<VALUE val="0xb4000001" name="SCO"/>
<VALUE val="0xb4000002" name="A2DP"/>
</KEY>
<KEY name="ProxyTxType" id="0xd1000000" description="ProxyTxType">
<VALUE val="0xd1000001" name="PROXY_TX_DEFAULT"/>
<VALUE val="0xd1000002" name="PROXY_TX_WFD"/>
<VALUE val="0xd1000003" name="PROXY_TX_VOICE_RX"/>
</KEY>
<KEY name="Stream" id="0xd3000000" description="Stream">
<VALUE val="0xd2000001" name="NT_DECODE"/>
<VALUE val="0xd2000002" name="NT_ENCODE"/>
</KEY>
<KEY name="BtFormat" id="0xb5000000" description="BTFormat">
<VALUE val="0xb5000001" name="GENERIC"/>
<VALUE val="0xb5000002" name="LDAC"/>
<VALUE val="0xb5000003" name="APTX_ADAPTIVE"/>
<VALUE val="0xb5000004" name="SWB"/>
<VALUE val="0xb5000005" name="LC3"/>
<VALUE val="0xb5000006" name="AAC_ABR"/>
</KEY>
<KEY name="Virtualizer_Switch" id="0xb9000000" description="Virtualizer_Switch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="Reverb_Switch" id="0xb8000000" description="Reverb_Switch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="PBE_Switch" id="0xb6000000" description="PBE_Switch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="BASS_BOOST_Switch" id="0xb7000000" description="Bass_Boost_Switch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="Input_Current_Limiter" id="0xd5000000" description="Icl">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="SW_Sidetone" id="0xba000000" description="SW_SIDETONE">
<VALUE val="0xba000001" name="SW_Sidetone"/>
</KEY>
<KEY name="Stream_SlowTalk" id="0xbb000000" description="Stream_SlowTalk">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="Stream_Config" id="0xbc000000" description="StreamConfig">
<VALUE val="0xbc000001" name="SVA"/>
<VALUE val="0xbc000002" name="Hotword"/>
<VALUE val="0xbc000003" name="SVA5_PDK"/>
<VALUE val="0xbc000004" name="CUSTOM"/>
<VALUE val="0xbc000005" name="SVA_GMM_mmap_based"/>
<VALUE val="0xbc000006" name="SVA_PDK6"/>
<VALUE val="0xbc000007" name="ACD_QC"/>
</KEY>
<KEY name="Stream_MuxDemux" id="0xbd000000" description="Stream_MuxDemux">
<VALUE val="0x1" name="UL_Mono"/>
<VALUE val="0x2" name="DL_Mono"/>
<VALUE val="0x3" name="UL_DL_Mono"/>
<VALUE val="0x4" name="UL_DL_Stereo"/>
</KEY>
<KEY name="SP_Dev_Map" id="0xbe000000" description="SpkrProtDevMap">
<VALUE val="0x0" name="Disable_SP"/>
<VALUE val="0x1" name="Right_Mono"/>
<VALUE val="0x2" name="Left_Mono"/>
<VALUE val="0x3" name="Left_Right"/>
</KEY>
<KEY name="SP_VI_Map" id="0xbf000000" description="SpkrProtVIMap">
<VALUE val="0x0" name="RightSpeaker"/>
<VALUE val="0x1" name="LeftSpeaker"/>
<VALUE val="0x2" name="StereoSpeaker"/>
</KEY>
<KEY name="RAS_Switch" id="0xd0000000" description="RAS_Switch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="SlotMask" id="0xe0000000" description="SlotMask">
<VALUE val="0x1" name="MASK_1"/>
<VALUE val="0x2" name="MASK_2"/>
<VALUE val="0x3" name="MASK_3"/>
<VALUE val="0x4" name="MASK_4"/>
<VALUE val="0x5" name="MASK_5"/>
<VALUE val="0x6" name="MASK_6"/>
<VALUE val="0x7" name="MASK_7"/>
</KEY>
<KEY name="DutyCycle" id="0xe1000000" description="DutyCycle">
<VALUE val="0x0" name="disable"/>
<VALUE val="0x1" name="enable"/>
</KEY>
<KEY name="MISOUND_SPK_FX_Module_Switch" id="0x10000" description="MisoundSpkFxModuleSwitch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="MISOUND_SPK_FX_Switch" id="0x20000" description="MisoundSpkFxSwitch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="MISOUND_SPK_Mode" id="0x30000" description="MisoundSpkMode">
<VALUE val="0x0" name="AUTO"/>
<VALUE val="0x1" name="MUSIC"/>
<VALUE val="0x2" name="VIDEO"/>
<VALUE val="0x3" name="VOICE"/>
</KEY>
<KEY name="MISOUND_SPK_ROTATION" id="0x40000" description="MisoundSpkRotation">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="MISOUND_SPK_STEREO_ENHANCE_MODE" id="0x50000" description="MisoundSpkStereoEnhanceMode">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x2" name="0x2"/>
<VALUE val="0x3" name="0x3"/>
</KEY>
<KEY name="MISOUND_SPK_VOCAL_ENHANCE_MODE" id="0x60000" description="MisoundSpkVocalEnhanceMode">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x2" name="0x2"/>
<VALUE val="0x3" name="0x3"/>
</KEY>
<KEY name="MISOUND_SPK_SYSTEM_SOUND" id="0x70000" description="MisoundSpkSystemSound">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
</KEY>
<KEY name="MISOUND_SPK_VOLUME_CHANGE_MODE" id="0x80000" description="MisoundSpkVolumeChangeMode">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x2" name="0x2"/>
<VALUE val="0x3" name="0x3"/>
<VALUE val="0x4" name="0x4"/>
<VALUE val="0x5" name="0x5"/>
<VALUE val="0x6" name="0x6"/>
<VALUE val="0x7" name="0x7"/>
<VALUE val="0x8" name="0x8"/>
<VALUE val="0x9" name="0x9"/>
<VALUE val="0xa" name="0xa"/>
<VALUE val="0xb" name="0xb"/>
<VALUE val="0xc" name="0xc"/>
<VALUE val="0xd" name="0xd"/>
<VALUE val="0xe" name="0xe"/>
<VALUE val="0xf" name="0xf"/>
</KEY>
<KEY name="MISOUND_HPH_MODULE_SWITCH" id="0x90000" description="MisoundHphModuleSwitch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="MISOUND_HPH_SWITCH" id="0xa0000" description="MisoundHphSwitch">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="MISOUND_HPH_EQ_ENABLE" id="0xc0000" description="MisoundHphEQEnable">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="MISOUND_HPH_MUSICMODE_ENABLE" id="0xe0000" description="MisoundHphMusicModeEnable">
<VALUE val="0x0" name="Off"/>
<VALUE val="0x1" name="On"/>
</KEY>
<KEY name="MISOUND_HPH_MODE_TYPE" id="0xf0000" description="MisoundHphModeType">
<VALUE val="0x1" name="Music"/>
<VALUE val="0x2" name="Movie"/>
<VALUE val="0x3" name="Voice"/>
</KEY>
<KEY name="MISOUND_HPH_STEREO_ENHANCE" id="0x100000" description="MisoundHphStereoEnhance">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x2" name="0x2"/>
<VALUE val="0x3" name="0x3"/>
</KEY>
<KEY name="MISOUND_HPH_VOCAL_ENHANCE" id="0x110000" description="MisoundHphVocalEnhance">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x2" name="0x2"/>
<VALUE val="0x3" name="0x3"/>
</KEY>
<KEY name="MISOUND_HPH_EARCOMP_AGEMODE" id="0x120000" description="MisoundHphEarCompAgeMode">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x2" name="0x2"/>
<VALUE val="0x3" name="0x3"/>
</KEY>
<KEY name="MISOUND_HPH_EARCOMP_ENABLE" id="0x130000" description="MisoundHphEarCompEnable">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
</KEY>
<KEY name="MISOUND_KARAOKE_REVERB_TYPE" id="0x180000" description="MisoundKaraokeReverbType">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x2" name="0x2"/>
<VALUE val="0x3" name="0x3"/>
<VALUE val="0x4" name="0x4"/>
</KEY>
<KEY name="MISOUND_KARAOKE_EQ_TYPE" id="0x190000" description="MisoundKaraokeEQType">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x2" name="0x2"/>
<VALUE val="0x3" name="0x3"/>
<VALUE val="0x4" name="0x4"/>
</KEY>
<KEY name="MISOUND_LRSWITCH_MODULE_ENABLE" id="0x1a0004" description="MisoundLrswitchModuleEnable">
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x0" name="0x0"/>
</KEY>
<KEY name="MISOUND_LRSWITCH_FX_MODE" id="0x1a0005" description="MisoundLrswitchFxMode">
<VALUE val="0x1" name="0x1"/>
<VALUE val="0x0" name="0x0"/>
</KEY>
<KEY name="MISOUND_KARAOKE_SWITCH" id="0x1a0000" description="MisoundKaraokeSwitch">
<VALUE val="0x0" name="0x0"/>
<VALUE val="0x1" name="0x1"/>
</KEY>
<KEY name="MISOUND_UPDATE" id="0xfc000000" description="MisoundUpdate">
<VALUE val="0x0" name="MISOUND_NOUPDATE"/>
<VALUE val="0x1" name="MISOUND_UPDATE"/>
</KEY>
</KEY_LIST>
<GRAPH_KEY description="Graph Keys">
<KEY id="0xa1000000" name="StreamRX"/>
<KEY id="0xa2000000" name="DeviceRX"/>
<KEY id="0xa3000000" name="DeviceTX"/>
<KEY id="0xac000000" name="DevicePP_Rx"/>
<KEY id="0xad000000" name="DevicePP_Tx"/>
<KEY id="0xab000000" name="Instance"/>
<KEY id="0xaf000000" name="StreamPP_RX"/>
<KEY id="0xb0000000" name="StreamPP_TX"/>
<KEY id="0xb1000000" name="StreamTX"/>
<KEY id="0xb3000000" name="VSID"/>
<KEY id="0xb4000000" name="BtProfile"/>
<KEY id="0xb5000000" name="BtFormat"/>
<KEY id="0xba000000" name="SW_Sidetone"/>
<KEY id="0xbc000000" name="Stream_Config"/>
<KEY id="0xd1000000" name="ProxyTxType"/>
<KEY id="0xd3000000" name="Stream"/>
<KEY id="0xd7000000" name="DeviceTX_EXT"/>
</GRAPH_KEY>
<CAL_KEY description="Calibration Keys">
<KEY id="0xa4000000" name="Volume"/>
<KEY id="0xa9000000" name="Channels"/>
<KEY id="0xbe000000" name="SP_Dev_Map"/>
<KEY id="0xd0000000" name="RAS_Switch"/>
<KEY id="0xbf000000" name="SP_VI_Map"/>
<KEY id="0xd2000000" name="Gain"/>
<KEY id="0xd4000000" name="StreamChannels"/>
<KEY id="0x800000" name="Spk_Mode"/>
</CAL_KEY>
<MODULE_TAGS>
<TAG id="0xc0000004" name="device_hw_ep_rx" description="Hw EP Rx">
<KEY id="0xa9000000" name="Channels"/>
</TAG>
<TAG id="0xc0000005" name="device_hw_ep_tx" description="Hw EP Tx">
<KEY id="0xa9000000" name="Channels"/>
</TAG>
<TAG id="0xc0000006" name="stream_pause" description="Stream Pause">
<KEY id="0xa7000000" name="Pause"/>
</TAG>
<TAG id="0xc0000007" name="stream_mute" description="Stream Mute">
<KEY id="0xa8000000" name="Mute"/>
</TAG>
<TAG id="0xc000000a" name="device_ecns" description="Ecns On/Off">
<KEY id="0xaa000000" name="ECNS"/>
</TAG>
<TAG id="0xc000000b" name="stream_mfc" description="Stream MFC">
<KEY id="0xa5000000" name="SamplingRate"/>
<KEY id="0xa6000000" name="BitWidth"/>
<KEY id="0xa9000000" name="Channels"/>
</TAG>
<TAG id="0xc000000d" name="stream_volume" description="Stream Volume">
<KEY id="0xa4000000" name="Volume"/>
</TAG>
<TAG id="0xc0000011" name="device_pp_mfc" description="Device PP MFC">
<KEY id="0xa5000000" name="SamplingRate"/>
<KEY id="0xa6000000" name="BitWidth"/>
<KEY id="0xa9000000" name="Channels"/>
</TAG>
<TAG id="0xc0000012" name="stream_placeholder_decoder" description="Placeholder Decoder">
<KEY id="0xae000000" name="MediaFmtID"/>
</TAG>
<TAG id="0xc0000014" name="stream_equalizer" description="Stream Equalizer">
<KEY id="0xb2000000" name="Equalizer"/>
</TAG>
<TAG id="0xc0000015" name="stream_virtualizer" description="Stream Virtualizer">
<KEY id="0xb9000000" name="Virtualizer_Switch"/>
</TAG>
<TAG id="0xc0000016" name="stream_reverb" description="Stream Reverb">
<KEY id="0xb8000000" name="Reverb_Switch"/>
</TAG>
<TAG id="0xc0000017" name="stream_pbe" description="Stream PBE">
<KEY id="0xb6000000" name="PBE_Switch"/>
</TAG>
<TAG id="0xc0000018" name="stream_bass_bost" description="Stream Bass Boost">
<KEY id="0xb7000000" name="BASS_BOOST_Switch"/>
</TAG>
<TAG id="0xc0000019" name="pspd_mfc" description="Per Stream Per Device MFC">
<KEY id="0xa5000000" name="SamplingRate"/>
<KEY id="0xa6000000" name="BitWidth"/>
<KEY id="0xa9000000" name="Channels"/>
</TAG>
<TAG id="0xc0000025" name="stream_slowtalk" description="Slow Talk">
<KEY id="0xbb000000" name="Stream_SlowTalk"/>
</TAG>
<TAG id="0xc0000026" name="module_channels" description="Module Channels">
<KEY id="0xa9000000" name="Channels"/>
</TAG>
<TAG id="0xc0000027" name="stream_muxdemux" description="Mux Demux">
<KEY id="0xbd000000" name="Stream_MuxDemux"/>
</TAG>
<TAG id="0xc000002b" name="device_pp_mbdrc" description="Device PP Mbdrc">
<KEY id="0xd2000000" name="Gain"/>
</TAG>
<TAG id="0xc000002d" name="stream_placeholder_encoder" description="Placeholder Encoder">
<KEY id="0xae000000" name="MediaFmtID"/>
</TAG>
<TAG id="0xc0001001" name="misound spk module switch" description="misound spk module switch">
<KEY id="0x10000" name="MISOUND_SPK_FX_Module_Switch"/>
</TAG>
<TAG id="0xc0001002" name="misound spk switch" description="misound spk switch">
<KEY id="0x20000" name="MISOUND_SPK_FX_Switch"/>
</TAG>
<TAG id="0xc0001003" name="misound spk mode" description="misound spk mode">
<KEY id="0x30000" name="MISOUND_SPK_Mode"/>
</TAG>
<TAG id="0xc0001004" name="misound spk rotation" description="misound spk rotation">
<KEY id="0x40000" name="MISOUND_SPK_ROTATION"/>
</TAG>
<TAG id="0xc0001005" name="misound spk stereo enhance mode" description="misound spk stereo enhance mode">
<KEY id="0x50000" name="MISOUND_SPK_STEREO_ENHANCE_MODE"/>
</TAG>
<TAG id="0xc0001006" name="misound spk vocal enhance mode" description="misound spk vocal enhance mode">
<KEY id="0x60000" name="MISOUND_SPK_VOCAL_ENHANCE_MODE"/>
</TAG>
<TAG id="0xc0001007" name="misound spk system sound" description="misound spk system sound">
<KEY id="0x70000" name="MISOUND_SPK_SYSTEM_SOUND"/>
</TAG>
<TAG id="0xc0001008" name="misound spk system sound" description="misound spk volume change">
<KEY id="0x80000" name="MISOUND_SPK_VOLUME_CHANGE_MODE"/>
</TAG>
<TAG id="0xc0001009" name="misound hph module switch" description="misound hph module switch">
<KEY id="0x90000" name="MISOUND_HPH_MODULE_SWITCH"/>
</TAG>
<TAG id="0xc000100a" name="misound hph switch" description="misound hph switch">
<KEY id="0xa0000" name="MISOUND_HPH_SWITCH"/>
</TAG>
<TAG id="0xc000100c" name="misound hph filteridx" description="misound hph eq enable">
<KEY id="0xc0000" name="MISOUND_HPH_EQ_ENABLE"/>
</TAG>
<TAG id="0xc000100e" name="misound hph music mode enable" description="misound hph musicmode enable">
<KEY id="0xe0000" name="MISOUND_HPH_MUSICMODE_ENABLE"/>
</TAG>
<TAG id="0xc000100f" name="misound hph mode type" description="misound hph mode type">
<KEY id="0xf0000" name="MISOUND_HPH_MODE_TYPE"/>
</TAG>
<TAG id="0xc0001010" name="misound hph stereo enhance" description="misound hph stereo enhance">
<KEY id="0x100000" name="MISOUND_HPH_STEREO_ENHANCE"/>
</TAG>
<TAG id="0xc0001011" name="misound hph vocal enhance" description="misound hph vocal enhance">
<KEY id="0x110000" name="MISOUND_HPH_VOCAL_ENHANCE"/>
</TAG>
<TAG id="0xc0001012" name="misound hph earcomp agemode" description="misound hph earcomp agemode">
<KEY id="0x120000" name="MISOUND_HPH_EARCOMP_AGEMODE"/>
</TAG>
<TAG id="0xc0001013" name="misound hph earcomp enable" description="misound hph earcomp agemode">
<KEY id="0x130000" name="MISOUND_HPH_EARCOMP_ENABLE"/>
</TAG>
<TAG id="0xc0001018" name="misound_update" description="Device misound update">
<KEY id="0xfc000000" name="MISOUND_UPDATE"/>
</TAG>
<TAG id="0xc0001020" name="misound karaoke reverb type" description="misound karaoke reverb type">
<KEY id="0x180000" name="MISOUND_KARAOKE_REVERB_TYPE"/>
</TAG>
<TAG id="0xc0001021" name="misound karaoke eq type" description="misound karaoke eq type">
<KEY id="0x190000" name="MISOUND_KARAOKE_EQ_TYPE"/>
</TAG>
<TAG id="0xc0001030" name="misound lrswitch module enable" description="misound lrswitch module enable">
<KEY id="0x1a0004" name="MISOUND_LRSWITCH_MODULE_ENABLE"/>
</TAG>
<TAG id="0xc0001031" name="misound lrswitch fx mode" description="misound lrswitch fx mode">
<KEY id="0x1a0005" name="MISOUND_LRSWITCH_FX_MODE"/>
</TAG>
<TAG id="0xc0001022" name="misound karaoke switch" description="misound karaoke switch">
<KEY id="0x1a0000" name="MISOUND_KARAOKE_SWITCH"/>
</TAG>
<TAG id="0xc0000033" name="device_al" description="Device AL">
<KEY id="0xd5000000" name="Input_Current_Limiter"/>
</TAG>
<TAG id="0xc0000034" name="audio_sphere" description="Sphere">
<KEY id="0xd6000000" name="Asphere"/>
</TAG>
<TAG id="0xc0000035" name="device_mute" description="Device Mute">
<KEY id="0xa8000000" name="Mute"/>
</TAG>
<TAG id="0xc0000036" name="data_logging" description="Data Logging">
<KEY id="0xd8000000" name="DataLogging"/>
</TAG>
<TAG id="0xc0000037" name="dtmf_generator" description="DTMF GENERATOR">
<KEY id="0xdf000000" name="Dtmf_Gen_KeyTone"/>
</TAG>
<TAG id="0xc0000038" name="dtmf_detector" description="DTMF DETECTOR">
<KEY id="0xde000000" name="Dtmf"/>
</TAG>
<TAG id="0xc0000039" name="mfc_speaker_swap" description="MFC Speaker Swap">
<KEY id="0xa5000000" name="SamplingRate"/>
<KEY id="0xa6000000" name="BitWidth"/>
<KEY id="0xa9000000" name="Channels"/>
</TAG>
<TAG id="0xc0000040" name="device_mux" description="Channel slot mask">
<KEY id="0xe0000000" name="SlotMask"/>
</TAG>
<TAG id="0xc000003c" name="duty_cycle" description="UPD duty cycle set">
<KEY id="0xe1000000" name="DutyCycle"/>
</TAG>
<TAG id="0xc0000041" name="devicepp_mute" description="DevicePP Mute">
<KEY id="0xa8000000" name="Mute"/>
</TAG>
<TAG id="0xc000003b" name="devicepp_ec_mfc" description="Devicepp EC MFC">
<KEY id="0xa5000000" name="SamplingRate"/>
</TAG>
<TAG id="0xc0000001" name="sh_ep"/>
<TAG id="0xc0000002" name="stream_input_media_format"/>
<TAG id="0xc0000003" name="stream_output_media_format"/>
<TAG id="0xc0000008" name="device_sva"/>
<TAG id="0xc0000009" name="device_adam"/>
<TAG id="0xc000000c" name="device_mfc"/>
<TAG id="0xc000000e" name="stream_pcm_decoder"/>
<TAG id="0xc000000f" name="stream_pcm_encoder"/>
<TAG id="0xc0000010" name="stream_pcm_converter"/>
<TAG id="0xc0000013" name="stream_spr"/>
<TAG id="0xc0000020" name="bt_encoder"/>
<TAG id="0xc0000021" name="cop_packetizer_v0"/>
<TAG id="0xc0000022" name="rate_adapter_module"/>
<TAG id="0xc0000023" name="bt_pcm_converter"/>
<TAG id="0xc0000024" name="bt_decoder"/>
<TAG id="0xc0000028" name="module_vi"/>
<TAG id="0xc0000029" name="module_sp"/>
<TAG id="0xc000002a" name="module_gapless"/>
<TAG id="0xc000002c" name="wr_sh_ep"/>
<TAG id="0xc000002e" name="rd_sh_ep"/>
<TAG id="0xc000002f" name="cop_packetizer_v2"/>
<TAG id="0xc0000030" name="cop_depacketizer_v2"/>
<TAG id="0xc0000031" name="context_detection_engine"/>
<TAG id="0xc0000032" name="ultrasound_detection_module"/>
<TAG id="0xc000003a" name="device_pop_suppressor"/>
<TAG id="0xc000100b" name="misound_hph_filteridx"/>
<TAG id="0xc000100d" name="misound_hph_eq_bandgains"/>
<TAG id="0xc00000db" name="dolby_dap"/>
<TAG id="0xc0001014" name="misound_hph_earcomp_bandgains_l"/>
<TAG id="0xc0001015" name="misound_hph_earcomp_bandgains_r"/>
<TAG id="0xc0001044" name="misound_karaoke_vocal_reserved1"/>
</MODULE_TAGS>
</KEY_DEF>
+128
View File
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2021 The Linux Foundation. All rights reserved
Not a Contribution
Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Included>
<Decoders>
<!-- C2 audio decoders -->
<MediaCodec name="c2.qti.alac.sw.decoder" type="audio/alac" rank="0">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-192000" />
<Limit name="bitrate" range="1-100000000" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<MediaCodec name="c2.qti.ape.sw.decoder" type="audio/x-ape" rank="0">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="8000-192000" />
<Limit name="bitrate" range="1-100000000" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<MediaCodec name="c2.qti.evrc.sw.decoder" type="audio/evrc" rank="0">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="1-9600" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<MediaCodec name="c2.qti.qcelp.sw.decoder" type="audio/qcelp" rank="0">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="1-9600" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<MediaCodec name="c2.qti.flac.sw.decoder" type="audio/flac">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-192000" />
<Limit name="bitrate" range="1-9216000" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<MediaCodec name="c2.qti.dsd.sw.decoder" type="audio/dsd" rank="0">
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="8000-22579200" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<MediaCodec name="c2.qti.aac.hw.decoder" type="audio/mp4a-latm">
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="8000-96000" />
<Limit name="bitrate" range="8000-1536000" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<MediaCodec name="c2.qti.alac.hw.decoder" type="audio/alac" rank="1">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-192000" />
<Limit name="bitrate" range="1-100000000" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<!--2023.3.3 longcheer wulei4 modify this for remove support wma type-->
<!-- <MediaCodec name="c2.qti.wma.hw.decoder" type="audio/x-ms-wma" rank="0">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-96000" />
<Limit name="bitrate" range="8000-1536000" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec> -->
<MediaCodec name="c2.qti.ape.hw.decoder" type="audio/x-ape" rank="1">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="8000-192000" />
<Limit name="bitrate" range="1-100000000" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
<MediaCodec name="c2.qti.amrwbplus.hw.decoder" type="audio/amr-wb-plus" rank="0">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="8000-48000" />
<Limit name="bitrate" range="5200-48000" />
<Limit name="concurrent-instances" max="2" />
</MediaCodec>
</Decoders>
<Encoders>
<!-- C2 audio encoders -->
<MediaCodec name="c2.qti.amrnb.hw.encoder" type="audio/3gpp">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="4750-12200" />
<Limit name="concurrent-instances" max="2" />
<Feature name="special-codec" required="true" />
</MediaCodec>
<MediaCodec name="c2.qti.amrwb.hw.encoder" type="audio/amr-wb">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="16000" />
<Limit name="bitrate" range="6600-23850" />
<Limit name="concurrent-instances" max="2" />
<Feature name="special-codec" required="true" />
</MediaCodec>
<MediaCodec name="c2.qti.aac.hw.encoder" type="audio/mp4a-latm">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="8000-48000" />
<Limit name="bitrate" range="4000-192000" />
<Limit name="concurrent-instances" max="2" />
<Feature name="special-codec" required="true" />
</MediaCodec>
<MediaCodec name="c2.qti.evrc.hw.encoder" type="audio/evrc" rank="0">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="1-9600" />
<Limit name="concurrent-instances" max="2" />
<Feature name="special-codec" required="true" />
</MediaCodec>
<MediaCodec name="c2.qti.qcelp.hw.encoder" type="audio/qcelp" rank="0">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="1-13600" />
<Limit name="concurrent-instances" max="2" />
<Feature name="special-codec" required="true" />
</MediaCodec>
</Encoders>
</Included>
+49
View File
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
This program is protected under international and U.S. copyright laws as
an unpublished work. This program is confidential and proprietary to the
copyright owners. Reproduction or disclosure, in whole or in part, or the
production of derivative works therefrom without the express permission of
the copyright owners is prohibited.
Copyright (C) 2020-2021 by Dolby Laboratories,
All rights reserved.
-->
<Included>
<Decoders>
<!-- DOLBY_UDC -->
<MediaCodec name="c2.dolby.eac3.decoder" >
<Type name="audio/ac3">
<Alias name="OMX.dolby.ac3.decoder" />
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-640000" />
</Type>
<Type name="audio/eac3">
<Alias name="OMX.dolby.eac3.decoder" />
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Type name="audio/eac3-joc">
<Alias name="OMX.dolby.eac3-joc.decoder" />
<Limit name="channel-count" max="16" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="32000-6144000" />
</Type>
<Attribute name="software-codec" />
</MediaCodec>
<!-- DOLBY_UDC END -->
<!-- DOLBY_AC4 -->
<MediaCodec name="c2.dolby.ac4.decoder" type="audio/ac4">
<Alias name="OMX.dolby.ac4.decoder" />
<Limit name="channel-count" max="16" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="16000-2688000" />
<Attribute name="software-codec" />
</MediaCodec>
<!-- DOLBY_AC4 END -->
</Decoders>
</Included>
@@ -0,0 +1,161 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2018-2022 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
Not a Contribution.
Copyright (C) 2012-2017 The Linux Foundation. All rights reserved.
Copyright (C) 2012-2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<MediaCodecs>
<Encoders>
<MediaCodec name="c2.qti.avc.encoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="238-238" />
<Limit name="measured-frame-rate-720x480" range="123-123" />
<Limit name="measured-frame-rate-1280x720" range="50-50" />
<Limit name="measured-frame-rate-1920x1080" range="55-65" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.encoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-320x240" range="226-226" />
<Limit name="measured-frame-rate-720x480" range="121-121" />
<Limit name="measured-frame-rate-1280x720" range="49-49" />
<Limit name="measured-frame-rate-1920x1080" range="55-65" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.encoder.cq" type="video/hevc" update="true">
<Limit name="measured-frame-rate-320x240" range="226-226" />
</MediaCodec>
<MediaCodec name="c2.android.avc.encoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="124-176" />
<Limit name="measured-frame-rate-720x480" range="53-76" />
<Limit name="measured-frame-rate-1280x720" range="35-50" />
<Limit name="measured-frame-rate-1920x1080" range="19-28" />
</MediaCodec>
<MediaCodec name="c2.android.hevc.encoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-320x240" range="55-65" />
<Limit name="measured-frame-rate-720x480" range="7-10" />
<Limit name="measured-frame-rate-1280x720" range="3-6" />
<Limit name="measured-frame-rate-1920x1080" range="2-3" />
</MediaCodec>
<!--longcheer luzaiyang edit 3gpp encoder range start-->
<MediaCodec name="c2.android.h263.encoder" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="195-292" />
</MediaCodec>
<!--longcheer luzaiyang edit 3gpp encoder range end-->
<!--longcheer luzaiyang edit mp4v encoder range start-->
<MediaCodec name="c2.android.mpeg4.encoder" type="video/mp4v-es" update="true">
<Limit name="measured-frame-rate-176x144" range="178-280" />
</MediaCodec>
<MediaCodec name="c2.android.av1.encoder" type="video/av01" update="true">
<Limit name="measured-frame-rate-320x240" range="422-740" />
<Limit name="measured-frame-rate-720x480" range="422-740"/>
</MediaCodec>
<!--longcheer luzaiyang edit mp4v encoder range end-->
<MediaCodec name="c2.android.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="85-119" />
<Limit name="measured-frame-rate-640x360" range="41-65" />
<Limit name="measured-frame-rate-1280x720" range="21-30" />
<Limit name="measured-frame-rate-1920x1080" range="30-60" />
</MediaCodec>
</Encoders>
<Decoders>
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="480-510" />
<Limit name="measured-frame-rate-720x480" range="460-490" />
<Limit name="measured-frame-rate-1280x720" range="350-400" />
<Limit name="measured-frame-rate-1920x1088" range="180-190" />
</MediaCodec>
<MediaCodec name="c2.android.av1-dav1d.decoder" type="video/av01" update="true">
<Limit name="measured-frame-rate-352x288" range="480-490" />
<Limit name="measured-frame-rate-640x360" range="380-390" />
<Limit name="measured-frame-rate-720x480" range="320-330" />
<Limit name="measured-frame-rate-1280x720" range="200-220" />
</MediaCodec>
<MediaCodec name="c2.qti.avc.decoder.low_latency" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="300-650" />
<Limit name="measured-frame-rate-720x480" range="280-630" />
<Limit name="measured-frame-rate-1280x720" range="100-200" />
<Limit name="measured-frame-rate-1920x1080" range="100-220" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="510-530" />
<Limit name="measured-frame-rate-720x480" range="465-620" />
<Limit name="measured-frame-rate-1280x720" range="200-390" />
<Limit name="measured-frame-rate-1920x1080" range="210-230" />
</MediaCodec>
<MediaCodec name="c2.qti.hevc.decoder.low_latency" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="320-690" />
<Limit name="measured-frame-rate-640x360" range="323-323" />
<Limit name="measured-frame-rate-720x480" range="290-660" />
<Limit name="measured-frame-rate-1280x720" range="270-590" />
<Limit name="measured-frame-rate-1920x1080" range="220-480" />
</MediaCodec>
<MediaCodec name="c2.qti.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x240" range="377-377" />
<Limit name="measured-frame-rate-640x360" range="323-323" />
<Limit name="measured-frame-rate-1280x720" range="262-262" />
<Limit name="measured-frame-rate-1920x1080" range="220-220" />
</MediaCodec>
<MediaCodec name="c2.qti.vp9.decoder.low_latency" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x180" range="722-816" />
<Limit name="measured-frame-rate-640x360" range="556-577" />
<Limit name="measured-frame-rate-1280x720" range="181-185" />
<Limit name="measured-frame-rate-1920x1080" range="106-110" />
</MediaCodec>
<MediaCodec name="c2.android.avc.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="370-750" />
<Limit name="measured-frame-rate-720x480" range="191-290" />
<Limit name="measured-frame-rate-1280x720" range="83-121" />
<Limit name="measured-frame-rate-1920x1080" range="39-55" />
</MediaCodec>
<MediaCodec name="c2.android.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="401-405" />
<Limit name="measured-frame-rate-640x360" range="211-385" />
<Limit name="measured-frame-rate-720x480" range="277-358" />
<Limit name="measured-frame-rate-1280x720" range="115-145" />
<Limit name="measured-frame-rate-1920x1080" range="20-29" />
</MediaCodec>
<MediaCodec name="c2.android.h263.decoder" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="1500-1742" />
<Limit name="measured-frame-rate-352x288" range="1000-1025" />
</MediaCodec>
<MediaCodec name="c2.android.mpeg4.decoder" type="video/mp4v-es" update="true">
<Limit name="measured-frame-rate-176x144" range="1695-1928" />
<Limit name="measured-frame-rate-480x360" range="931-940" />
<Limit name="measured-frame-rate-1280x720" range="55-120" />
</MediaCodec>
<MediaCodec name="c2.android.av1.decoder" type="video/av01" update="true">
<Limit name="measured-frame-rate-176x144" range="1500-1742"/>
<Limit name="measured-frame-rate-320x240" range="100-300"/>
<Limit name="measured-frame-rate-352x288" range="100-300"/>
<Limit name="measured-frame-rate-640x360" range="100-300"/>
<Limit name="measured-frame-rate-720x480" range="100-300"/>
<Limit name="measured-frame-rate-1280x720" range="13-70"/>
</MediaCodec>
<MediaCodec name="c2.android.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="1045-1050" />
<Limit name="measured-frame-rate-640x360" range="133-184" />
<Limit name="measured-frame-rate-1920x1080" range="30-60" />
</MediaCodec>
<MediaCodec name="c2.android.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x180" range="182-360" />
<Limit name="measured-frame-rate-640x360" range="85-200" />
<Limit name="measured-frame-rate-1280x720" range="143-176" />
<Limit name="measured-frame-rate-1920x1080" range="23-33" />
</MediaCodec>
</Decoders>
</MediaCodecs>
@@ -95,7 +95,8 @@
"enc_bitrate_boost": 15,
// time threshold of output buffer allocation loop since last input buffer queued(ms)
// 0 --> no such limitation (loop until allocation done)
"max_retry_alloc_output_timeout": 0,
// 2023.6.20 longcheer wulei4 modify this for HTH-294888
"max_retry_alloc_output_timeout": 2000,
// override default primaries to BT709 for >=UHD decode
"default_primaries_override" : 0,
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -1,922 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2020, 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 -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE -->
<!-- Changes from Qualcomm Innovation Center are provided under the following license: -->
<!-- -->
<!-- Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -->
<!-- SPDX-License-Identifier: BSD-3-Clause-Clear -->
<resource_manager_info>
<config_params>
<param key="native_audio_mode" value="multiple_mix_dsp"/>
<param key="max_sessions" value="128"/>
<param key="logging_level" value ="3" />
</config_params>
<config_gapless key="gapless_supported" value="1"/>
<bt_codecs>
<codec codec_format="CODEC_TYPE_AAC" codec_type="enc|dec"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_SBC" codec_type="enc|dec"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_LDAC" codec_type="enc"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_APTX" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_HD" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_DUAL_MONO" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD_SPEECH" codec_type="enc|dec"
codec_library="lib_bt_aptx.so" />
</bt_codecs>
<gain_db_to_level_mapping>
<gain_level_map db="-59" level="5"/>
<gain_level_map db="-17.4" level="4"/>
<gain_level_map db="-13.8" level="3"/>
<gain_level_map db="-10.2" level="2"/>
<gain_level_map db="0" level="1"/>
</gain_db_to_level_mapping>
<config_voice>
<vsid>0xB3000000</vsid>
<mode_map>
<modepair key="0x11C05000" value="0xB3000001"/>
<modepair key="0x11DC5000" value="0xB3000001"/>
<modepair key="0x12006000" value="0xB3000001"/>
<modepair key="0x121C6000" value="0xB3000001"/>
</mode_map>
</config_voice>
<device_profile>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset-mic</snd_device_name>
<!-- Comment the channels and backend lines and uncomment this when handset-dmic-endfire is needed
<channels>2</channels>
<snd_device_name>handset-dmic-endfire</snd_device_name>
-->
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>HW</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
<custom-config key="unprocessed-hdr-mic-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-portrait</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-portrait</snd_device_name>
</custom-config>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_SPEAKER_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>4</max_channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<channels>1</channels>
<snd_device_name>speaker-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<channels>2</channels>
<snd_device_name>speaker-dmic-endfire</snd_device_name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000010"/>
<!-- VOIP_FLUENCE_NN -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>OFF</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
<custom-config key="unprocessed-hdr-mic-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-portrait</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-portrait</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_LOOPBACK</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_WIRED_HEADSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>headset-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>HW</sidetone_mode>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<priority>1</priority>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_USB_HEADSET</id>
<back_end_name>USB_AUDIO-TX</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>usb-headset-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
</usecase>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<sidetone_mode>HW</sidetone_mode>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_FM_TUNER</id>
<back_end_name>SLIM-DEV1-TX-8</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>play-fm</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<usecase>
<name>PAL_STREAM_LOOPBACK</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_PROXY</id>
<back_end_name>PCM_RT_PROXY-TX-1</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<usecase>
<name>PAL_STREAM_PROXY</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>bt-a2dp</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_VA_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>va-mic</snd_device_name>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_HEADSET_VA_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>headset-va-mic</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<ec_rx_device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</in-device>
<in-device> <!-- Call record -->
<id>PAL_DEVICE_IN_TELEPHONY_RX</id>
<back_end_name>PCM_RT_PROXY-TX-1</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<usecase>
<name>PAL_STREAM_PROXY</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_ECHO_REF</id>
<back_end_name>PCM_DUMMY-TX-0</back_end_name>
<snd_device_name>echo-ref-record</snd_device_name>
<max_channels>1</max_channels>
<channels>1</channels>
<bit_width>16</bit_width>
<samplerate>48000</samplerate>
<usecase>
<name>PAL_STREAM_RAW</name>
</usecase>
</in-device>
<out-device>
<id>PAL_DEVICE_NONE</id>
<back_end_name>CODEC_DMA-LPAIF_WSA-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>none</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-1</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>speaker</snd_device_name>
<speaker_protection_enabled>0</speaker_protection_enabled>
<cps_enabled>0</cps_enabled>
<is_24_bit_supported>0</is_24_bit_supported>
<Charge_concurrency_enabled>0</Charge_concurrency_enabled>
<!--specify the supported bit format on speaker end point -->
<!--this should be in the form of pal_audio_fmt_id-->
<!--e.g <supported_bit_format >PAL_AUDIO_FMT_PCM_S24_LE</supported_bit_format>-->
<supported_bit_format>PAL_AUDIO_FMT_PCM_S16_LE</supported_bit_format>
<!-- RAS should be enabled with speaker protection always -->
<ras_enabled>0</ras_enabled>
<!-- Flag to specify speaker in case Voice call is switched from
handset to speaker with only 1 speaker.
Values: Both speaker : 0
Right speaker: 1
Left speaker : 2
-->
<speaker_mono_right>0</speaker_mono_right>
<!-- Time in seconds for Quick cal. Set 0 to disable -->
<quick_cal_time>0</quick_cal_time>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>2</priority>
<channels>1</channels>
<snd_device_name>speaker-mono-2</snd_device_name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<samplerate>16000</samplerate>
<priority>3</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset</snd_device_name>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>2</priority>
<snd_device_name>voice-handset</snd_device_name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>3</priority>
<snd_device_name>voice-handset</snd_device_name>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<fractional_sr>1</fractional_sr>
<snd_device_name>headphones</snd_device_name>
<!--HIFI Filter Headphones-Uncomment this when param key hifi_filter is true
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_PCM_OFFLOAD</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
-->
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>2</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<fractional_sr>1</fractional_sr>
<snd_device_name>headphones</snd_device_name>
<!--HIFI Filter Headphones-Uncomment this when param key hifi_filter is true
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_PCM_OFFLOAD</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
-->
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>2</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_USB_DEVICE</id>
<back_end_name>USB_AUDIO-RX</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>usb-headphones</snd_device_name>
<fractional_sr>1</fractional_sr>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_USB_HEADSET</id>
<back_end_name>USB_AUDIO-RX</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>usb-headphones</snd_device_name>
<fractional_sr>1</fractional_sr>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_PROXY</id>
<back_end_name>PCM_RT_PROXY-RX-1</back_end_name>
<max_channels>8</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<fractional_sr>0</fractional_sr>
<samplerate>48000</samplerate>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_SCO</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-sco</snd_device_name>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
</device_profile>
<in_streams>
<in_stream>
<name>PAL_STREAM_VOIP_TX</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_DEEP_BUFFER</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_VOICE_UI</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_PROXY</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_COMPRESSED</disabled_stream>
<disabled_stream>PAL_STREAM_ULTRA_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_COMPRESSED</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
</in_streams>
<sound_trigger_platform_info>
<param version="0x0100" /> <!-- this must be the first param -->
<common_config>
<param enable_failure_detection="false" />
<param support_device_switch="true" />
<param support_nlpi_switch="true" />
<param transit_to_non_lpi_on_charging="false" />
<!-- Param used to indicate if SVA has dedicated back end path and
ports not conflicting with other audio paths -->
<param dedicated_sva_path="true" />
<param dedicated_headset_path="false" />
<param lpi_enable="true" />
<param enable_debug_dumps="false" />
<param concurrent_capture="true" />
<param concurrent_voice_call="true" />
<param concurrent_voip_call="true" />
<param low_latency_bargein_enable="false" />
<param mmap_enable="true" />
<param mmap_buffer_duration="5000" />
<param mmap_frame_length="5" /> <!-- 5ms duration of data -->
</common_config>
<capture_profile_list>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="headset-va-mic" />
<param ec_ref="true" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="headset-va-mic-lpi" />
<param ec_ref="false" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="headset-va-mic" />
<param ec_ref="false" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-mono-lpi" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
</capture_profile_list>
<!-- Multiple sound_model_config tags can be listed, each with unique
-->
<!-- vendor_uuid. The below tag represents QTI SVA sound model -->
<!-- configuration. ISV must use their own unique vendor_uuid.
-->
<!-- QTI SVA -->
<sound_model_config>
<param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b"/>
<!-- durations in us -->
<param kw_start_tolerance="300000" />
<param kw_end_tolerance="240000" />
<param data_before_kw_start="360000" />
<param data_after_kw_end="200000" />
<param merge_first_stage_sound_models="false"/>
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="1000" /> <!-- Default history buffer length -->
<param client_capture_read_delay="2000" /> <!-- reserved buffer duration for rt data -->
<param pre_roll_duration="500" /> <!-- Default preroll duration -->
<operating_modes>
<low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_RAW_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
</operating_modes>
<arm_ss_usecase>
<!-- Options are "KEYWORD_DETECTION", "USER_VERIFICATION",
"CUSTOM_DETECTION" -->
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x2" />
<param module_lib="libcapiv2svacnnvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "USER_VERIFICATION" />
<param sm_id="0x4" />
<param module_lib="libcapiv2uvvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x8" />
<param module_lib="libcapiv2svarnnvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<module_params>
<param module_type="GMM" />
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000001"/>
</streamConfig-metadata>
</module_params>
<module_params>
<param module_type="PDK" />
<param load_sound_model_ids="0xC0000008, 0x0800124E"/>
<param unload_sound_model_ids="0xC0000008, 0x08001250"/>
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x0800124F"/>
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000006"/>
</streamConfig-metadata>
</module_params>
</sound_model_config>
<!-- Hotword -->
<sound_model_config>
<param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15"/>
<param get_module_version="false" />
<param kw_start_tolerance="100" />
<param kw_end_tolerance="100" />
<param merge_first_stage_sound_models="false"/>
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<operating_modes>
<low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_RAW_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI"/>
</operating_modes>
<module_params>
<param module_type="HOTWORD" />
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param unload_sound_model_ids="0xC0000008, 0x00012C15" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param version_ids="0xC0000008, 0x18000101" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
</module_params>
</sound_model_config>
</sound_trigger_platform_info>
</resource_manager_info>
-919
View File
@@ -1,919 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2020, 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 -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE -->
<!-- Changes from Qualcomm Innovation Center are provided under the following license: -->
<!-- -->
<!-- Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -->
<!-- SPDX-License-Identifier: BSD-3-Clause-Clear -->
<resource_manager_info>
<config_params>
<param key="native_audio_mode" value="multiple_mix_dsp"/>
<param key="max_sessions" value="128"/>
<param key="logging_level" value ="3" />
</config_params>
<config_gapless key="gapless_supported" value="1"/>
<bt_codecs>
<codec codec_format="CODEC_TYPE_AAC" codec_type="enc|dec"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_SBC" codec_type="enc|dec"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_LDAC" codec_type="enc"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_APTX" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_HD" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_DUAL_MONO" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD_SPEECH" codec_type="enc|dec"
codec_library="lib_bt_aptx.so" />
</bt_codecs>
<gain_db_to_level_mapping>
<gain_level_map db="-59" level="5"/>
<gain_level_map db="-17.4" level="4"/>
<gain_level_map db="-13.8" level="3"/>
<gain_level_map db="-10.2" level="2"/>
<gain_level_map db="0" level="1"/>
</gain_db_to_level_mapping>
<config_voice>
<vsid>0xB3000000</vsid>
<mode_map>
<modepair key="0x11C05000" value="0xB3000001"/>
<modepair key="0x11DC5000" value="0xB3000001"/>
<modepair key="0x12006000" value="0xB3000001"/>
<modepair key="0x121C6000" value="0xB3000001"/>
</mode_map>
</config_voice>
<device_profile>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset-mic</snd_device_name>
<!-- Comment the channels and backend lines and uncomment this when handset-dmic-endfire is needed
<channels>2</channels>
<snd_device_name>handset-dmic-endfire</snd_device_name>
-->
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>HW</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
<custom-config key="unprocessed-hdr-mic-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-portrait</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-portrait</snd_device_name>
</custom-config>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_SPEAKER_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>4</max_channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<channels>1</channels>
<snd_device_name>speaker-mic</snd_device_name>
<!-- Comment the channels and backend lines and uncomment this when speaker-dmic-endfire is needed
<channels>2</channels>
<snd_device_name>speaker-dmic-endfire</snd_device_name>
-->
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>OFF</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_LOOPBACK</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
<custom-config key="unprocessed-hdr-mic-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-portrait</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-portrait</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_WIRED_HEADSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>headset-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>HW</sidetone_mode>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<priority>1</priority>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_USB_HEADSET</id>
<back_end_name>USB_AUDIO-TX</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>usb-headset-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
</usecase>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<sidetone_mode>HW</sidetone_mode>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_FM_TUNER</id>
<back_end_name>SLIM-DEV1-TX-8</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>play-fm</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<usecase>
<name>PAL_STREAM_LOOPBACK</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_PROXY</id>
<back_end_name>PCM_RT_PROXY-TX-1</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<usecase>
<name>PAL_STREAM_PROXY</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>bt-a2dp</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_VA_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>va-mic</snd_device_name>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_HEADSET_VA_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>headset-va-mic</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<ec_rx_device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</in-device>
<in-device> <!-- Call record -->
<id>PAL_DEVICE_IN_TELEPHONY_RX</id>
<back_end_name>PCM_RT_PROXY-TX-1</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<usecase>
<name>PAL_STREAM_PROXY</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_ECHO_REF</id>
<back_end_name>PCM_DUMMY-TX-0</back_end_name>
<snd_device_name>echo-ref-record</snd_device_name>
<max_channels>1</max_channels>
<channels>1</channels>
<bit_width>16</bit_width>
<samplerate>48000</samplerate>
<usecase>
<name>PAL_STREAM_RAW</name>
</usecase>
</in-device>
<out-device>
<id>PAL_DEVICE_NONE</id>
<back_end_name>CODEC_DMA-LPAIF_WSA-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>none</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-1</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>speaker</snd_device_name>
<speaker_protection_enabled>0</speaker_protection_enabled>
<cps_enabled>0</cps_enabled>
<is_24_bit_supported>0</is_24_bit_supported>
<Charge_concurrency_enabled>0</Charge_concurrency_enabled>
<!--specify the supported bit format on speaker end point -->
<!--this should be in the form of pal_audio_fmt_id-->
<!--e.g <supported_bit_format >PAL_AUDIO_FMT_PCM_S24_LE</supported_bit_format>-->
<supported_bit_format>PAL_AUDIO_FMT_PCM_S16_LE</supported_bit_format>
<!-- RAS should be enabled with speaker protection always -->
<ras_enabled>0</ras_enabled>
<!-- Flag to specify speaker in case Voice call is switched from
handset to speaker with only 1 speaker.
Values: Both speaker : 0
Right speaker: 1
Left speaker : 2
-->
<speaker_mono_right>0</speaker_mono_right>
<!-- Time in seconds for Quick cal. Set 0 to disable -->
<quick_cal_time>0</quick_cal_time>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>2</priority>
<channels>1</channels>
<snd_device_name>speaker-mono-2</snd_device_name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>3</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset</snd_device_name>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>2</priority>
<snd_device_name>voice-handset</snd_device_name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>3</priority>
<snd_device_name>voice-handset</snd_device_name>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<fractional_sr>1</fractional_sr>
<snd_device_name>headphones</snd_device_name>
<!--HIFI Filter Headphones-Uncomment this when param key hifi_filter is true
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_PCM_OFFLOAD</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
-->
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>2</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<fractional_sr>1</fractional_sr>
<snd_device_name>headphones</snd_device_name>
<!--HIFI Filter Headphones-Uncomment this when param key hifi_filter is true
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_PCM_OFFLOAD</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
-->
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>2</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_USB_DEVICE</id>
<back_end_name>USB_AUDIO-RX</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>usb-headphones</snd_device_name>
<fractional_sr>1</fractional_sr>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_USB_HEADSET</id>
<back_end_name>USB_AUDIO-RX</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>usb-headphones</snd_device_name>
<fractional_sr>1</fractional_sr>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_PROXY</id>
<back_end_name>PCM_RT_PROXY-RX-1</back_end_name>
<max_channels>8</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<fractional_sr>0</fractional_sr>
<samplerate>48000</samplerate>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_SCO</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
</out-device>
</device_profile>
<in_streams>
<in_stream>
<name>PAL_STREAM_VOIP_TX</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_DEEP_BUFFER</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_VOICE_UI</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_PROXY</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_COMPRESSED</disabled_stream>
<disabled_stream>PAL_STREAM_ULTRA_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_COMPRESSED</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
</in_streams>
<sound_trigger_platform_info>
<param version="0x0100" /> <!-- this must be the first param -->
<common_config>
<param enable_failure_detection="false" />
<param support_device_switch="true" />
<param support_nlpi_switch="true" />
<param transit_to_non_lpi_on_charging="false" />
<!-- Param used to indicate if SVA has dedicated back end path and
ports not conflicting with other audio paths -->
<param dedicated_sva_path="true" />
<param dedicated_headset_path="false" />
<param lpi_enable="true" />
<param enable_debug_dumps="false" />
<param concurrent_capture="true" />
<param concurrent_voice_call="true" />
<param concurrent_voip_call="true" />
<param low_latency_bargein_enable="false" />
<param mmap_enable="true" />
<param mmap_buffer_duration="5000" />
<param mmap_frame_length="5" /> <!-- 5ms duration of data -->
</common_config>
<capture_profile_list>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="headset-va-mic" />
<param ec_ref="true" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="headset-va-mic-lpi" />
<param ec_ref="false" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="headset-va-mic" />
<param ec_ref="false" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-mono-lpi" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
</capture_profile_list>
<!-- Multiple sound_model_config tags can be listed, each with unique
-->
<!-- vendor_uuid. The below tag represents QTI SVA sound model -->
<!-- configuration. ISV must use their own unique vendor_uuid.
-->
<!-- QTI SVA -->
<sound_model_config>
<param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b"/>
<!-- durations in us -->
<param kw_start_tolerance="300000" />
<param kw_end_tolerance="240000" />
<param data_before_kw_start="360000" />
<param data_after_kw_end="200000" />
<param merge_first_stage_sound_models="false"/>
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="1000" /> <!-- Default history buffer length -->
<param client_capture_read_delay="2000" /> <!-- reserved buffer duration for rt data -->
<param pre_roll_duration="500" /> <!-- Default preroll duration -->
<operating_modes>
<low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_RAW_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
</operating_modes>
<arm_ss_usecase>
<!-- Options are "KEYWORD_DETECTION", "USER_VERIFICATION",
"CUSTOM_DETECTION" -->
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x2" />
<param module_lib="libcapiv2svacnnvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "USER_VERIFICATION" />
<param sm_id="0x4" />
<param module_lib="libcapiv2uvvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x8" />
<param module_lib="libcapiv2svarnnvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<module_params>
<param module_type="GMM" />
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000001"/>
</streamConfig-metadata>
</module_params>
<module_params>
<param module_type="PDK" />
<param load_sound_model_ids="0xC0000008, 0x0800124E"/>
<param unload_sound_model_ids="0xC0000008, 0x08001250"/>
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x0800124F"/>
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000006"/>
</streamConfig-metadata>
</module_params>
</sound_model_config>
<!-- Hotword -->
<sound_model_config>
<param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15"/>
<param get_module_version="false" />
<param kw_start_tolerance="100" />
<param kw_end_tolerance="100" />
<param merge_first_stage_sound_models="false"/>
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<operating_modes>
<low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_RAW_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI"/>
</operating_modes>
<module_params>
<param module_type="HOTWORD" />
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param unload_sound_model_ids="0xC0000008, 0x00012C15" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param version_ids="0xC0000008, 0x18000101" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
</module_params>
</sound_model_config>
</sound_trigger_platform_info>
</resource_manager_info>
@@ -1,917 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2020, 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 -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE -->
<!-- Changes from Qualcomm Innovation Center are provided under the following license: -->
<!-- -->
<!-- Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. -->
<!-- SPDX-License-Identifier: BSD-3-Clause-Clear -->
<resource_manager_info>
<config_params>
<param key="native_audio_mode" value="multiple_mix_dsp"/>
<param key="max_sessions" value="128"/>
<param key="logging_level" value ="3" />
</config_params>
<config_gapless key="gapless_supported" value="1"/>
<bt_codecs>
<codec codec_format="CODEC_TYPE_AAC" codec_type="enc|dec"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_SBC" codec_type="enc|dec"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_LDAC" codec_type="enc"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_APTX" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_HD" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_DUAL_MONO" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD_SPEECH" codec_type="enc|dec"
codec_library="lib_bt_aptx.so" />
</bt_codecs>
<gain_db_to_level_mapping>
<gain_level_map db="-59" level="5"/>
<gain_level_map db="-17.4" level="4"/>
<gain_level_map db="-13.8" level="3"/>
<gain_level_map db="-10.2" level="2"/>
<gain_level_map db="0" level="1"/>
</gain_db_to_level_mapping>
<config_voice>
<vsid>0xB3000000</vsid>
<mode_map>
<modepair key="0x11C05000" value="0xB3000001"/>
<modepair key="0x11DC5000" value="0xB3000001"/>
<modepair key="0x12006000" value="0xB3000001"/>
<modepair key="0x121C6000" value="0xB3000001"/>
</mode_map>
</config_voice>
<device_profile>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset-mic</snd_device_name>
<!-- Comment the channels and backend lines and uncomment this when handset-dmic-endfire is needed
<channels>2</channels>
<snd_device_name>handset-dmic-endfire</snd_device_name>
-->
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>HW</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
<custom-config key="unprocessed-hdr-mic-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-portrait</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-portrait</snd_device_name>
</custom-config>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_SPEAKER_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>4</max_channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<channels>1</channels>
<snd_device_name>speaker-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<channels>2</channels>
<snd_device_name>speaker-dmic-endfire</snd_device_name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000010"/>
<!-- VOIP_FLUENCE_FNN -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>OFF</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_LOOPBACK</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
<custom-config key="unprocessed-hdr-mic-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-portrait</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-landscape">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-landscape</snd_device_name>
</custom-config>
<custom-config key="unprocessed-hdr-mic-inverted-portrait">
<channels>4</channels>
<snd_device_name>unprocessed-hdr-mic-inverted-portrait</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_WIRED_HEADSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>headset-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>HW</sidetone_mode>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<priority>1</priority>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_USB_HEADSET</id>
<back_end_name>USB_AUDIO-TX</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>usb-headset-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
</usecase>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<sidetone_mode>HW</sidetone_mode>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_FM_TUNER</id>
<back_end_name>SLIM-DEV1-TX-8</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>play-fm</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<usecase>
<name>PAL_STREAM_LOOPBACK</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_PROXY</id>
<back_end_name>PCM_RT_PROXY-TX-1</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<usecase>
<name>PAL_STREAM_PROXY</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>bt-a2dp</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<ec_enable>1</ec_enable>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_VA_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>va-mic</snd_device_name>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_HEADSET_VA_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>headset-va-mic</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<ec_rx_device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</in-device>
<in-device> <!-- Call record -->
<id>PAL_DEVICE_IN_TELEPHONY_RX</id>
<back_end_name>PCM_RT_PROXY-TX-1</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<usecase>
<name>PAL_STREAM_PROXY</name>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_ECHO_REF</id>
<back_end_name>PCM_DUMMY-TX-0</back_end_name>
<snd_device_name>echo-ref-record</snd_device_name>
<max_channels>1</max_channels>
<channels>1</channels>
<bit_width>16</bit_width>
<samplerate>48000</samplerate>
<usecase>
<name>PAL_STREAM_RAW</name>
</usecase>
</in-device>
<out-device>
<id>PAL_DEVICE_NONE</id>
<back_end_name>CODEC_DMA-LPAIF_WSA-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<snd_device_name>none</snd_device_name>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-1</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>speaker</snd_device_name>
<speaker_protection_enabled>0</speaker_protection_enabled>
<cps_enabled>0</cps_enabled>
<is_24_bit_supported>0</is_24_bit_supported>
<Charge_concurrency_enabled>0</Charge_concurrency_enabled>
<!--specify the supported bit format on speaker end point -->
<!--this should be in the form of pal_audio_fmt_id-->
<!--e.g <supported_bit_format >PAL_AUDIO_FMT_PCM_S24_LE</supported_bit_format>-->
<supported_bit_format>PAL_AUDIO_FMT_PCM_S16_LE</supported_bit_format>
<!-- RAS should be enabled with speaker protection always -->
<ras_enabled>0</ras_enabled>
<!-- Flag to specify speaker in case Voice call is switched from
handset to speaker with only 1 speaker.
Values: Both speaker : 0
Right speaker: 1
Left speaker : 2
-->
<speaker_mono_right>0</speaker_mono_right>
<!-- Time in seconds for Quick cal. Set 0 to disable -->
<quick_cal_time>0</quick_cal_time>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>2</priority>
<channels>1</channels>
<snd_device_name>speaker-mono-2</snd_device_name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>3</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset</snd_device_name>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>2</priority>
<snd_device_name>voice-handset</snd_device_name>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>3</priority>
<snd_device_name>voice-handset</snd_device_name>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_WIRED_HEADSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<fractional_sr>1</fractional_sr>
<snd_device_name>headphones</snd_device_name>
<!--HIFI Filter Headphones-Uncomment this when param key hifi_filter is true
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_PCM_OFFLOAD</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
-->
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>2</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_WIRED_HEADPHONE</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<fractional_sr>1</fractional_sr>
<snd_device_name>headphones</snd_device_name>
<!--HIFI Filter Headphones-Uncomment this when param key hifi_filter is true
<usecase>
<name>PAL_STREAM_COMPRESSED</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_PCM_OFFLOAD</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<custom-config key="hifi-filter_custom_key">
<snd_device_name>headphones-hifi-filter</snd_device_name>
</custom-config>
</usecase>
-->
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_RX</name>
<priority>2</priority>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_USB_DEVICE</id>
<back_end_name>USB_AUDIO-RX</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>usb-headphones</snd_device_name>
<fractional_sr>1</fractional_sr>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_USB_HEADSET</id>
<back_end_name>USB_AUDIO-RX</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<snd_device_name>usb-headphones</snd_device_name>
<fractional_sr>1</fractional_sr>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_PROXY</id>
<back_end_name>PCM_RT_PROXY-RX-1</back_end_name>
<max_channels>8</max_channels>
<channels>2</channels>
<snd_device_name>afe-proxy</snd_device_name>
<fractional_sr>0</fractional_sr>
<samplerate>48000</samplerate>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<priority>1</priority>
</usecase>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_SCO</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
</out-device>
</device_profile>
<in_streams>
<in_stream>
<name>PAL_STREAM_VOIP_TX</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_DEEP_BUFFER</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_VOICE_UI</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_PROXY</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_COMPRESSED</disabled_stream>
<disabled_stream>PAL_STREAM_ULTRA_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_COMPRESSED</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
</in_streams>
<sound_trigger_platform_info>
<param version="0x0100" /> <!-- this must be the first param -->
<common_config>
<param enable_failure_detection="false" />
<param support_device_switch="true" />
<param support_nlpi_switch="true" />
<param transit_to_non_lpi_on_charging="false" />
<!-- Param used to indicate if SVA has dedicated back end path and
ports not conflicting with other audio paths -->
<param dedicated_sva_path="true" />
<param dedicated_headset_path="false" />
<param lpi_enable="true" />
<param enable_debug_dumps="false" />
<param concurrent_capture="true" />
<param concurrent_voice_call="true" />
<param concurrent_voip_call="true" />
<param low_latency_bargein_enable="false" />
<param mmap_enable="true" />
<param mmap_buffer_duration="5000" />
<param mmap_frame_length="5" /> <!-- 5ms duration of data -->
</common_config>
<capture_profile_list>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="headset-va-mic" />
<param ec_ref="true" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="headset-va-mic-lpi" />
<param ec_ref="false" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="headset-va-mic" />
<param ec_ref="false" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-mono-lpi" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
</capture_profile_list>
<!-- Multiple sound_model_config tags can be listed, each with unique
-->
<!-- vendor_uuid. The below tag represents QTI SVA sound model -->
<!-- configuration. ISV must use their own unique vendor_uuid.
-->
<!-- QTI SVA -->
<sound_model_config>
<param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b"/>
<!-- durations in us -->
<param kw_start_tolerance="300000" />
<param kw_end_tolerance="240000" />
<param data_before_kw_start="360000" />
<param data_after_kw_end="200000" />
<param merge_first_stage_sound_models="false"/>
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="1000" /> <!-- Default history buffer length -->
<param client_capture_read_delay="2000" /> <!-- reserved buffer duration for rt data -->
<param pre_roll_duration="500" /> <!-- Default preroll duration -->
<operating_modes>
<low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_RAW_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_FFECNS"/>
</operating_modes>
<arm_ss_usecase>
<!-- Options are "KEYWORD_DETECTION", "USER_VERIFICATION",
"CUSTOM_DETECTION" -->
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x2" />
<param module_lib="libcapiv2svacnnvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "USER_VERIFICATION" />
<param sm_id="0x4" />
<param module_lib="libcapiv2uvvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x8" />
<param module_lib="libcapiv2svarnnvendor.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<module_params>
<param module_type="GMM" />
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000001"/>
</streamConfig-metadata>
</module_params>
<module_params>
<param module_type="PDK" />
<param load_sound_model_ids="0xC0000008, 0x0800124E"/>
<param unload_sound_model_ids="0xC0000008, 0x08001250"/>
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x0800124F"/>
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000006"/>
</streamConfig-metadata>
</module_params>
</sound_model_config>
<!-- Hotword -->
<sound_model_config>
<param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15"/>
<param get_module_version="false" />
<param kw_start_tolerance="100" />
<param kw_end_tolerance="100" />
<param merge_first_stage_sound_models="false"/>
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<operating_modes>
<low_power capture_profile_handset="SINGLE_MIC_16KHZ_16BIT_RAW_LPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_LPI"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI" capture_profile_headset="SINGLE_MIC_16KHZ_16BIT_HEADSET_RAW_NLPI"/>
</operating_modes>
<module_params>
<param module_type="HOTWORD" />
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param unload_sound_model_ids="0xC0000008, 0x00012C15" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param version_ids="0xC0000008, 0x18000101" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
</module_params>
</sound_model_config>
</sound_trigger_platform_info>
</resource_manager_info>
-573
View File
@@ -1,573 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2019-2021, 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
-->
<!-- met:
-->
<!-- * Redistributions of source code must retain the above copyright
-->
<!-- notice, this list of conditions and the following disclaimer.
-->
<!-- * Redistributions in binary form must reproduce the above
-->
<!-- copyright notice, this list of conditions and the following
-->
<!-- disclaimer in the documentation and/or other materials provided
-->
<!-- with the distribution.
-->
<!-- * Neither the name of The Linux Foundation nor the names of its
-->
<!-- contributors may be used to endorse or promote products derived
-->
<!-- from this software without specific prior written permission.
-->
<!--
-->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
-->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
-->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
-->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<!-- Changes from Qualcomm Innovation Center are provided under the following license: -->
<!-- -->
<!-- Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -->
<!-- SPDX-License-Identifier: BSD-3-Clause-Clear -->
<resource_manager_info>
<config_params>
<param key="native_audio_mode" value="multiple_mix_dsp"/>
<param key="max_sessions" value="128"/>
<param key="logging_level" value ="3" />
</config_params>
<config_gapless key="gapless_supported" value="1"/>
<bt_codecs>
<codec codec_format="CODEC_TYPE_AAC" codec_type="enc|dec"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_SBC" codec_type="enc|dec"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_LDAC" codec_type="enc"
codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_APTX" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_HD" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_DUAL_MONO" codec_type="enc"
codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD_SPEECH" codec_type="enc|dec"
codec_library="lib_bt_aptx.so" />
</bt_codecs>
<gain_db_to_level_mapping>
<gain_level_map db="-59" level="5"/>
<gain_level_map db="-17.4" level="4"/>
<gain_level_map db="-13.8" level="3"/>
<gain_level_map db="-10.2" level="2"/>
<gain_level_map db="0" level="1"/>
</gain_db_to_level_mapping>
<config_voice>
<vsid>0xB3000000</vsid>
<mode_map>
<modepair key="0x11C05000" value="0xB3000001"/>
<modepair key="0x11DC5000" value="0xB3000001"/>
<modepair key="0x12006000" value="0xB3000001"/>
<modepair key="0x121C6000" value="0xB3000001"/>
</mode_map>
</config_voice>
<device_profile>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>HW</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_SPEAKER_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>4</max_channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<channels>1</channels>
<snd_device_name>speaker-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>OFF</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_LOOPBACK</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>bt-a2dp</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_VA_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>va-mic</snd_device_name>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</in-device>
<out-device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>speaker</snd_device_name>
<speaker_protection_enabled>0</speaker_protection_enabled>
<cps_enabled>0</cps_enabled>
<is_24_bit_supported>0</is_24_bit_supported>
<Charge_concurrency_enabled>0</Charge_concurrency_enabled>
<!-- RAS should be enabled with speaker protection always -->
<ras_enabled>0</ras_enabled>
<!-- Flag to specify speaker in case Voice call is switched from
handset to speaker with only 1 speaker.
Values: Both speaker : 0
Right speaker: 1
Left speaker : 2
-->
<speaker_mono_right>0</speaker_mono_right>
<!-- Time in seconds for Quick cal. Set 0 to disable -->
<quick_cal_time>0</quick_cal_time>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset</snd_device_name>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_SCO</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
</out-device>
</device_profile>
<in_streams>
<in_stream>
<name>PAL_STREAM_VOIP_TX</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_DEEP_BUFFER</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_VOICE_UI</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_PROXY</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_COMPRESSED</disabled_stream>
<disabled_stream>PAL_STREAM_ULTRA_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
</in_streams>
<sound_trigger_platform_info>
<param version="0x0100" /> <!-- this must be the first param -->
<common_config>
<param enable_failure_detection="false" />
<param support_device_switch="true" />
<param transit_to_non_lpi_on_charging="false" />
<!-- Param used to indicate if SVA has dedicated back end path and
ports not conflicting with other audio paths -->
<param dedicated_sva_path="true" />
<param dedicated_headset_path="false" />
<param lpi_enable="false" />
<param enable_debug_dumps="false" />
<param concurrent_capture="true" />
<param concurrent_voice_call="true" />
<param concurrent_voip_call="true" />
<param low_latency_bargein_enable="false" />
</common_config>
<capture_profile_list>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
</capture_profile_list>
<!-- Multiple sound_model_config tags can be listed, each with unique
-->
<!-- vendor_uuid. The below tag represents QTI SVA sound model -->
<!-- configuration. ISV must use their own unique vendor_uuid.
-->
<!-- QTI SVA -->
<sound_model_config>
<param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b"/>
<!-- durations in us -->
<param kw_start_tolerance="300000" />
<param kw_end_tolerance="240000" />
<param data_before_kw_start="360000" />
<param data_after_kw_end="200000" />
<param merge_first_stage_sound_models="false"/>
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<operating_modes>
<low_power capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFNS"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS"/>
</operating_modes>
<arm_ss_usecase>
<!-- Options are "KEYWORD_DETECTION", "USER_VERIFICATION",
"CUSTOM_DETECTION" -->
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x2" />
<param module_lib="libcapiv2svacnn.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "USER_VERIFICATION" />
<param sm_id="0x4" />
<param module_lib="libcapiv2vop.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x8" />
<param module_lib="libcapiv2svarnn.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<module_params>
<param module_type="GMM" />
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000001"/>
</streamConfig-metadata>
</module_params>
<module_params>
<param module_type="PDK" />
<param load_sound_model_ids="0xC0000008, 0x0800124E"/>
<param unload_sound_model_ids="0xC0000008, 0x08001250"/>
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x0800124F"/>
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000006"/>
</streamConfig-metadata>
</module_params>
</sound_model_config>
<!-- Hotword -->
<sound_model_config>
<param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15"/>
<param get_module_version="false" />
<param kw_start_tolerance="100" />
<param kw_end_tolerance="100" />
<param merge_first_stage_sound_models="false"/>
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<operating_modes>
<low_power capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_LPI"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI"/>
</operating_modes>
<module_params>
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param unload_sound_model_ids="0xC0000008, 0x00012C15" />
<param custom_config_ids="0xC0000008, 0x00012C20" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param version_ids="0xC0000008, 0x18000101" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000002"/>
</streamConfig-metadata>
</module_params>
</sound_model_config>
</sound_trigger_platform_info>
</resource_manager_info>
-570
View File
@@ -1,570 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2020, 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 -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE -->
<!-- Changes from Qualcomm Innovation Center are provided under the following license: -->
<!-- -->
<!-- Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. -->
<!-- SPDX-License-Identifier: BSD-3-Clause-Clear -->
<resource_manager_info>
<config_params>
<param key="native_audio_mode" value="multiple_mix_dsp"/>
<!-- Uncomment HIFI Filter Headphones related sections when set this
hifi_filter key to true -->
<param key="hifi_filter" value="false"/>
<param key="max_sessions" value="128"/>
<!-- Revisit, default is 2 -->
<param key="max_nonTunnel_sessions" value="4"/>
<param key="logging_level" value ="3" />
<param key="context_manager_enable" value ="false" />
<!-- Revisit later, used for PAL_STREAM_ULTRASOUND -->
<param key="upd_dedicated_be" value ="false" />
<param key="upd_duty_cycle_enable" value="false" />
<param key="dual_mono" value ="false" />
<param key="signal_handler" value ="true" />
<param key="device_mux_config" value ="false" />
</config_params>
<config_volume>
<use_volume_set_param>0</use_volume_set_param>
<supported_streams>
<supported_stream>PAL_STREAM_ULTRA_LOW_LATENCY</supported_stream>
<supported_stream>PAL_STREAM_COMPRESSED</supported_stream>
</supported_streams>
</config_volume>
<config_lpm>
<use_disable_lpm>1</use_disable_lpm>
<lpm_supported_streams>
<lpm_supported_stream>PAL_STREAM_LOW_LATENCY</lpm_supported_stream>
<lpm_supported_stream>PAL_STREAM_ULTRA_LOW_LATENCY</lpm_supported_stream>
</lpm_supported_streams>
</config_lpm>
<config_gapless key="gapless_supported" value="1"/>
<bt_codecs>
<codec codec_format="CODEC_TYPE_AAC" codec_type="enc|dec" codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_SBC" codec_type="enc|dec" codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_LDAC" codec_type="enc" codec_library="lib_bt_bundle.so" />
<codec codec_format="CODEC_TYPE_APTX" codec_type="enc" codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_HD" codec_type="enc" codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD" codec_type="enc" codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_DUAL_MONO" codec_type="enc" codec_library="lib_bt_aptx.so" />
<codec codec_format="CODEC_TYPE_APTX_AD_SPEECH" codec_type="enc|dec" codec_library="lib_bt_aptx.so" />
</bt_codecs>
<gain_db_to_level_mapping>
<gain_level_map db="-59" level="5"/>
<gain_level_map db="-17.4" level="4"/>
<gain_level_map db="-13.8" level="3"/>
<gain_level_map db="-10.2" level="2"/>
<gain_level_map db="0" level="1"/>
</gain_db_to_level_mapping>
<config_voice>
<vsid>0xB3000000</vsid>
<loopbackDelay>1000</loopbackDelay>
<maxVolIndex>5</maxVolIndex>
<mode_map>
<modepair key="0x11C05000" value="0xB3000001"/>
<modepair key="0x11DC5000" value="0xB3000001"/>
<modepair key="0x12006000" value="0xB3000001"/>
<modepair key="0x121C6000" value="0xB3000001"/>
</mode_map>
</config_voice>
<device_profile>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset-mic</snd_device_name>
<ec_enable>0</ec_enable>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>HW</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_SPEAKER_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-TX-3</back_end_name>
<max_channels>4</max_channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<channels>1</channels>
<snd_device_name>speaker-mic</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<sidetone_mode>OFF</sidetone_mode>
<bit_width>16</bit_width>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_LOOPBACK</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_SCO_HEADSET</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>bt-a2dp</snd_device_name>
<usecase>
<name>PAL_STREAM_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_DEEP_BUFFER</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000002"/>
<!-- AUDIO_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOIP_TX</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000007"/>
<!-- VOIP_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_VOICE_CALL</name>
<devicePP-metadata>
<kvpair key="0xAD000000" value="0xAD000008"/>
<!-- VOICE_FLUENCE_SMECNS -->
<!-- These key and value are derived from kvh2xml.h and
should always be in sync with it -->
</devicePP-metadata>
</usecase>
<usecase>
<name>PAL_STREAM_ULTRA_LOW_LATENCY</name>
<devicePP-metadata>
</devicePP-metadata>
</usecase>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_HANDSET_VA_MIC</id>
<back_end_name>CODEC_DMA-LPAIF_VA-TX-0</back_end_name>
<max_channels>2</max_channels>
<channels>2</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>va-mic</snd_device_name>
<ec_rx_device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<id>PAL_DEVICE_OUT_HANDSET</id>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
</ec_rx_device>
</in-device>
<in-device>
<id>PAL_DEVICE_IN_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-TX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</in-device>
<out-device>
<id>PAL_DEVICE_OUT_SPEAKER</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>speaker</snd_device_name>
<speaker_protection_enabled>0</speaker_protection_enabled>
<cps_enabled>0</cps_enabled>
<is_24_bit_supported>0</is_24_bit_supported>
<Charge_concurrency_enabled>0</Charge_concurrency_enabled>
<!-- RAS should be enabled with speaker protection always -->
<ras_enabled>0</ras_enabled>
<!-- Flag to specify speaker in case Voice call is switched from
handset to speaker with only 1 speaker.
Values: Both speaker : 0
Right speaker: 1
Left speaker : 2
-->
<speaker_mono_right>0</speaker_mono_right>
<!-- Time in seconds for Quick cal. Set 0 to disable -->
<quick_cal_time>0</quick_cal_time>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_HANDSET</id>
<back_end_name>CODEC_DMA-LPAIF_RXTX-RX-0</back_end_name>
<max_channels>2</max_channels>
<channels>1</channels>
<samplerate>48000</samplerate>
<bit_width>16</bit_width>
<snd_device_name>handset</snd_device_name>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_A2DP</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>44100</samplerate>
<bit_width>16</bit_width>
</out-device>
<out-device>
<id>PAL_DEVICE_OUT_BLUETOOTH_SCO</id>
<back_end_name>SLIM-DEV1-RX-7</back_end_name>
<max_channels>1</max_channels>
<channels>1</channels>
<snd_device_name>bt-a2dp</snd_device_name>
<samplerate>8000</samplerate>
<bit_width>16</bit_width>
</out-device>
</device_profile>
<in_streams>
<in_stream>
<name>PAL_STREAM_VOIP_TX</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_DEEP_BUFFER</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_VOICE_UI</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
<in_stream>
<name>PAL_STREAM_PROXY</name>
<policies>
<ec_ref>
<disabled_stream>PAL_STREAM_COMPRESSED</disabled_stream>
<disabled_stream>PAL_STREAM_ULTRA_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_LOW_LATENCY</disabled_stream>
<disabled_stream>PAL_STREAM_GENERIC</disabled_stream>
</ec_ref>
</policies>
</in_stream>
</in_streams>
<sound_trigger_platform_info>
<param version="0x0100" /> <!-- this must be the first param -->
<common_config>
<param enable_failure_detection="false" />
<param support_device_switch="true" />
<param transit_to_non_lpi_on_charging="false" />
<!-- Param used to indicate if SVA has dedicated back end path and
ports not conflicting with other audio paths -->
<param dedicated_sva_path="true" />
<param dedicated_headset_path="false" />
<param lpi_enable="false" />
<param enable_debug_dumps="false" />
<param concurrent_capture="true" />
<param concurrent_voice_call="true" />
<param concurrent_voip_call="true" />
<param low_latency_bargein_enable="false" />
</common_config>
<capture_profile_list>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_LPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000C"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_RAW_NLPI">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000E"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD00000B"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
<capture_profile name="SINGLE_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="1" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-mono" />
</capture_profile>
<capture_profile name="DUAL_MIC_16KHZ_16BIT_FFECNS">
<param sample_rate="16000" />
<param channels="2" />
<param bit_width="16" />
<devicePP-metadata>
<!-- see kvh2xml.h -->
<kvpair key="0xAD000000" value="0xAD000001"/>
</devicePP-metadata>
<param snd_name="va-mic-dmic" />
</capture_profile>
</capture_profile_list>
<!-- Multiple sound_model_config tags can be listed, each with unique
-->
<!-- vendor_uuid. The below tag represents QTI SVA sound model -->
<!-- configuration. ISV must use their own unique vendor_uuid.
-->
<!-- QTI SVA -->
<sound_model_config>
<param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b"/>
<!-- durations in us -->
<param kw_start_tolerance="300000" />
<param kw_end_tolerance="240000" />
<param data_before_kw_start="360000" />
<param data_after_kw_end="200000" />
<param merge_first_stage_sound_models="false"/>
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<operating_modes>
<low_power capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFNS"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_FFECNS"/>
</operating_modes>
<arm_ss_usecase>
<!-- Options are "KEYWORD_DETECTION", "USER_VERIFICATION",
"CUSTOM_DETECTION" -->
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x2" />
<param module_lib="libcapiv2svacnn.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "USER_VERIFICATION" />
<param sm_id="0x4" />
<param module_lib="libcapiv2vop.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<arm_ss_usecase>
<param sm_detection_type= "KEYWORD_DETECTION" />
<param sm_id="0x8" />
<param module_lib="libcapiv2svarnn.so"/>
<param sample_rate="16000"/>
<param bit_width="16"/>
<param channel_count="1"/>
</arm_ss_usecase>
<module_params>
<param module_type="GMM" />
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000001"/>
</streamConfig-metadata>
</module_params>
<module_params>
<param module_type="PDK" />
<param load_sound_model_ids="0xC0000008, 0x0800124E"/>
<param unload_sound_model_ids="0xC0000008, 0x08001250"/>
<param wakeup_config_ids="0xC0000008, 0x08001049" />
<param buffering_config_ids="0xC0000008, 0x0800124F"/>
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000006"/>
</streamConfig-metadata>
</module_params>
</sound_model_config>
<!-- Hotword -->
<sound_model_config>
<param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15"/>
<param get_module_version="false" />
<param kw_start_tolerance="100" />
<param kw_end_tolerance="100" />
<param merge_first_stage_sound_models="false"/>
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<!-- Profile specific data which the algorithm can support -->
<param sample_rate="16000" />
<param bit_width="16" />
<param out_channels="1"/> <!-- Module output channels -->
<param capture_keyword="2000" />
<param client_capture_read_delay="2000" />
<operating_modes>
<low_power capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_LPI"/>
<high_performance capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI"/>
<high_performance_and_charging capture_profile_handset="DUAL_MIC_16KHZ_16BIT_RAW_NLPI"/>
</operating_modes>
<module_params>
<param load_sound_model_ids="0xC0000008, 0x0800104C" />
<param unload_sound_model_ids="0xC0000008, 0x00012C15" />
<param custom_config_ids="0xC0000008, 0x00012C20" />
<param buffering_config_ids="0xC0000008, 0x08001044" />
<param version_ids="0xC0000008, 0x18000101" />
<param engine_reset_ids="0xC0000008, 0x08001051" />
<streamConfig-metadata>
<kvpair key="0xBC000000" value="0xBC000002"/>
</streamConfig-metadata>
</module_params>
</sound_model_config>
</sound_trigger_platform_info>
</resource_manager_info>
@@ -1,83 +0,0 @@
###################################################################################################
# Copyright (C) 2020-2021 The Linux Foundation. All rights reserved
# Not a Contribution
###################################################################################################
# Copyright (C) 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
futex: 1
# ioctl calls are filtered via the selinux policy.
ioctl: 1
sched_yield: 1
close: 1
dup: 1
ppoll: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
memfd_create: 1
ftruncate: 1
ftruncate64: 1
mremap: 1
munmap: 1
prctl: 1
getuid32: 1
writev: 1
sigaltstack: 1
clone: 1
exit: 1
lseek: 1
rt_sigprocmask: 1
openat: 1
open: 1
fstat64: 1
write: 1
nanosleep: 1
setpriority: 1
set_tid_address: 1
getdents64: 1
readlinkat: 1
readlink: 1
read: 1
pread64: 1
fstatfs64: 1
gettimeofday: 1
faccessat: 1
_llseek: 1
fstatat64: 1
ugetrlimit: 1
exit_group: 1
restart_syscall: 1
rt_sigreturn: 1
getrandom: 1
madvise: 1
# crash dump policy additions
sigreturn: 1
clock_gettime: 1
futex: 1
getpid: 1
gettid: 1
pipe2: 1
recvmsg: 1
process_vm_readv: 1
tgkill: 1
rt_sigaction: 1
rt_tgsigqueueinfo: 1
#prctl: arg0 == PR_GET_NO_NEW_PRIVS || arg0 == 0x53564d41
#mprotect: arg2 in 0x1|0x2
#mmap2: arg2 in 0x1|0x2
geteuid32: 1
getgid32: 1
getegid32: 1
getgroups32: 1
@@ -1,36 +0,0 @@
# Copyright (c) 2019-2021 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
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# device specific syscalls
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
-99
View File
@@ -1,99 +0,0 @@
#Copyright (c) 2020 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc
#Not a contribution.
#Copyright (C) 2018 The Android Open Source Project
#"Licensed under the Apache License, Version 2.0 (the \"License\");"
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#http://www.apache.org/licenses/LICENSE-2.0
#Unless required by applicable law or agreed to in writing, software
#"distributed under the License is distributed on an \"AS IS\" BASIS,"
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
#prctl: arg0 == PR_SET_VMA || arg0 == PR_SET_NO_NEW_PRIVS || arg0 == PR_GET_DUMPABLE || arg0 == PR_SET_SECCOMP || arg0 == 0x37 /* PR_??? */
prctl: 1
read: 1
openat: 1
close: 1
shutdown: 1
kill: 1
futex: 1
fstat: 1
gettimeofday: 1
readlinkat: 1
newfstatat: 1
mremap: 1
pread64: 1
fstatfs: 1
rt_sigaction: 1
faccessat: 1
socket: arg0 == AF_UNIX || arg0 == AF_QIPCRTR
writev: 1
connect: 1
rt_sigprocmask: 1
fcntl: 1
sendto: 1
getrandom: 1
lseek: 1
exit_group: 1
rt_tgsigqueueinfo: 1
write: 1
exit: 1
getpid: 1
sigaltstack: 1
recvmsg: 1
dup: 1
getrlimit: 1
restart_syscall: 1
clone: 1
gettid: 1
sched_getscheduler: 1
ioctl: 1
execve: 1
getuid: 1
madvise: 1
set_tid_address: 1
nanosleep: 1
rt_sigreturn: 1
rt_sigsuspend: 1
setpriority: 1
geteuid: 1
getgid: 1
getegid: 1
getgroups: 1
pipe2: 1
setitimer: 1
pselect6: 1
getsockname: 1
recvfrom: 1
#crash dump policy for Android T
sysinfo: 1
getdents64: 1
#policy end
ppoll: 1
socketpair: 1
setsockopt: 1
getsockopt: 1
sendmsg: 1
bind: 1
timer_create: 1
timer_settime: 1
timer_delete: 1
clock_gettime: 1
sched_getaffinity: 1
#crash dump policy addition
socket: 1
process_vm_readv: 1
tgkill: 1
sigreturn: 1
-67
View File
@@ -1,67 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!--
Copyright (c) 2021 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
This file is used by the framework to determine the list of applications that need to be
disabled for modem-less targets. Developers are requested to add/remove entries in this
list as and when a new telephony-related app is added to the source tree, or an existing
app is removed.
Each <packageinfo> tag corresponds to one app and has the following attributes:
1. name: The package name as defined in the app's AndroidManifest.xml.
2. path: The app's location on the file system.
a. For apps that have their own directory, e.g., /product/priv-app/Dialer/Dialer.apk,
this should point to the directory.
b. For apps that don't, e.g., /product/overlay/TelephonyResCommon_Sys.apk, this should
point to the apk.
-->
<packageinfos>
<packageinfo name="com.android.carrierdefaultapp" path="/system/app/CarrierDefaultApp" />
<packageinfo name="com.android.cellbroadcastreceiver" path="/system/priv-app/CellBroadcastLegacyApp" />
<packageinfo name="com.android.cellbroadcastreceiver.module" path="/apex/com.android.cellbroadcast/priv-app/CellBroadcastApp" />
<packageinfo name="com.android.cellbroadcastservice" path="/apex/com.android.cellbroadcast/priv-app/CellBroadcastServiceModule" />
<packageinfo name="com.android.dialer" path="/product/priv-app/Dialer" />
<packageinfo name="com.android.imsserviceentitlement" path="/product/priv-app/ImsServiceEntitlement" />
<packageinfo name="com.android.mms" path="/system_ext/priv-app/Mms" />
<packageinfo name="com.android.mms.service" path="/system/priv-app/MmsService" />
<packageinfo name="com.android.MultiplePdpTest" path="/system_ext/app/MultiplePdpTest" />
<packageinfo name="com.android.ons" path="/system/priv-app/ONS" />
<packageinfo name="com.android.phone" path="/system/priv-app/TeleService" />
<packageinfo name="com.android.phone.overlay.common" path="/product/overlay/TelephonyResCommon_Sys.apk" />
<packageinfo name="com.android.providers.telephony" path="/system/priv-app/TelephonyProvider" />
<packageinfo name="com.android.stk" path="/system/app/Stk" />
<packageinfo name="com.qti.confuridialer" path="/product/app/ConfURIDialer" />
<packageinfo name="com.qti.phone" path="/system_ext/app/QtiTelephony" />
<packageinfo name="com.qti.telephonysettings" path="/product/app/QtiTelephonySettings" />
<packageinfo name="com.qti.qualcomm.carriertest" path="/system_ext/app/CarrierTest" />
<packageinfo name="com.qti.qualcomm.datastatusnotification" path="/system_ext/app/datastatusnotification" />
<packageinfo name="com.qti.qualcomm.deviceinfo" path="/system_ext/app/DeviceInfo" />
<packageinfo name="com.qti.xdivert" path="/product/app/xdivert" />
<packageinfo name="com.qualcomm.atfwd" path="/system_ext/app/atfwd" />
<packageinfo name="com.qualcomm.embms" path="/system_ext/app/embms" />
<packageinfo name="com.qualcomm.embmstest" path="/system_ext/app/EmbmsTestApp" />
<packageinfo name="com.qualcomm.qcrilmsgtunnel" path="/system_ext/priv-app/qcrilmsgtunnel" />
<packageinfo name="com.qualcomm.qti.callfeaturessetting" path="/product/app/CallFeaturesSetting" />
<packageinfo name="com.qualcomm.qti.confdialer" path="/product/app/ConferenceDialer" />
<packageinfo name="com.qualcomm.qti.devicestatisticsservice" path="/system_ext/app/DeviceStatisticsService" />
<packageinfo name="com.qualcomm.qti.euiccresource" path="/product/app/EuiccResource" />
<packageinfo name="com.qualcomm.qti.ims" path="/system_ext/app/imssettings" />
<packageinfo name="com.qualcomm.qti.lpa" path="/product/app/uimlpaservice" />
<packageinfo name="com.qualcomm.qti.modemtestmode" path="/system_ext/app/ModemTestMode" />
<packageinfo name="com.qualcomm.qti.remoteSimlockAuth" path="/product/app/remoteSimLockAuthentication" />
<packageinfo name="com.qualcomm.qti.ridemodeaudio" path="/product/app/RideModeAudio" />
<packageinfo name="com.qualcomm.qti.simcontacts" path="/system_ext/app/SimContact" />
<packageinfo name="com.qualcomm.qti.telephonyservice" path="/system_ext/app/QtiTelephonyService" />
<packageinfo name="com.qualcomm.qti.uimGbaApp" path="/product/app/uimgbaservice" />
<packageinfo name="com.qualcomm.qti.uimlpatest" path="/product/app/uimlpatest" />
<packageinfo name="com.qualcomm.uimremoteclient" path="/product/app/uimremoteclient" />
<packageinfo name="com.qualcomm.uimremoteserver" path="/product/app/uimremoteserver" />
<packageinfo name="org.codeaurora.dialer" path="/system_ext/priv-app/QtiDialer" />
<packageinfo name="org.codeaurora.ims" path="/system_ext/priv-app/ims" />
</packageinfos>
File diff suppressed because it is too large. Load diff
@@ -36,5 +36,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<instance>default</instance>
<instance>software</instance>
</interface>
<fqname>@1.0::IComponentStore/default1</fqname> <!-- DOLBY ADD -->
</hal>
</manifest>
@@ -1,38 +0,0 @@
<!-- Copyright (c) 2021 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
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.soundtrigger</name>
<transport>hwbinder</transport>
<version>2.3</version>
<interface>
<name>ISoundTriggerHw</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
@@ -1,38 +0,0 @@
<!-- Copyright (c) 2021 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
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<manifest version="1.0" type="device">
<hal format="hidl">
<name>vendor.qti.hardware.ListenSoundModel</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IListenSoundModel</name>
<instance>default</instance>
</interface>
</hal>
</manifest>
@@ -1,12 +0,0 @@
<manifest version="1.0" type="device">
<!-- Charging HAL service -->
<hal format="hidl">
<name>vendor.xiaomi.hardware.micharge</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IMiCharge</name>
<instance>default</instance>
</interface>
</hal>
</manifest>