diff options
author | Isaac Chen <isaacchen@isaacchen.cn> | 2018-07-13 10:11:03 +0800 |
---|---|---|
committer | Isaac Chen <isaacchen@isaacchen.cn> | 2018-07-13 00:01:25 +0000 |
commit | 71ad0c9e5399aba0ac3cd20f1df41c9757cd6ca5 (patch) | |
tree | f9bd698e30cdb1e8a15fbebdd48e43b8f93272d0 /audio | |
parent | 103f8c68ff04e04a8b6de1c97dfb520f9286b692 (diff) |
wayne: Initial bringup
Change-Id: I211da5781d8c7a16199fd8a18e1b00cfc9e01944
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio_effects.conf | 353 | ||||
-rw-r--r-- | audio/audio_output_policy.conf | 70 | ||||
-rw-r--r-- | audio/audio_platform_info.xml | 269 | ||||
-rw-r--r-- | audio/audio_policy_configuration.xml | 348 | ||||
-rw-r--r-- | audio/audio_tuning_mixer.txt | 41 | ||||
-rw-r--r-- | audio/graphite_ipc_platform_info.xml | 47 | ||||
-rw-r--r-- | audio/listen_platform_info.xml | 42 | ||||
-rw-r--r-- | audio/mixer_paths.xml | 2498 | ||||
-rw-r--r-- | audio/sound_trigger_mixer_paths.xml | 178 | ||||
-rw-r--r-- | audio/sound_trigger_platform_info.xml | 137 |
10 files changed, 3983 insertions, 0 deletions
diff --git a/audio/audio_effects.conf b/audio/audio_effects.conf new file mode 100644 index 0000000..7de84e8 --- /dev/null +++ b/audio/audio_effects.conf @@ -0,0 +1,353 @@ +# List of effect libraries to load. Each library element must contain a "path" element +# giving the full path of the library .so file. +# libraries { +# <lib name> { +# path <lib path> +# } +# } +libraries { + bundle { + path /vendor/lib/soundfx/libbundlewrapper.so + } + reverb { + path /vendor/lib/soundfx/libreverbwrapper.so + } + qcbassboost { + path /vendor/lib/soundfx/libqcbassboost.so + } + qcvirt { + path /vendor/lib/soundfx/libqcvirt.so + } + qcreverb { + path /vendor/lib/soundfx/libqcreverb.so + } + visualizer_sw { + path /vendor/lib/soundfx/libvisualizer.so + } + visualizer_hw { + path /vendor/lib/soundfx/libqcomvisualizer.so + } + downmix { + path /vendor/lib/soundfx/libdownmix.so + } + loudness_enhancer { + path /vendor/lib/soundfx/libldnhncr.so + } + proxy { + path /vendor/lib/soundfx/libeffectproxy.so + } + offload_bundle { + path /vendor/lib/soundfx/libqcompostprocbundle.so + } + audio_pre_processing { + path /vendor/lib/soundfx/libqcomvoiceprocessing.so + } + volume_listener { + path /vendor/lib/soundfx/libvolumelistener.so + } + audiosphere { + path /vendor/lib/soundfx/libasphere.so + } +} + +# Default pre-processing library. Add to audio_effect.conf "libraries" section if +# audio HAL implements support for default software audio pre-processing effects +# +# pre_processing { +# path /vendor/lib/soundfx/libaudiopreprocessing.so +# } + +# list of effects to load. Each effect element must contain a "library" and a "uuid" element. +# The value of the "library" element must correspond to the name of one library element in the +# "libraries" element. +# The name of the effect element is indicative, only the value of the "uuid" element +# designates the effect. +# The uuid is the implementation specific UUID as specified by the effect vendor. This is not the +# generic effect type UUID. +# effects { +# <fx name> { +# library <lib name> +# uuid <effect uuid> +# } +# ... +# } + +effects { + +# additions for the proxy implementation +# Proxy implementation + #effectname { + #library proxy + #uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx + + # SW implemetation of the effect. Added as a node under the proxy to + # indicate this as a sub effect. + #libsw { + #library libSW + #uuid yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy + #} End of SW effect + + # HW implementation of the effect. Added as a node under the proxy to + # indicate this as a sub effect. + #libhw { + #library libHW + #uuid zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz + #}End of HW effect + #} End of effect proxy + + bassboost { + library proxy + uuid 14804144-a5ee-4d24-aa88-0002a5d5c51b + + libsw { + library qcbassboost + uuid 23aca180-44bd-11e2-bcfd-0800200c9a66 + } + + libhw { + library offload_bundle + uuid 2c4a8c24-1581-487f-94f6-0002a5d5c51b + } + } + virtualizer { + library proxy + uuid d3467faa-acc7-4d34-acaf-0002a5d5c51b + + libsw { + library qcvirt + uuid e6c98a16-22a3-11e2-b87b-f23c91aec05e + } + + libhw { + library offload_bundle + uuid 509a4498-561a-4bea-b3b1-0002a5d5c51b + } + } + equalizer { + library proxy + uuid c8e70ecd-48ca-456e-8a4f-0002a5d5c51b + + libsw { + library bundle + uuid ce772f20-847d-11df-bb17-0002a5d5c51b + } + + libhw { + library offload_bundle + uuid a0dac280-401c-11e3-9379-0002a5d5c51b + } + } + volume { + library bundle + uuid 119341a0-8469-11df-81f9-0002a5d5c51b + } + reverb_env_aux { + library proxy + uuid 48404ac9-d202-4ccc-bf84-0002a5d5c51b + + libsw { + library qcreverb + uuid a8c1e5f3-293d-43cd-95ec-d5e26c02e217 + } + + libhw { + library offload_bundle + uuid 79a18026-18fd-4185-8233-0002a5d5c51b + } + } + reverb_env_ins { + library proxy + uuid b707403a-a1c1-4291-9573-0002a5d5c51b + + libsw { + library qcreverb + uuid 791fff8b-8129-4655-83a4-59bc61034c3a + } + + libhw { + library offload_bundle + uuid eb64ea04-973b-43d2-8f5e-0002a5d5c51b + } + } + reverb_pre_aux { + library proxy + uuid 1b78f587-6d1c-422e-8b84-0002a5d5c51b + + libsw { + library qcreverb + uuid 53ef1db5-c0c0-445b-b060-e34d20ebb70a + } + + libhw { + library offload_bundle + uuid 6987be09-b142-4b41-9056-0002a5d5c51b + } + } + reverb_pre_ins { + library proxy + uuid f3e178d2-ebcb-408e-8357-0002a5d5c51b + + libsw { + library qcreverb + uuid b08a0e38-22a5-11e2-b87b-f23c91aec05e + } + + libhw { + library offload_bundle + uuid aa2bebf6-47cf-4613-9bca-0002a5d5c51b + } + } + visualizer { + library proxy + uuid 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c + + libsw { + library visualizer_sw + uuid d069d9e0-8329-11df-9168-0002a5d5c51b + } + + libhw { + library visualizer_hw + uuid 7a8044a0-1a71-11e3-a184-0002a5d5c51b + } + } + downmix { + library downmix + uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f + } + hw_acc { + library offload_bundle + uuid 7d1580bd-297f-4683-9239-e475b6d1d69f + } + loudness_enhancer { + library loudness_enhancer + uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c + } + aec { + library audio_pre_processing + uuid 0f8d0d2a-59e5-45fe-b6e4-248c8a799109 + } + ns { + library audio_pre_processing + uuid 1d97bb0b-9e2f-4403-9ae3-58c2554306f8 + } + music_helper { + library volume_listener + uuid 08b8b058-0590-11e5-ac71-0025b32654a0 + } + ring_helper { + library volume_listener + uuid 0956df94-0590-11e5-bdbe-0025b32654a0 + } + alarm_helper { + library volume_listener + uuid 09f303e2-0590-11e5-8fdb-0025b32654a0 + } + # voice_helper is called when stream type is voice_call in VoIP usecase + voice_helper { + library volume_listener + uuid 0ace5c08-0590-11e5-ae9e-0025b32654a0 + } + notification_helper { + library volume_listener + uuid 0b776dde-0590-11e5-81ba-0025b32654a0 + } + audiosphere { + library audiosphere + uuid 184e62ab-2d19-4364-9d1b-c0a40733866c + } +} + +# additional effect from vendor +# UUID generated using version 1 + +output_session_processing { + music { + music_helper { + } + } + ring { + ring_helper { + } + } + alarm { + alarm_helper { + } + } + # stream type voice_call is used for VoIP call + voice_call { + voice_helper { + } + } + notification { + notification_helper { + } + } +} + +# Added aec, ns effects for voice_communication, which are supported by the board + +pre_processing { + voice_communication { + aec { + } + ns { + } + } +} + +# Default pre-processing effects. Add to audio_effect.conf "effects" section if +# audio HAL implements support for them. +# +# agc { +# library pre_processing +# uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b +# } +# aec { +# library pre_processing +# uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b +# } +# ns { +# library pre_processing +# uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b +# } + +# Audio preprocessor configurations. +# The pre processor configuration consists in a list of elements each describing +# pre processor settings for a given input source. Valid input source names are: +# "mic", "camcorder", "voice_recognition", "voice_communication" +# Each input source element contains a list of effects elements. The name of the effect +# element must be the name of one of the effects in the "effects" list of the file. +# Each effect element may optionally contain a list of parameters and their +# default value to apply when the pre processor effect is created. +# A parameter is defined by a "param" element and a "value" element. Each of these elements +# consists in one or more elements specifying a type followed by a value. +# The types defined are: "int", "short", "float", "bool" and "string" +# When both "param" and "value" are a single int, a simple form is allowed where just +# the param and value pair is present in the parameter description +# pre_processing { +# <input source name> { +# <fx name> { +# <param 1 name> { +# param { +# int|short|float|bool|string <value> +# [ int|short|float|bool|string <value> ] +# ... +# } +# value { +# int|short|float|bool|string <value> +# [ int|short|float|bool|string <value> ] +# ... +# } +# } +# <param 2 name > {<param> <value>} +# ... +# } +# ... +# } +# ... +# } + +# +# TODO: add default audio pre processor configurations after debug and tuning phase +# diff --git a/audio/audio_output_policy.conf b/audio/audio_output_policy.conf new file mode 100644 index 0000000..a74791b --- /dev/null +++ b/audio/audio_output_policy.conf @@ -0,0 +1,70 @@ +# List of profiles for the output device session where stream is routed. +# A stream opened with the inputs attributes which match the "flags" and +# "formats" as specified in the profile is routed to a device at +# sample rate specified under "sampling_rates" and bit width under +# "bit_width" and the topology extracted from the acdb data against +# the "app_type". +# +# the flags and formats are specified using the strings corresponding to +# enums in audio.h and audio_policy.h. They are concatenated with "|" +# without space or "\n". +# the flags and formats should match the ones in "audio_policy.conf" + +outputs { + default { + flags AUDIO_OUTPUT_FLAG_PRIMARY + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 48000 + bit_width 16 + app_type 69937 + } + deep_buffer { + flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER + formats AUDIO_FORMAT_PCM_16_BIT + sampling_rates 48000 + bit_width 16 + app_type 69936 + } + direct_pcm_16 { + flags AUDIO_OUTPUT_FLAG_DIRECT + formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT + sampling_rates 44100|48000|88200|96000|176400|192000 + bit_width 16 + app_type 69936 + } + direct_pcm_24 { + flags AUDIO_OUTPUT_FLAG_DIRECT + formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_32_BIT + sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000 + bit_width 24 + app_type 69940 + } + direct_pcm_32 { + flags AUDIO_OUTPUT_FLAG_DIRECT + formats AUDIO_FORMAT_PCM_32_BIT + sampling_rates 44100|48000|88200|96000|176400|192000|352800|384000 + bit_width 32 + app_type 69942 + } + compress_passthrough { + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH + formats AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_E_AC3_JOC|AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD + sampling_rates 32000|44100|48000|88200|96000|176400|192000|352800 + bit_width 16 + app_type 69941 + } + compress_offload_16 { + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING + formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_AAC_ADTS_LC|AUDIO_FORMAT_AAC_ADTS_HE_V1|AUDIO_FORMAT_AAC_ADTS_HE_V2 + sampling_rates 44100|48000|88200|96000|176400|192000 + bit_width 16 + app_type 69936 + } + compress_offload_24 { + flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING + formats AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_VORBIS|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO + sampling_rates 44100|48000|88200|96000|176400|192000 + bit_width 24 + app_type 69940 + } +} diff --git a/audio/audio_platform_info.xml b/audio/audio_platform_info.xml new file mode 100644 index 0000000..f94f178 --- /dev/null +++ b/audio/audio_platform_info.xml @@ -0,0 +1,269 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- Copyright (c) 2014, 2016-2017, The Linux Foundation. All rights reserved. --> +<!-- --> +<!-- Redistribution and use in source and binary forms, with or without --> +<!-- modification, are permitted provided that the following conditions are --> +<!-- 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. --> +<audio_platform_info> + <bit_width_configs> + <device name="SND_DEVICE_OUT_SPEAKER" bit_width="24"/> + </bit_width_configs> + <interface_names> + <device name="AUDIO_DEVICE_IN_BUILTIN_MIC" interface="SLIMBUS_0" codec_type="external"/> + <device name="AUDIO_DEVICE_IN_BACK_MIC" interface="SLIMBUS_0" codec_type="external"/> + <device name="AUDIO_DEVICE_IN_BUILTIN_MIC" interface="INT3_MI2S" codec_type="internal"/> + <device name="AUDIO_DEVICE_IN_BACK_MIC" interface="INT3_MI2S" codec_type="internal"/> + </interface_names> + <pcm_ids> + <usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="13"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="8"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD2" type="out" id="15"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD3" type="out" id="16"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD4" type="out" id="28"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD5" type="out" id="29"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD6" type="out" id="30"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD7" type="out" id="31"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD8" type="out" id="32"/> + <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD9" type="out" id="33"/> + <usecase name="USECASE_VOICEMMODE1_CALL" type="in" id="2"/> + <usecase name="USECASE_VOICEMMODE1_CALL" type="out" id="2"/> + <usecase name="USECASE_VOICEMMODE2_CALL" type="in" id="19"/> + <usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="19"/> + <usecase name="USECASE_VOWLAN_CALL" type="in" id="-1"/> + <usecase name="USECASE_VOWLAN_CALL" type="out" id="-1"/> + <usecase name="USECASE_AUDIO_PLAYBACK_FM" type="out" id="5"/> + <usecase name="USECASE_AUDIO_PLAYBACK_FM" type="in" id="34"/> + <usecase name="USECASE_AUDIO_SPKR_CALIB_RX" type="out" id="5"/> + <usecase name="USECASE_AUDIO_SPKR_CALIB_TX" type="in" id="40"/> + <usecase name="USECASE_AUDIO_PLAYBACK_AFE_PROXY" type="out" id="6"/> + <usecase name="USECASE_AUDIO_RECORD_AFE_PROXY" type="in" id="7"/> + <usecase name="USECASE_AUDIO_RECORD_LOW_LATENCY" type="in" id="17" /> + <usecase name="USECASE_AUDIO_PLAYBACK_ULL" type="out" id="17" /> + <usecase name="USECASE_AUDIO_PLAYBACK_EXT_DISP_SILENCE" type="out" id="27" /> + <usecase name="USECASE_AUDIO_HFP_SCO" type="in" id="12" /> + <usecase name="USECASE_AUDIO_HFP_SCO_WB" type="in" id="12" /> + </pcm_ids> + <config_params> + <!-- In the below value string, the value indicates default mono --> + <!-- speaker. It can be set to either left or right --> + <param key="mono_speaker" value="left"/> + <param key="spkr_1_tz_name" value="wsatz.11"/> + <param key="spkr_2_tz_name" value="wsatz.12"/> + <param key="true_32_bit" value="true"/> + <param key="native_audio_mode" value="true"/> + <param key="hfp_pcm_dev_id" value="39"/> + <param key="input_mic_max_count" value="4"/> + </config_params> + <acdb_ids> + <device name="SND_DEVICE_OUT_SPEAKER" acdb_id="15"/> + <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="124"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" acdb_id="101"/> + <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED_VBAT" acdb_id="124"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED_VBAT" acdb_id="101"/> + <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" acdb_id="102"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED" acdb_id="150"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED_VBAT" acdb_id="150"/> + <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_1" acdb_id="151"/> + <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_2" acdb_id="152"/> + + <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" acdb_id="124"/> + <device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="18"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="34"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2" acdb_id="34"/> + <device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="52"/> + <device name="SND_DEVICE_OUT_VOICE_USB_HEADSET" acdb_id="52"/> + <device name="SND_DEVICE_OUT_VOICE_USB_HEADPHONES" acdb_id="52"/> + <device name="SND_DEVICE_OUT_BT_SCO" acdb_id="66"/> + <device name="SND_DEVICE_OUT_BT_SCO_WB" acdb_id="578"/> + <device name="SND_DEVICE_OUT_VOICE_TX" acdb_id="52"/> + <device name="SND_DEVICE_OUT_TRANSMISSION_FM" acdb_id="0"/> + <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="124"/> + <device name="SND_DEVICE_IN_VOICE_REC_QMIC_FLUENCE" acdb_id="131"/> + <device name="SND_DEVICE_IN_VOICE_REC_TMIC" acdb_id="131"/> + <device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" acdb_id="132"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" acdb_id="546"/> + <device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="19"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC" acdb_id="41"/> + <device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="35"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC" acdb_id="37"/> + <device name="SND_DEVICE_IN_HEADSET_MIC" acdb_id="51"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" acdb_id="291"/> + <device name="SND_DEVICE_IN_VOICE_HEADSET_MIC" acdb_id="307"/> + <device name="SND_DEVICE_IN_BT_SCO_MIC" acdb_id="323"/> + <device name="SND_DEVICE_IN_BT_SCO_MIC_NREC" acdb_id="835"/> + <device name="SND_DEVICE_IN_BT_SCO_MIC_WB" acdb_id="1347"/> + <device name="SND_DEVICE_IN_BT_SCO_MIC_WB_NREC" acdb_id="1859"/> + <device name="SND_DEVICE_IN_CAMCORDER_MIC" acdb_id="4"/> + <device name="SND_DEVICE_IN_VOICE_DMIC" acdb_id="277"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC" acdb_id="293"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC_ECHO" acdb_id="293"/> + <device name="SND_DEVICE_IN_VOICE_RX" acdb_id="819"/> + <device name="SND_DEVICE_IN_VOICE_REC_MIC" acdb_id="4"/> + <device name="SND_DEVICE_IN_CAPTURE_FM" acdb_id="0"/> + <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" acdb_id="102"/> + <device name="SND_DEVICE_IN_MAIN_MIC" acdb_id="4"/> + <device name="SND_DEVICE_IN_TOP_MIC" acdb_id="11"/> + <device name="SND_DEVICE_IN_FRONT_MIC" acdb_id="11"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_MUSIC" acdb_id="21"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_VOICE" acdb_id="533"/> + <device name="SND_DEVICE_IN_HANDSET_MIC_NS" acdb_id="533"/> + <device name="SND_DEVICE_IN_VOICE_REC_MIC_NS" acdb_id="533"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_INTERVIEW" acdb_id="1045"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_HD" acdb_id="2581"/> + <device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="2069"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_TMIC" acdb_id="295"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_TMIC_CONF" acdb_id="1319"/> + <device name="SND_DEVICE_IN_CAMCORDER_DMIC" acdb_id="85"/> + <device name="SND_DEVICE_IN_CAMCORDER_TMIC" acdb_id="87"/> + <device name="SND_DEVICE_IN_CAMCORDER_TMIC_FAR_END" acdb_id="599"/> + <device name="SND_DEVICE_IN_CAMCORDER_TMIC_NEAR_END" acdb_id="1111"/> + <device name="SND_DEVICE_IN_VOICE_USB_HEADSET_MIC" acdb_id="357"/> + </acdb_ids> + <backend_names> + <device name="SND_DEVICE_OUT_HEADPHONES" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_HEADPHONES_KARAOKE" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_HEADPHONES_CE" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_HEADPHONES_NO_CE" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_BT_SCO_WB" backend="bt-sco-wb" interface="SLIMBUS_7_RX"/> + <device name="SND_DEVICE_OUT_BT_SCO" backend="bt-sco" interface="SLIMBUS_7_RX"/> + <device name="SND_DEVICE_OUT_BT_A2DP" backend="bt-a2dp" interface="SLIMBUS_7_RX"/> + <device name="SND_DEVICE_OUT_LINE" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_ANC_HEADSET" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" interface="PRI_MI2S_RX-and-INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_CE" backend="speaker-and-headphones" interface="PRI_MI2S_RX-and-INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_NO_CE" backend="speaker-and-headphones" interface="PRI_MI2S_RX-and-INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones" interface="PRI_MI2S_RX-and-INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_ANC_HEADSET" backend="speaker-and-headphones" interface="PRI_MI2S_RX-and-INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_HEADPHONES" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_ANC_HEADSET" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_LINE" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES" backend="headphones" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_HANDSET" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER" backend="speaker" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_EXTERNAL_1" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_EXTERNAL_2" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_REVERSE" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_VBAT" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_EXTERNAL_1" interface="PRI_MI2S_RX-and-INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES_EXTERNAL_2" interface="PRI_MI2S_RX-and-INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_HANDSET" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER" backend="speaker" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_VBAT" backend="speaker" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_VBAT" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_HDMI" interface="PRI_MI2S_RX-and-HDMI"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_DISPLAY_PORT" interface="PRI_MI2S_RX-and-DISPLAY_PORT"/> + <device name="SND_DEVICE_OUT_SPEAKER_AND_BT_A2DP" interface="PRI_MI2S_RX-and-SLIMBUS_7_RX"/> + <device name="SND_DEVICE_OUT_VOICE_TTY_HCO_HANDSET" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_ANC_FB_HEADSET" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_ANC_FB_HEADSET" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_ANC_HANDSET" interface="INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" interface="INT4_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED" interface="INT4_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED" interface="INT4_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED_VBAT" interface="INT4_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_PROTECTED_VBAT" interface="INT4_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED_VBAT" interface="INT4_MI2S_RX"/> + <device name="SND_DEVICE_OUT_SPEAKER_WSA" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_WSA" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_2_WSA" interface="PRI_MI2S_RX"/> + <device name="SND_DEVICE_IN_HANDSET_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_MIC_EXTERNAL" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_MIC_AEC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_MIC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_MIC_AEC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_AEC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_AEC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_MIC_AEC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_MIC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_MIC_AEC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HEADSET_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_VOICE" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_MUSIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_INTERVIEW" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_DMIC_HD" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_TMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_TMIC_CONF" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_CAMCORDER_DMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_CAMCORDER_TMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_CAMCORDER_TMIC_FAR_END" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_CAMCORDER_TMIC_NEAR_END" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_USB_HEADSET_MIC" interface="USB_AUDIO_TX"/> + <device name="SND_DEVICE_IN_HEADSET_MIC_FLUENCE" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_HEADSET_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HDMI_MIC" interface="HDMI"/> + <device name="SND_DEVICE_IN_BT_SCO_MIC" interface="SLIMBUS_7_TX"/> + <device name="SND_DEVICE_IN_BT_SCO_MIC_NREC" interface="SLIMBUS_7_TX"/> + <device name="SND_DEVICE_IN_BT_SCO_MIC_WB" interface="SLIMBUS_7_TX"/> + <device name="SND_DEVICE_IN_BT_SCO_MIC_WB_NREC" interface="SLIMBUS_7_TX"/> + <device name="SND_DEVICE_IN_CAMCORDER_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_DMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC_ECHO" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_QMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_TTY_FULL_HEADSET_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_TTY_VCO_HANDSET_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_TTY_HCO_HEADSET_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_REC_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_REC_MIC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_REC_DMIC_STEREO" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_REC_DMIC_FLUENCE" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_AANC_HANDSET_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_QUAD_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_STEREO_DMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK" interface="INT5_MI2S_TX"/> + <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_1" interface="INT5_MI2S_TX"/> + <device name="SND_DEVICE_IN_CAPTURE_VI_FEEDBACK_MONO_2" interface="INT5_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_SPEAKER_DMIC_BROADSIDE" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC_BROADSIDE" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_BROADSIDE" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC_NS_BROADSIDE" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_DMIC_AEC_NS_BROADSIDE" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_FLUENCE_DMIC_AANC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_QMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_QMIC_AEC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_QMIC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_SPEAKER_QMIC_AEC_NS" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_THREE_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_HANDSET_TMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_VOICE_REC_TMIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_UNPROCESSED_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_UNPROCESSED_THREE_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" interface="INT3_MI2S_TX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_HEADPHONES" backend="speaker-and-headphones" interface="INT4_MI2S_RX-and-INT0_MI2S_RX"/> + <device name="SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_ANC_HEADSET" backend="speaker-and-headphones" interface="INT4_MI2S_RX-and-INT0_MI2S_RX"/> + </backend_names> +</audio_platform_info> + diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml new file mode 100644 index 0000000..1d800ee --- /dev/null +++ b/audio/audio_policy_configuration.xml @@ -0,0 +1,348 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- Copyright (c) 2016-2017, The Linux Foundation. All rights reserved + Not a Contribution. +--> +<!-- Copyright (C) 2015 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. +--> + +<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude"> + <!-- version section contains a “version” tag in the form “major.minor” e.g version=”1.0” --> + + <!-- Global configuration Decalaration --> + <globalConfiguration speaker_drc_enabled="true"/> + + + <!-- Modules section: + There is one section per audio HW module present on the platform. + Each module section will contains two mandatory tags for audio HAL “halVersion” and “name”. + The module names are the same as in current .conf file: + “primary”, “A2DP”, “remote_submix”, “USB” + Each module will contain the following sections: + “devicePorts”: a list of device descriptors for all input and output devices accessible via this + module. + This contains both permanently attached devices and removable devices. + “mixPorts”: listing all output and input streams exposed by the audio HAL + “routes”: list of possible connections between input and output devices or between stream and + devices. + "route": is defined by an attribute: + -"type": <mux|mix> means all sources are mutual exclusive (mux) or can be mixed (mix) + -"sink": the sink involved in this route + -"sources": all the sources than can be connected to the sink via vis route + “attachedDevices”: permanently attached devices. + The attachedDevices section is a list of devices names. The names correspond to device names + defined in <devicePorts> section. + “defaultOutputDevice”: device to be used by default when no policy rule applies + --> + <modules> + <!-- Primary Audio HAL --> + <module name="primary" halVersion="2.0"> + <attachedDevices> + <item>Earpiece</item> + <item>Speaker</item> + <item>Telephony Tx</item> + <item>Built-In Mic</item> + <item>Built-In Back Mic</item> + <item>FM Tuner</item> + <item>Telephony Rx</item> + </attachedDevices> + <defaultOutputDevice>Speaker</defaultOutputDevice> + <mixPorts> + <mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMARY"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + </mixPort> + <mixPort name="deep_buffer" role="source" + flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + </mixPort> + <mixPort name="hifi_playback" role="source" /> + <mixPort name="compress_passthrough" role="source" + flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> + <profile name="" format="dynamic" + samplingRates="dynamic" channelMasks="dynamic"/> + </mixPort> + <mixPort name="direct_pcm" role="source" + flags="AUDIO_OUTPUT_FLAG_DIRECT"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/> + <profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/> + <profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/> + <profile name="" format="AUDIO_FORMAT_PCM_32_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000,352800,384000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/> + </mixPort> + <mixPort name="compressed_offload" role="source" + flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> + <profile name="" format="AUDIO_FORMAT_MP3" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_FLAC" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_ALAC" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/> + <profile name="" format="AUDIO_FORMAT_APE" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_AAC_LC" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_AAC_HE_V1" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_AAC_HE_V2" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_DTS" + samplingRates="32000,44100,48000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1"/> + <profile name="" format="AUDIO_FORMAT_DTS_HD" + samplingRates="32000,44100,48000,64000,88200,96000,128000,176400,192000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/> + <!-- remove wma by wangyuhao lct 2018/1/17 + <profile name="" format="AUDIO_FORMAT_WMA" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/> + <profile name="" format="AUDIO_FORMAT_WMA_PRO" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000" + channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_2POINT1,AUDIO_CHANNEL_OUT_QUAD,AUDIO_CHANNEL_OUT_PENTA,AUDIO_CHANNEL_OUT_5POINT1,AUDIO_CHANNEL_OUT_6POINT1,AUDIO_CHANNEL_OUT_7POINT1"/> + end--> + <profile name="" format="AUDIO_FORMAT_VORBIS" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,128000,176400,192000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_AAC_ADTS_LC" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_AAC_ADTS_HE_V1" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + <profile name="" format="AUDIO_FORMAT_AAC_ADTS_HE_V2" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + </mixPort> + <mixPort name="dsd_compress_passthrough" role="source" + flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING"> + <profile name="" format="AUDIO_FORMAT_DSD" + samplingRates="2822400,5644800" + channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/> + </mixPort> + <mixPort name="voice_tx" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + </mixPort> + <mixPort name="voip_rx" role="source" + flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/> + </mixPort> + + <mixPort name="primary input" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/> + </mixPort> + <mixPort name="surround_sound" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3,AUDIO_CHANNEL_INDEX_MASK_4,AUDIO_CHANNEL_IN_5POINT1,AUDIO_CHANNEL_INDEX_MASK_6"/> + </mixPort> + <mixPort name="record_24" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,96000,192000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3,AUDIO_CHANNEL_INDEX_MASK_4"/> + <profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,96000,192000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3,AUDIO_CHANNEL_INDEX_MASK_4"/> + <profile name="" format="AUDIO_FORMAT_PCM_FLOAT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,96000,192000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3,AUDIO_CHANNEL_INDEX_MASK_4"/> + </mixPort> + <mixPort name="voice_rx" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/> + </mixPort> + <mixPort name="hifi_input" role="sink" /> + </mixPorts> + + <devicePorts> + <!-- Output devices declaration, i.e. Sink DEVICE PORT --> + <devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/> + </devicePort> + <devicePort tagName="Speaker" role="sink" type="AUDIO_DEVICE_OUT_SPEAKER" address=""> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + <devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + <devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + <devicePort tagName="Line" type="AUDIO_DEVICE_OUT_LINE" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + <devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/> + </devicePort> + <devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/> + </devicePort> + <devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/> + </devicePort> + <devicePort tagName="BT SCO All" type="AUDIO_DEVICE_OUT_ALL_SCO" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/> + </devicePort> + <devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + <devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + </devicePort> + <devicePort tagName="Proxy" type="AUDIO_DEVICE_OUT_PROXY" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/> + </devicePort> + <devicePort tagName="FM" type="AUDIO_DEVICE_OUT_FM" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + + <!-- Input devices declaration, i.e. Source DEVICE PORT --> + <devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/> + </devicePort> + <devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/> + </devicePort> + <devicePort tagName="FM Tuner" type="AUDIO_DEVICE_IN_FM_TUNER" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="48000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/> + </devicePort> + <devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" + channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/> + </devicePort> + <devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_IN_MONO"/> + </devicePort> + <devicePort tagName="Telephony Rx" type="AUDIO_DEVICE_IN_TELEPHONY_RX" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/> + </devicePort> + <devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + <profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT" + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + <devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source"> + <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + <profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT" + samplingRates="44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/> + </devicePort> + + </devicePorts> + <!-- route declaration, i.e. list all available sources for a given sink --> + <routes> + <route type="mix" sink="Earpiece" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + <route type="mix" sink="Speaker" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + <route type="mix" sink="Wired Headset" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,dsd_compress_passthrough,voip_rx"/> + <route type="mix" sink="Wired Headphones" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,dsd_compress_passthrough,voip_rx"/> + <route type="mix" sink="Line" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,dsd_compress_passthrough,voip_rx"/> + <route type="mix" sink="HDMI" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough"/> + <route type="mix" sink="Proxy" + sources="primary output,deep_buffer,direct_pcm,compressed_offload"/> + <route type="mix" sink="FM" + sources="primary output"/> + <route type="mix" sink="BT SCO All" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + <route type="mix" sink="USB Device Out" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,hifi_playback"/> + <route type="mix" sink="USB Headset Out" + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,hifi_playback"/> + <route type="mix" sink="Telephony Tx" + sources="voice_tx"/> + <route type="mix" sink="voice_rx" + sources="Telephony Rx"/> + <route type="mix" sink="primary input" + sources="Wired Headset Mic,BT SCO Headset Mic,FM Tuner,USB Device In,USB Headset In,Telephony Rx"/> + <route type="mix" sink="surround_sound" + sources="Built-In Mic,Built-In Back Mic"/> + <route type="mix" sink="record_24" + sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic"/> + <route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" /> + </routes> + + </module> + + <!-- Remote Submix Audio HAL --> + <xi:include href="/vendor/etc/r_submix_audio_policy_configuration.xml"/> + <!-- A2dp Audio HAL --> + <xi:include href="/vendor/etc/a2dp_audio_policy_configuration.xml"/> + <!-- Usb Audio HAL --> + <xi:include href="/vendoe/etc/usb_audio_policy_configuration.xml"/> + + </modules> + <!-- End of Modules section --> + + <!-- Volume section --> + + <xi:include href="/vendor/etc/audio_policy_volumes.xml"/> + <xi:include href="/vendor/etc/default_volume_tables.xml"/> + + <!-- End of Volume section --> + +</audioPolicyConfiguration> diff --git a/audio/audio_tuning_mixer.txt b/audio/audio_tuning_mixer.txt new file mode 100644 index 0000000..fd48369 --- /dev/null +++ b/audio/audio_tuning_mixer.txt @@ -0,0 +1,41 @@ +#RAS_TEST_SPKR_PHONE_SPKR_STEREO +acdb_dev_id:136 +!Playback +Rxdevice:0 + +enable +INT4_MI2S_RX Channels:Two +RX4 MIX1 INP1:RX4 +RX5 MIX1 INP1:RX5 +COMP1 Switch:1 +COMP2 Switch:1 +SpkrLeft COMP Switch:1 +SpkrLeft BOOST Switch:1 +SpkrLeft VISENSE Switch:1 +SpkrLeft SWR DAC_Port Switch:1 +SpkrRight COMP Switch:1 +SpkrRight BOOST Switch:1 +SpkrRight VISENSE Switch:1 +SpkrRight SWR DAC_Port Switch:1 +SpkrLeft WSA PA Mute:0 +SpkrRight WSA PA Mute:0 +INT4_MI2S_RX Audio Mixer MultiMedia1:1 + +disable +INT4_MI2S_RX Channels:One +RX4 MIX1 INP1:ZERO +RX5 MIX1 INP1:ZERO +COMP1 Switch:0 +COMP2 Switch:0 +SpkrLeft COMP Switch:0 +SpkrLeft BOOST Switch:0 +SpkrLeft VISENSE Switch:0 +SpkrLeft SWR DAC_Port Switch:0 +SpkrRight COMP Switch:0 +SpkrRight BOOST Switch:0 +SpkrRight VISENSE Switch:0 +SpkrRight SWR DAC_Port Switch:0 +SpkrLeft WSA PA Mute:0 +SpkrRight WSA PA Mute:0 +INT4_MI2S_RX Audio Mixer MultiMedia1:0 + diff --git a/audio/graphite_ipc_platform_info.xml b/audio/graphite_ipc_platform_info.xml new file mode 100644 index 0000000..f6775be --- /dev/null +++ b/audio/graphite_ipc_platform_info.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!--- Copyright (c) 2016, 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. --> +<graphite_ipc_platform_info> + <no_of_glink_channels value="4"> + </no_of_glink_channels> + <!-- channel 1 configuration --> + <glink_channel name="g_glink_ctrl" latency_in_us="5000" + no_of_intents="1" intents_size="1024"> + </glink_channel> + <!-- channel 2 configuration --> + <glink_channel name="g_glink_persistent_data_ild" latency_in_us="30000" + no_of_intents="0"> + </glink_channel> + <!-- channel 3 configuration --> + <glink_channel name="g_glink_persistent_data_nild" latency_in_us="30000" + no_of_intents="0"> + </glink_channel> + <!-- channel 4 configuration --> + <glink_channel name="g_glink_audio_data" latency_in_us="10000" + no_of_intents="2" intents_size="4096, 4096"> + </glink_channel> +</graphite_ipc_platform_info> diff --git a/audio/listen_platform_info.xml b/audio/listen_platform_info.xml new file mode 100644 index 0000000..36d7566 --- /dev/null +++ b/audio/listen_platform_info.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!--- Copyright (c) 2014, 2016, 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. --> +<listen_platform_info> + <device name="DEVICE_HANDSET_APE_ACDB_ID" acdb_id="100" /> + <device name="DEVICE_HANDSET_CPE_ACDB_ID" acdb_id="128" /> + <ctrl name="execution_type" value="CPE" /> <!-- value: "CPE" "APE" --> + <ctrl name="max_cpe_sessions" value="1" /> + <ctrl name="max_cpe_keywords" value="6" /> + <ctrl name="max_cpe_kw_user_pairs" value="6" /> + <ctrl name="max_ape_sessions" value="8" /> + <ctrl name="max_ape_keywords" value="10" /> + <ctrl name="max_ape_kw_user_pairs" value="10" /> + <ctrl name="dump_lab_data" value="false" /> <!-- value: "true" "false" --> + <!-- If value is true, it requires write permissions to /data folder to --> + <!-- dump lab data to file under /data/LHAL foloder. Do "chmod 777 /data/" --> +</listen_platform_info> + diff --git a/audio/mixer_paths.xml b/audio/mixer_paths.xml new file mode 100644 index 0000000..41e7f91 --- /dev/null +++ b/audio/mixer_paths.xml @@ -0,0 +1,2498 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. --> +<!-- --> +<!-- Redistribution and use in source and binary forms, with or without --> +<!-- modification, are permitted provided that the following conditions are --> +<!-- 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. --> +<mixer> + <!-- These are the initial mixer settings --> + <ctl name="Voice Rx Device Mute" id="0" value="0" /> + <ctl name="Voice Rx Device Mute" id="1" value="-1" /> + <ctl name="Voice Rx Device Mute" id="2" value="20" /> + <ctl name="Voice Tx Mute" id="0" value="0" /> + <ctl name="Voice Tx Mute" id="1" value="-1" /> + <ctl name="Voice Tx Mute" id="2" value="500" /> + <ctl name="Voice Rx Gain" id="0" value="0" /> + <ctl name="Voice Rx Gain" id="1" value="-1" /> + <ctl name="Voice Rx Gain" id="2" value="20" /> + <ctl name="Voip Tx Mute" id="0" value="0" /> + <ctl name="Voip Tx Mute" id="1" value="500" /> + <ctl name="Voip Rx Gain" id="0" value="0" /> + <ctl name="Voip Rx Gain" id="1" value="20" /> + <ctl name="Voip Mode Config" value="12" /> + <ctl name="Voip Rate Config" value="0" /> + <ctl name="Voip Evrc Min Max Rate Config" id="0" value="1" /> + <ctl name="Voip Evrc Min Max Rate Config" id="1" value="4" /> + <ctl name="Voip Dtx Mode" value="0" /> + <ctl name="TTY Mode" value="OFF" /> + <ctl name="Load acoustic model" value="0" /> + <ctl name="Backlog size" value="0" /> + <ctl name="Microphone mode" value="0" /> + <ctl name="INT4_MI2S_RX Port Mixer INT3_MI2S_TX" value="0" /> + <ctl name="PRI_MI2S_RX Port Mixer INT3_MI2S_TX" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia1" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia5" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia7" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia8" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia10" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia11" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia12" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia13" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia14" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia15" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia16" value="0" /> + <ctl name="INT0_MI2S_RX Port Mixer INT3_MI2S_TX" value="0" /> + <ctl name="MultiMedia5 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="MultiMedia5 Mixer AFE_PCM_TX" value="0" /> + <ctl name="MultiMedia5 Mixer SLIM_8_TX" value="0" /> + <ctl name="MultiMedia5 Mixer SLIM_7_TX" value="0" /> + <ctl name="MultiMedia1 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="MultiMedia1 Mixer SLIM_7_TX" value="0" /> + <ctl name="MultiMedia8 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="MultiMedia8 Mixer SLIM_7_TX" value="0" /> + <ctl name="MultiMedia16 Mixer SLIM_7_TX" value="0" /> + <ctl name="HDMI Mixer MultiMedia1" value="0" /> + <ctl name="HDMI Mixer MultiMedia2" value="0" /> + <ctl name="HDMI Mixer MultiMedia3" value="0" /> + <ctl name="HDMI Mixer MultiMedia4" value="0" /> + <ctl name="HDMI Mixer MultiMedia5" value="0" /> + <ctl name="HDMI Mixer MultiMedia7" value="0" /> + <ctl name="HDMI Mixer MultiMedia9" value="0" /> + <ctl name="HDMI Mixer MultiMedia10" value="0" /> + <ctl name="HDMI Mixer MultiMedia11" value="0" /> + <ctl name="HDMI Mixer MultiMedia12" value="0" /> + <ctl name="HDMI Mixer MultiMedia13" value="0" /> + <ctl name="HDMI Mixer MultiMedia14" value="0" /> + <ctl name="HDMI Mixer MultiMedia15" value="0" /> + <ctl name="HDMI Mixer MultiMedia16" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia1" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia2" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia3" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia4" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia5" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia6" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia7" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia8" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia9" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia10" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia11" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia12" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia13" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia14" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia15" value="0" /> + <ctl name="DISPLAY_PORT Mixer MultiMedia16" value="0" /> + <ctl name="Display Port RX Bit Format" value="S16_LE" /> + <ctl name="Display Port RX SampleRate" value="KHZ_48" /> + <ctl name="Display Port RX Channels" value="Two" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia1" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia1" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia2" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia2" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia3" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia3" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia5" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia5" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia7" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia7" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia8" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia8" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia10" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia10" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia11" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia11" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia12" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia12" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia13" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia13" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia14" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia14" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia15" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia15" value="0" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia16" value="0" /> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia16" value="0" /> + <!-- PRI_MI2S start --> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia2" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia7" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia8" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia10" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia11" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia12" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia13" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia14" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia15" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia16" value="0" /> + <!-- PRI_MI2S end --> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia1" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia2" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia3" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia5" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia7" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia8" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia10" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia11" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia12" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia13" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia14" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia15" value="0" /> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia16" value="0" /> + <ctl name="USB_AUDIO_RX Format" value="S16_LE" /> + <ctl name="USB_AUDIO_RX SampleRate" value="KHZ_48" /> + <ctl name="USB_AUDIO_RX Channels" value="Two" /> + <ctl name="MultiMedia1 Mixer USB_AUDIO_TX" value="0" /> + <ctl name="MultiMedia2 Mixer USB_AUDIO_TX" value="0" /> + <ctl name="MultiMedia5 Mixer USB_AUDIO_TX" value="0" /> + <ctl name="MultiMedia8 Mixer USB_AUDIO_TX" value="0" /> + <ctl name="USB_AUDIO_TX Format" value="S16_LE" /> + <ctl name="USB_AUDIO_TX SampleRate" value="KHZ_48" /> + <ctl name="USB_AUDIO_TX Channels" value="One" /> + <ctl name="MultiMedia6 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="INT4_MI2S_RX Channels" value="One" /> + <ctl name="PRI_MI2S_RX Channels" value="One" /> + <ctl name="INT0_MI2S_RX Channels" value="One" /> + <ctl name="INT3_MI2S_TX Channels" value="One" /> + <!-- ctl name="PowerCtrl" value="0" /--> + <ctl name="I2S TX2 INP1" value="ZERO" /> + <ctl name="I2S TX2 INP2" value="ZERO" /> + <ctl name="INT4_MI2S_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="HDMI Mixer MultiMedia4" value="0" /> + <ctl name="INT4_MI2S_RX_VI_FB_MONO_CH_MUX" value="ZERO" /> + <ctl name="INT4_MI2S_RX_VI_FB_STEREO_CH_MUX" value="ZERO" /> + <ctl name="PRI_MI2S_RX_VI_FB_MONO_CH_MUX" value="ZERO" /> + <ctl name="PRI_MI2S_RX_VI_FB_STEREO_CH_MUX" value="ZERO" /> + <ctl name="VI_FEED_TX Channels" value="One" /> + <ctl name="AIF1_VI_SDW Mixer SPKR_VI_1" value="0" /> + <ctl name="AIF1_VI_SDW Mixer SPKR_VI_2" value="0" /> + <ctl name="INT5 MI2S VI MONO" value="Left" /> + <!-- HFP start --> + <ctl name="HFP_SLIM7_UL_HL Switch" value="0" /> + <ctl name="INT4_MI2S_RX Port Mixer SLIM_7_TX" value="0" /> + <ctl name="PRI_MI2S_RX Port Mixer SLIM_7_TX" value="0" /> + <ctl name="INT0_MI2S_RX Port Mixer SLIM_7_TX" value="0" /> + <!-- HFP end --> + <!-- echo reference --> + <ctl name="AUDIO_REF_EC_UL1 MUX" value="None" /> + <!-- usb headset --> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia1" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia2" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia7" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia10" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia11" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia12" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia13" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia14" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia15" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia16" value="0" /> + <ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="0" /> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia5" value="0" /> + <!-- usb headset end --> + <!-- fm --> + <ctl name="SLIMBUS_8 LOOPBACK Volume" value="0" /> + <ctl name="INT4_MI2S_RX Port Mixer SLIM_8_TX" value="0" /> + <ctl name="INT4_MI2S_RX_DL_HL Switch" value="0" /> + <ctl name="PRI_MI2S_RX Port Mixer SLIM_8_TX" value="0" /> + <ctl name="PRI_MI2S_RX_DL_HL Switch" value="0" /> + <ctl name="INT0_MI2S_RX Port Mixer SLIM_8_TX" value="0" /> + <ctl name="INT0_MI2S_RX_DL_HL Switch" value="0" /> + <ctl name="MultiMedia1 Mixer SLIM_8_TX" value="0" /> + <ctl name="MultiMedia2 Mixer SLIM_8_TX" value="0" /> + <!-- fm end --> + + <!-- Multimode Voice1 --> + <ctl name="INT4_MI2S_RX_Voice Mixer VoiceMMode1" value="0" /> + <ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode1" value="0" /> + <ctl name="INT0_MI2S_RX_Voice Mixer VoiceMMode1" value="0" /> + <ctl name="VoiceMMode1_Tx Mixer INT3_MI2S_TX_MMode1" value="0" /> + <!-- Multimode Voice1 HDMI --> + <ctl name="HDMI_RX_Voice Mixer VoiceMMode1" value="0" /> + <!-- Multimode Voice1 BTSCO --> + <ctl name="SLIM_7_RX_Voice Mixer VoiceMMode1" value="0" /> + <ctl name="VoiceMMode1_Tx Mixer SLIM_7_TX_MMode1" value="0" /> + <!-- Multimode Voice1 USB headset --> + <ctl name="AFE_PCM_RX_Voice Mixer VoiceMMode1" value="0" /> + <ctl name="VoiceMMode1_Tx Mixer AFE_PCM_TX_MMode1" value="0" /> + <ctl name="USB_AUDIO_RX_Voice Mixer VoiceMMode1" value="0" /> + <ctl name="VoiceMMode1_Tx Mixer USB_AUDIO_TX_MMode1" value="0" /> + <!-- Miltimode Voice1 end--> + + <!-- Multimode Voice2 --> + <ctl name="INT4_MI2S_RX_Voice Mixer VoiceMMode2" value="0" /> + <ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode2" value="0" /> + <ctl name="INT0_MI2S_RX_Voice Mixer VoiceMMode2" value="0" /> + <ctl name="VoiceMMode2_Tx Mixer INT3_MI2S_TX_MMode2" value="0" /> + <!-- Multimode Voice2 HDMI --> + <ctl name="HDMI_RX_Voice Mixer VoiceMMode2" value="0" /> + <!-- Multimode Voice2 BTSCO --> + <ctl name="SLIM_7_RX_Voice Mixer VoiceMMode2" value="0" /> + <ctl name="VoiceMMode2_Tx Mixer SLIM_7_TX_MMode2" value="0" /> + <!-- Multimode Voice2 USB headset --> + <ctl name="AFE_PCM_RX_Voice Mixer VoiceMMode2" value="0" /> + <ctl name="VoiceMMode2_Tx Mixer AFE_PCM_TX_MMode2" value="0" /> + <ctl name="USB_AUDIO_RX_Voice Mixer VoiceMMode2" value="0" /> + <ctl name="VoiceMMode2_Tx Mixer USB_AUDIO_TX_MMode2" value="0" /> + <!-- Multimode Voice2 end--> + + <!-- Voice external ec. reference --> + <ctl name="VOC_EXT_EC MUX" value="NONE" /> + <!-- Voice external ec. reference end --> + + <!-- RT Proxy Cal --> + <ctl name="RT_PROXY_1_RX SetCalMode" value="CAL_MODE_NONE" /> + <ctl name="RT_PROXY_1_TX SetCalMode" value="CAL_MODE_NONE" /> + <!-- RT Proxy Cal end --> + + <!-- Incall Recording --> + <ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" /> + <ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" /> + <ctl name="MultiMedia8 Mixer VOC_REC_UL" value="0" /> + <ctl name="MultiMedia8 Mixer VOC_REC_DL" value="0" /> + <!-- Incall Recording End --> + + <!-- Incall Music --> + <ctl name="Incall_Music Audio Mixer MultiMedia2" value="0" /> + <!-- Incall Music End --> + + <!-- compress-voip-call start --> + <ctl name="INT4_MI2S_RX_Voice Mixer Voip" value="0" /> + <ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="0" /> + <ctl name="INT0_MI2S_RX_Voice Mixer Voip" value="0" /> + <ctl name="Voip_Tx Mixer INT3_MI2S_TX_Voip" value="0" /> + <ctl name="SLIM_7_RX_Voice Mixer Voip" value="0" /> + <ctl name="Voip_Tx Mixer SLIM_7_TX_Voip" value="0" /> + <ctl name="AFE_PCM_RX_Voice Mixer Voip" value="0" /> + <ctl name="Voip_Tx Mixer AFE_PCM_TX_Voip" value="0" /> + <ctl name="USB_AUDIO_RX_Voice Mixer Voip" value="0" /> + <ctl name="Voip_Tx Mixer USB_AUDIO_TX_Voip" value="0" /> + <!-- compress-voip-call end--> + + <!-- Audio BTSCO --> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia1" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia4" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia5" value="0" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia6" value="0" /> + <ctl name="MultiMedia1 Mixer SLIM_7_TX" value="0" /> + <!-- audio record compress--> + <ctl name="MultiMedia8 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="MultiMedia8 Mixer SLIM_7_TX" value="0" /> + <ctl name="MultiMedia8 Mixer AFE_PCM_TX" value="0" /> + <!-- audio record compress end--> + + <!-- split a2dp --> + <ctl name="BT SampleRate" value="KHZ_8" /> + <ctl name="AFE Input Channels" value="Zero" /> + <ctl name="SLIM7_RX ADM Channels" value="Zero" /> + <!-- split a2dp end--> + + <!-- ADSP testfwk --> + <ctl name="INT4_MI2S_RX_DL_HL Switch" value="0" /> + <ctl name="PRI_MI2S_RX_DL_HL Switch" value="0" /> + <ctl name="INT0_MI2S_RX_DL_HL Switch" value="0" /> + <!-- ADSP testfwk end--> + + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="0" /> + + <!-- Codec controls --> + <!-- WSA controls --> + <ctl name="SpkrLeft COMP Switch" value="0" /> + <ctl name="SpkrRight COMP Switch" value="0" /> + <ctl name="SpkrLeft BOOST Switch" value="0" /> + <ctl name="SpkrRight BOOST Switch" value="0" /> + <ctl name="SpkrLeft VISENSE Switch" value="0" /> + <ctl name="SpkrRight VISENSE Switch" value="0" /> + <ctl name="SpkrLeft SWR DAC_Port Switch" value="0" /> + <ctl name="SpkrRight SWR DAC_Port Switch" value="0" /> + <ctl name="SpkrLeft WSA PA Gain" value="G_0_DB" /> + <ctl name="SpkrRight WSA PA Gain" value="G_0_DB" /> + <ctl name="SpkrLeft WSA PA Mute" value="1" /> + <ctl name="SpkrRight WSA PA Mute" value="1" /> + <ctl name="EAR SPKR PA Gain" value="G_DEFAULT" /> + + <!-- Volume controls --> + <ctl name="HPHL Volume" value="9" /> + <ctl name="HPHR Volume" value="9" /> + <ctl name="EAR PA Gain" value="POS_1P5_DB" /> + <ctl name="EAR PA Boost" value="ENABLE" /> + + <ctl name="RX1 Digital Volume" value="84" /> + <ctl name="RX2 Digital Volume" value="84" /> + <ctl name="RX3 Digital Volume" value="84" /> + <ctl name="RX4 Digital Volume" value="84" /> + <ctl name="RX5 Digital Volume" value="84" /> + <ctl name="ADC1 Volume" value="4" /> + <ctl name="ADC2 Volume" value="4" /> + <ctl name="ADC3 Volume" value="4" /> + <ctl name="DEC1 Volume" value="84" /> + <ctl name="DEC2 Volume" value="84" /> + <ctl name="DEC3 Volume" value="84" /> + <ctl name="DEC4 Volume" value="84" /> + + <!-- Compander controls --> + <ctl name="COMP1 Switch" value="1" /> + <ctl name="COMP2 Switch" value="1" /> + + <!-- config adc1 tangshouxing 08/24 --> + <ctl name="ADC1_INP1 Switch" value="0" /> + + <!-- MUX controls --> + <ctl name="DEC1 MUX" value="ZERO" /> + <ctl name="DEC2 MUX" value="ZERO" /> + <ctl name="DEC3 MUX" value="ZERO" /> + <ctl name="DEC4 MUX" value="ZERO" /> + <ctl name="ADC2 MUX" value="ZERO" /> + <ctl name="RDAC2 MUX" value="ZERO" /> + + <!-- Interpolator chain controls --> + <!-- ADD RX Chain Controls --> + + <ctl name="RX1 MIX1 INP1" value="ZERO" /> + <ctl name="RX2 MIX1 INP1" value="ZERO" /> + <ctl name="RDAC2 MUX" value="ZERO" /> + <ctl name="HPHL" value="ZERO" /> + <ctl name="HPHR" value="ZERO" /> + <ctl name="RX1 MIX2 INP1" value="ZERO" /> + <ctl name="RX2 MIX2 INP1" value="ZERO" /> + <ctl name="RX3 MIX1 INP1" value="ZERO" /> + <ctl name="RX4 MIX1 INP1" value="ZERO" /> + <ctl name="RX5 MIX1 INP1" value="ZERO" /> + <ctl name="RX HPH Mode" value="NORMAL" /> + <ctl name="COMP0 RX1" value="0" /> + <ctl name="COMP0 RX2" value="0" /> + + <!-- IIR/voice anc --> + <ctl name="IIR1 Band1" id ="0" value="268435456" /> + <ctl name="IIR1 Band1" id ="1" value="0" /> + <ctl name="IIR1 Band1" id ="2" value="0" /> + <ctl name="IIR1 Band1" id ="3" value="0" /> + <ctl name="IIR1 Band1" id ="4" value="0" /> + <ctl name="IIR1 Band2" id ="0" value="268435456" /> + <ctl name="IIR1 Band2" id ="1" value="0" /> + <ctl name="IIR1 Band2" id ="2" value="0" /> + <ctl name="IIR1 Band2" id ="3" value="0" /> + <ctl name="IIR1 Band2" id ="4" value="0" /> + <ctl name="IIR1 Band3" id ="0" value="268435456" /> + <ctl name="IIR1 Band3" id ="1" value="0" /> + <ctl name="IIR1 Band3" id ="2" value="0" /> + <ctl name="IIR1 Band3" id ="3" value="0" /> + <ctl name="IIR1 Band3" id ="4" value="0" /> + <ctl name="IIR1 Band4" id ="0" value="268435456" /> + <ctl name="IIR1 Band4" id ="1" value="0" /> + <ctl name="IIR1 Band4" id ="2" value="0" /> + <ctl name="IIR1 Band4" id ="3" value="0" /> + <ctl name="IIR1 Band4" id ="4" value="0" /> + <ctl name="IIR1 Band5" id ="0" value="268435456" /> + <ctl name="IIR1 Band5" id ="1" value="0" /> + <ctl name="IIR1 Band5" id ="2" value="0" /> + <ctl name="IIR1 Band5" id ="3" value="0" /> + <ctl name="IIR1 Band5" id ="4" value="0" /> + <ctl name="IIR1 Enable Band1" value="0" /> + <ctl name="IIR1 Enable Band2" value="0" /> + <ctl name="IIR1 Enable Band3" value="0" /> + <ctl name="IIR1 Enable Band4" value="0" /> + <ctl name="IIR1 Enable Band5" value="0" /> + <ctl name="IIR1 INP1 Volume" value="53" /> + <ctl name="IIR1 INP2 Volume" value="53" /> + <ctl name="IIR1 INP3 Volume" value="53" /> + <ctl name="IIR1 INP4 Volume" value="53" /> + <ctl name="IIR1 INP1 MUX" value="ZERO" /> + + <!-- smart PA TFA 9894 --> + <ctl name="TFA Profile" value="music" /> + + <!-- anc related --> + + <!-- vbat related data --> + <!-- vbat related data end --> + + <!-- Codec controls end --> + + <!-- These are audio route (FE to BE) specific mixer settings --> + <path name="gsm-mode"> + <ctl name="GSM mode Enable" value="ON" /> + </path> + + <path name="echo-reference speaker-vbat-mono"> + </path> + + <path name="echo-reference speaker-vbat-mono-2"> + </path> + + <path name="echo-reference speaker-vbat"> + </path> + + <path name="echo-reference"> + <ctl name="AUDIO_REF_EC_UL1 MUX" value="INT0_MI2S_RX" /> + </path> + + <path name="echo-reference headphones"> + <ctl name="AUDIO_REF_EC_UL1 MUX" value="INT0_MI2S_RX" /> + </path> + + <path name="echo-reference headphones-44.1"> + </path> + + <path name="echo-reference speaker"> + <ctl name="EC Reference Channels" value="One"/> + <ctl name="EC Reference Bit Format" value="S16_LE"/> + <ctl name="EC Reference SampleRate" value="48000"/> + </path> + + <path name="deep-buffer-playback"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia1" value="1" /> + </path> + <path name="deep-buffer-playback speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="1" /> + </path> + + <path name="deep-buffer-playback speaker-protected"> + <path name="deep-buffer-playback speaker" /> + </path> + + <path name="deep-buffer-playback hdmi"> + <ctl name="HDMI Mixer MultiMedia1" value="1" /> + </path> + + <path name="deep-buffer-playback display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia1" value="1" /> + </path> + + <path name="deep-buffer-playback speaker-and-hdmi"> + <path name="deep-buffer-playback hdmi" /> + <path name="deep-buffer-playback speaker" /> + </path> + + <path name="deep-buffer-playback speaker-and-display-port"> + <path name="deep-buffer-playback display-port" /> + <path name="deep-buffer-playback speaker" /> + </path> + + <path name="deep-buffer-playback bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia1" value="1" /> + </path> + + <path name="deep-buffer-playback bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="deep-buffer-playback bt-sco" /> + </path> + + <path name="deep-buffer-playback afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia1" value="1" /> + </path> + + <path name="deep-buffer-playback usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia1" value="1" /> + </path> + + <path name="deep-buffer-playback usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia1" value="1" /> + </path> + + <path name="deep-buffer-playback speaker-and-usb-headphones"> + <path name="deep-buffer-playback usb-headphones" /> + <path name="deep-buffer-playback speaker" /> + </path> + + <path name="deep-buffer-playback headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia1" value="1" /> + </path> + + <path name="deep-buffer-playback speaker-and-headphones"> + <path name="deep-buffer-playback headphones" /> + <path name="deep-buffer-playback speaker" /> + </path> + + <path name="low-latency-playback"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia5" value="1" /> + </path> + <path name="low-latency-playback speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="1" /> + <ctl name="TFA Profile" value="ringtone" /> + </path> + + <path name="low-latency-playback speaker-protected"> + <path name="low-latency-playback speaker" /> + </path> + + <path name="low-latency-playback hdmi"> + <ctl name="HDMI Mixer MultiMedia5" value="1" /> + </path> + + <path name="low-latency-playback display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia5" value="1" /> + </path> + + <path name="low-latency-playback bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia5" value="1" /> + </path> + + <path name="low-latency-playback bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="low-latency-playback bt-sco" /> + </path> + + <path name="low-latency-playback speaker-and-hdmi"> + <path name="low-latency-playback hdmi" /> + <path name="low-latency-playback speaker" /> + </path> + + <path name="low-latency-playback speaker-and-display-port"> + <path name="low-latency-playback display-port" /> + <path name="low-latency-playback speaker" /> + </path> + + <path name="low-latency-playback afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia5" value="1" /> + </path> + + <path name="low-latency-playback usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia5" value="1" /> + </path> + + <path name="low-latency-playback usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia5" value="1" /> + </path> + + <path name="low-latency-playback speaker-and-usb-headphones"> + <path name="low-latency-playback usb-headphones" /> + <path name="low-latency-playback speaker" /> + </path> + + <path name="low-latency-playback headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia5" value="1" /> + </path> + + <path name="low-latency-playback speaker-and-headphones"> + <path name="low-latency-playback headphones" /> + <path name="low-latency-playback speaker" /> + </path> + + <path name="audio-ull-playback"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia8" value="1" /> + </path> + <path name="audio-ull-playback speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia8" value="1" /> + </path> + + <path name="audio-ull-playback speaker-protected"> + <path name="audio-ull-playback speaker" /> + </path> + + <path name="audio-ull-playback headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia8" value="1" /> + </path> + + <path name="audio-ull-playback speaker-and-headphones"> + <path name="audio-ull-playback speaker" /> + <path name="audio-ull-playback headphones" /> + </path> + + <path name="audio-ull-playback hdmi"> + <ctl name="HDMI Mixer MultiMedia8" value="1" /> + </path> + + <path name="audio-ull-playback display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia8" value="1" /> + </path> + + <path name="audio-ull-playback bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia8" value="1" /> + </path> + + <path name="audio-ull-playback bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="audio-ull-playback bt-sco" /> + </path> + + <path name="audio-ull-playback speaker-and-hdmi"> + <path name="audio-ull-playback hdmi" /> + <path name="audio-ull-playback speaker" /> + </path> + + <path name="audio-ull-playback speaker-and-display-port"> + <path name="audio-ull-playback display-port" /> + <path name="audio-ull-playback speaker" /> + </path> + + <path name="audio-ull-playback afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia8" value="1" /> + </path> + + <path name="audio-ull-playback usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia8" value="1" /> + </path> + + <path name="audio-ull-playback usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia8" value="1" /> + </path> + + <path name="multi-channel-playback hdmi"> + <ctl name="HDMI Mixer MultiMedia2" value="1" /> + </path> + + <path name="multi-channel-playback display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia2" value="1" /> + </path> + + <path name="multi-channel-playback afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia2" value="1" /> + </path> + + <path name="compress-offload-playback"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia4" value="1" /> + </path> + <path name="compress-offload-playback speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="1" /> + </path> + + <path name="compress-offload-playback speaker-protected"> + <path name="compress-offload-playback speaker" /> + </path> + + <path name="compress-offload-playback hdmi"> + <ctl name="HDMI Mixer MultiMedia4" value="1" /> + </path> + + <path name="silence-playback hdmi"> + <ctl name="HDMI Mixer MultiMedia9" value="1" /> + </path> + + <path name="compress-offload-playback display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia4" value="1" /> + </path> + + <path name="silence-playback display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia9" value="1" /> + </path> + + <path name="compress-offload-playback bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia4" value="1" /> + </path> + + <path name="compress-offload-playback bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback bt-sco" /> + </path> + + <path name="compress-offload-playback speaker-and-hdmi"> + <path name="compress-offload-playback hdmi" /> + <path name="compress-offload-playback speaker" /> + </path> + + <path name="compress-offload-playback speaker-and-display-port"> + <path name="compress-offload-playback display-port" /> + <path name="compress-offload-playback speaker" /> + </path> + + <path name="compress-offload-playback afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="1" /> + </path> + + <path name="compress-offload-playback usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia4" value="1" /> + </path> + + <path name="compress-offload-playback usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia4" value="1" /> + </path> + + <path name="compress-offload-playback speaker-and-usb-headphones"> + <path name="compress-offload-playback usb-headphones" /> + <path name="compress-offload-playback speaker" /> + </path> + + <path name="compress-offload-playback headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia4" value="1" /> + </path> + + <path name="compress-offload-playback headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia4" value="1" /> + </path> + + <path name="compress-offload-playback headphones-dsd"> + </path> + + <path name="compress-offload-playback speaker-and-headphones"> + <path name="compress-offload-playback headphones" /> + <path name="compress-offload-playback speaker" /> + </path> + + <path name="compress-offload-playback2"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia7" value="1" /> + </path> + <path name="compress-offload-playback2 speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 hdmi"> + <ctl name="HDMI Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback2 bt-sco" /> + </path> + + <path name="compress-offload-playback2 speaker-and-hdmi"> + <path name="compress-offload-playback2 hdmi" /> + <path name="compress-offload-playback2 speaker" /> + </path> + + <path name="compress-offload-playback2 speaker-and-display-port"> + <path name="compress-offload-playback2 display-port" /> + <path name="compress-offload-playback2 speaker" /> + </path> + + <path name="compress-offload-playback2 afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 speaker-and-usb-headphones"> + <path name="compress-offload-playback2 usb-headphones" /> + <path name="compress-offload-playback2 speaker" /> + </path> + + <path name="compress-offload-playback2 headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback2 headphones-dsd"> + </path> + + <path name="compress-offload-playback2 speaker-and-headphones"> + <path name="compress-offload-playback2 headphones" /> + <path name="compress-offload-playback2 speaker" /> + </path> + + <path name="compress-offload-playback3"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia10" value="1" /> + </path> + <path name="compress-offload-playback3 speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 hdmi"> + <ctl name="HDMI Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback3 bt-sco" /> + </path> + + <path name="compress-offload-playback3 speaker-and-hdmi"> + <path name="compress-offload-playback3 hdmi" /> + <path name="compress-offload-playback3 speaker" /> + </path> + + <path name="compress-offload-playback3 speaker-and-display-port"> + <path name="compress-offload-playback3 display-port" /> + <path name="compress-offload-playback3 speaker" /> + </path> + + <path name="compress-offload-playback3 afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 speaker-and-usb-headphones"> + <path name="compress-offload-playback3 usb-headphones" /> + <path name="compress-offload-playback3 speaker" /> + </path> + + <path name="compress-offload-playback3 headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback3 headphones-dsd"> + </path> + + <path name="compress-offload-playback3 speaker-and-headphones"> + <path name="compress-offload-playback3 headphones" /> + <path name="compress-offload-playback3 speaker" /> + </path> + + <path name="compress-offload-playback4"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 hdmi"> + <ctl name="HDMI Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback4 bt-sco" /> + </path> + + <path name="compress-offload-playback4 speaker-and-hdmi"> + <path name="compress-offload-playback4 hdmi" /> + <path name="compress-offload-playback4 speaker" /> + </path> + + <path name="compress-offload-playback4 speaker-and-display-port"> + <path name="compress-offload-playback4 display-port" /> + <path name="compress-offload-playback4 speaker" /> + </path> + + + <path name="compress-offload-playback4 afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 speaker-and-usb-headphones"> + <path name="compress-offload-playback4 usb-headphones" /> + <path name="compress-offload-playback4 speaker" /> + </path> + + <path name="compress-offload-playback4 headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback4 headphones-dsd"> + </path> + + <path name="compress-offload-playback4 speaker-and-headphones"> + <path name="compress-offload-playback4 headphones" /> + <path name="compress-offload-playback4 speaker" /> + </path> + + <path name="compress-offload-playback5"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 hdmi"> + <ctl name="HDMI Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback5 bt-sco" /> + </path> + + <path name="compress-offload-playback5 speaker-and-hdmi"> + <path name="compress-offload-playback5 hdmi" /> + <path name="compress-offload-playback5 speaker" /> + </path> + + <path name="compress-offload-playback5 speaker-and-display-port"> + <path name="compress-offload-playback5 display-port" /> + <path name="compress-offload-playback5 speaker" /> + </path> + + <path name="compress-offload-playback5 afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 speaker-and-usb-headphones"> + <path name="compress-offload-playback5 usb-headphones" /> + <path name="compress-offload-playback5 speaker" /> + </path> + + <path name="compress-offload-playback5 headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback5 headphones-dsd"> + </path> + + <path name="compress-offload-playback5 speaker-and-headphones"> + <path name="compress-offload-playback5 headphones" /> + <path name="compress-offload-playback5 speaker" /> + </path> + + <path name="compress-offload-playback6"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 hdmi"> + <ctl name="HDMI Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback6 bt-sco" /> + </path> + + <path name="compress-offload-playback6 speaker-and-hdmi"> + <path name="compress-offload-playback6 hdmi" /> + <path name="compress-offload-playback6 speaker" /> + </path> + + <path name="compress-offload-playback6 speaker-and-display-port"> + <path name="compress-offload-playback6 display-port" /> + <path name="compress-offload-playback6 speaker" /> + </path> + + <path name="compress-offload-playback6 afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 speaker-and-usb-headphones"> + <path name="compress-offload-playback6 usb-headphones" /> + <path name="compress-offload-playback6 speaker" /> + </path> + + <path name="compress-offload-playback6 headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback6 headphones-dsd"> + </path> + + <path name="compress-offload-playback6 speaker-and-headphones"> + <path name="compress-offload-playback6 headphones" /> + <path name="compress-offload-playback6 speaker" /> + </path> + + <path name="compress-offload-playback7"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 hdmi"> + <ctl name="HDMI Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback7 bt-sco" /> + </path> + + <path name="compress-offload-playback7 speaker-and-hdmi"> + <path name="compress-offload-playback7 hdmi" /> + <path name="compress-offload-playback7 speaker" /> + </path> + + <path name="compress-offload-playback7 speaker-and-display-port"> + <path name="compress-offload-playback7 display-port" /> + <path name="compress-offload-playback7 speaker" /> + </path> + + <path name="compress-offload-playback7 afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 speaker-and-usb-headphones"> + <path name="compress-offload-playback7 usb-headphones" /> + <path name="compress-offload-playback7 speaker" /> + </path> + + <path name="compress-offload-playback7 headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback7 headphones-dsd"> + </path> + + <path name="compress-offload-playback7 speaker-and-headphones"> + <path name="compress-offload-playback7 headphones" /> + <path name="compress-offload-playback7 speaker" /> + </path> + + <path name="compress-offload-playback8"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 hdmi"> + <ctl name="HDMI Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback8 bt-sco" /> + </path> + + <path name="compress-offload-playback8 speaker-and-hdmi"> + <path name="compress-offload-playback8 hdmi" /> + <path name="compress-offload-playback8 speaker" /> + </path> + + <path name="compress-offload-playback8 speaker-and-display-port"> + <path name="compress-offload-playback8 display-port" /> + <path name="compress-offload-playback8 speaker" /> + </path> + + <path name="compress-offload-playback8 afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 speaker-and-usb-headphones"> + <path name="compress-offload-playback8 usb-headphones" /> + <path name="compress-offload-playback8 speaker" /> + </path> + + <path name="compress-offload-playback8 headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback8 headphones-dsd"> + </path> + + <path name="compress-offload-playback8 speaker-and-headphones"> + <path name="compress-offload-playback8 headphones" /> + <path name="compress-offload-playback8 speaker" /> + </path> + + <path name="compress-offload-playback9"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 speaker"> + <ctl name="PRI_MI2S_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 hdmi"> + <ctl name="HDMI Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-offload-playback9 bt-sco" /> + </path> + + <path name="compress-offload-playback9 speaker-and-hdmi"> + <path name="compress-offload-playback9 hdmi" /> + <path name="compress-offload-playback9 speaker" /> + </path> + + <path name="compress-offload-playback9 speaker-and-display-port"> + <path name="compress-offload-playback9 display-port" /> + <path name="compress-offload-playback9 speaker" /> + </path> + + <path name="compress-offload-playback9 afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 speaker-and-usb-headphones"> + <path name="compress-offload-playback9 usb-headphones" /> + <path name="compress-offload-playback9 speaker" /> + </path> + + <path name="compress-offload-playback9 headphones"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 headphones-44.1"> + <ctl name="INT0_MI2S_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="compress-offload-playback9 headphones-dsd"> + </path> + + <path name="compress-offload-playback9 speaker-and-headphones"> + <path name="compress-offload-playback9 headphones" /> + <path name="compress-offload-playback9 speaker" /> + </path> + + <path name="audio-record"> + <ctl name="MultiMedia1 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="audio-record usb-headset-mic"> + <ctl name="MultiMedia1 Mixer USB_AUDIO_TX" value="1" /> + </path> + + <path name="audio-record bt-sco"> + <ctl name="MultiMedia1 Mixer SLIM_7_TX" value="1" /> + </path> + + <path name="audio-record bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="audio-record bt-sco" /> + </path> + + <path name="audio-record capture-fm"> + <ctl name="MultiMedia1 Mixer SLIM_8_TX" value="1" /> + </path> + + <path name="audio-record-compress"> + <ctl name="MultiMedia8 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="audio-record-compress bt-sco"> + <ctl name="MultiMedia8 Mixer SLIM_7_TX" value="1" /> + </path> + + <path name="audio-record-compress bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="audio-record-compress bt-sco" /> + </path> + + <path name="audio-record-compress usb-headset-mic"> + <ctl name="MultiMedia8 Mixer USB_AUDIO_TX" value="1" /> + </path> + + <path name="low-latency-record"> + <ctl name="MultiMedia8 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="low-latency-record bt-sco"> + <ctl name="MultiMedia8 Mixer SLIM_7_TX" value="1" /> + </path> + + <path name="low-latency-record bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="low-latency-record bt-sco" /> + </path> + + <path name="low-latency-record usb-headset-mic"> + <ctl name="MultiMedia8 Mixer USB_AUDIO_TX" value="1" /> + </path> + + <path name="low-latency-record capture-fm"> + <ctl name="MultiMedia8 Mixer SLIM_8_TX" value="1" /> + </path> + + <path name="fm-virtual-record capture-fm"> + <ctl name="MultiMedia2 Mixer SLIM_8_TX" value="1" /> + </path> + + <path name="play-fm"> + <ctl name="SLIMBUS_8 LOOPBACK Volume" value="1" /> + <ctl name="INT0_MI2S_RX Port Mixer SLIM_8_TX" value="1" /> + <ctl name="INT0_MI2S_RX_DL_HL Switch" value="1" /> + </path> + + <path name="play-fm speaker"> + <ctl name="SLIMBUS_8 LOOPBACK Volume" value="1" /> + <ctl name="PRI_MI2S_RX Port Mixer SLIM_8_TX" value="1" /> + <ctl name="PRI_MI2S_RX_DL_HL Switch" value="1" /> + </path> + + <path name="play-fm headphones"> + <ctl name="SLIMBUS_8 LOOPBACK Volume" value="1" /> + <ctl name="INT0_MI2S_RX Port Mixer SLIM_8_TX" value="1" /> + <ctl name="INT0_MI2S_RX_DL_HL Switch" value="1" /> + </path> + + <path name="incall-rec-uplink"> + <ctl name="MultiMedia1 Mixer VOC_REC_UL" value="1" /> + </path> + + <path name="incall-rec-uplink bt-sco"> + <path name="incall-rec-uplink" /> + </path> + + <path name="incall-rec-uplink bt-sco-wb"> + <path name="incall-rec-uplink" /> + </path> + + <path name="incall-rec-uplink usb-headset-mic"> + <path name="incall-rec-uplink" /> + </path> + + <path name="incall-rec-uplink afe-proxy"> + <path name="incall-rec-uplink" /> + </path> + + <path name="incall-rec-uplink-compress"> + <ctl name="MultiMedia8 Mixer VOC_REC_UL" value="1" /> + </path> + + <path name="incall-rec-uplink-compress bt-sco"> + <path name="incall-rec-uplink-compress" /> + </path> + + <path name="incall-rec-uplink-compress bt-sco-wb"> + <path name="incall-rec-uplink-compress" /> + </path> + + <path name="incall-rec-uplink-compress usb-headset-mic"> + <path name="incall-rec-uplink-compress" /> + </path> + + <path name="incall-rec-uplink-compress afe-proxy"> + <path name="incall-rec-uplink-compress" /> + </path> + + <path name="incall-rec-downlink"> + <ctl name="MultiMedia1 Mixer VOC_REC_DL" value="1" /> + </path> + + <path name="incall-rec-downlink bt-sco"> + <path name="incall-rec-downlink" /> + </path> + + <path name="incall-rec-downlink bt-sco-wb"> + <path name="incall-rec-downlink" /> + </path> + + <path name="incall-rec-downlink usb-headset-mic"> + <path name="incall-rec-downlink" /> + </path> + + <path name="incall-rec-downlink afe-proxy"> + <path name="incall-rec-downlink" /> + </path> + + <path name="incall-rec-downlink-compress"> + <ctl name="MultiMedia8 Mixer VOC_REC_DL" value="1" /> + </path> + + <path name="incall-rec-downlink-compress bt-sco"> + <path name="incall-rec-downlink-compress" /> + </path> + + <path name="incall-rec-downlink-compress bt-sco-wb"> + <path name="incall-rec-downlink-compress" /> + </path> + + <path name="incall-rec-downlink-compress usb-headset-mic"> + <path name="incall-rec-downlink-compress" /> + </path> + + <path name="incall-rec-downlink-compress afe-proxy"> + <path name="incall-rec-downlink-compress" /> + </path> + + <path name="incall-rec-uplink-and-downlink"> + <path name="incall-rec-uplink" /> + <path name="incall-rec-downlink" /> + </path> + + <path name="incall-rec-uplink-and-downlink bt-sco"> + <path name="incall-rec-uplink-and-downlink" /> + </path> + + <path name="incall-rec-uplink-and-downlink bt-sco-wb"> + <path name="incall-rec-uplink-and-downlink" /> + </path> + + <path name="incall-rec-uplink-and-downlink usb-headset-mic"> + <path name="incall-rec-uplink-and-downlink" /> + </path> + + <path name="incall-rec-uplink-and-downlink afe-proxy"> + <path name="incall-rec-uplink-and-downlink" /> + </path> + + <path name="incall-rec-uplink-and-downlink-compress"> + <path name="incall-rec-uplink-compress" /> + <path name="incall-rec-downlink-compress" /> + </path> + + <path name="incall-rec-uplink-and-downlink-compress bt-sco"> + <path name="incall-rec-uplink-and-downlink-compress" /> + </path> + + <path name="incall-rec-uplink-and-downlink-compress bt-sco-wb"> + <path name="incall-rec-uplink-and-downlink-compress" /> + </path> + + <path name="incall-rec-uplink-and-downlink-compress usb-headset-mic"> + <path name="incall-rec-uplink-and-downlink-compress" /> + </path> + + <path name="incall-rec-uplink-and-downlink-compress afe-proxy"> + <path name="incall-rec-uplink-and-downlink-compress" /> + </path> + + <path name="hfp-sco"> + <ctl name="HFP_SLIM7_UL_HL Switch" value="1" /> + <ctl name="INT0_MI2S_RX Port Mixer SLIM_7_TX" value="1" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia6" value="1" /> + <ctl name="MultiMedia6 Mixer INT3_MI2S_TX" value="1" /> + <ctl name="INT0_MI2S_RX_DL_HL Switch" value="1" /> + </path> + + <path name="hfp-sco headphones"> + <ctl name="HFP_SLIM7_UL_HL Switch" value="1" /> + <ctl name="INT0_MI2S_RX Port Mixer SLIM_7_TX" value="1" /> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia6" value="1" /> + <ctl name="MultiMedia6 Mixer INT3_MI2S_TX" value="1" /> + <ctl name="INT0_MI2S_RX_DL_HL Switch" value="1" /> + </path> + + <path name="hfp-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="hfp-sco" /> + </path> + + <path name="hfp-sco-wb headphones"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="hfp-sco headphones" /> + </path> + + <path name="compress-voip-call"> + <ctl name="INT0_MI2S_RX_Voice Mixer Voip" value="1" /> + <ctl name="Voip_Tx Mixer INT3_MI2S_TX_Voip" value="1" /> + </path> + + <path name="compress-voip-call speaker"> + <ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="1" /> + <ctl name="Voip_Tx Mixer INT3_MI2S_TX_Voip" value="1" /> + <ctl name="VOC_EXT_EC MUX" value="PRI_MI2S_TX" /> + </path> + + <path name="compress-voip-call bt-a2dp"> + <ctl name="SLIM_7_RX_Voice Mixer Voip" value="1" /> + <ctl name="Voip_Tx Mixer INT3_MI2S_TX_Voip" value="1" /> + </path> + + <path name="compress-voip-call headphones"> + <ctl name="INT0_MI2S_RX_Voice Mixer Voip" value="1" /> + <ctl name="Voip_Tx Mixer INT3_MI2S_TX_Voip" value="1" /> + </path> + + + <path name="compress-voip-call bt-sco"> + <ctl name="SLIM_7_RX_Voice Mixer Voip" value="1" /> + <ctl name="Voip_Tx Mixer SLIM_7_TX_Voip" value="1" /> + </path> + + <path name="compress-voip-call bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="compress-voip-call bt-sco" /> + </path> + + <path name="compress-voip-call afe-proxy"> + <ctl name="AFE_PCM_RX_Voice Mixer Voip" value="1" /> + <ctl name="Voip_Tx Mixer AFE_PCM_TX_Voip" value="1" /> + </path> + + <path name="compress-voip-call usb-headphones"> + <ctl name="USB_AUDIO_RX_Voice Mixer Voip" value="1" /> + <ctl name="Voip_Tx Mixer INT3_MI2S_TX_Voip" value="1" /> + </path> + + <path name="compress-voip-call usb-headset"> + <ctl name="USB_AUDIO_RX_Voice Mixer Voip" value="1" /> + <ctl name="Voip_Tx Mixer USB_AUDIO_TX_Voip" value="1" /> + </path> + + <path name="compress-voip-call voice-speaker-vbat"> + <path name="echo-reference speaker-vbat-mono" /> + <path name="compress-voip-call"/> + </path> + + <path name="compress-voip-call voice-speaker-2-vbat"> + <path name="echo-reference speaker-vbat-mono-2" /> + <path name="compress-voip-call"/> + </path> + + <path name="voicemmode1-call"> + <ctl name="INT0_MI2S_RX_Voice Mixer VoiceMMode1" value="1" /> + <ctl name="VoiceMMode1_Tx Mixer INT3_MI2S_TX_MMode1" value="1" /> + </path> + <path name="voicemmode1-call speaker"> + <ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode1" value="1" /> + <ctl name="VoiceMMode1_Tx Mixer INT3_MI2S_TX_MMode1" value="1" /> + <ctl name="VOC_EXT_EC MUX" value="PRI_MI2S_TX" /> + </path> + <path name="voicemmode1-call headphones"> + <ctl name="INT0_MI2S_RX_Voice Mixer VoiceMMode1" value="1" /> + <ctl name="VoiceMMode1_Tx Mixer INT3_MI2S_TX_MMode1" value="1" /> + </path> + + <path name="voicemmode1-call hdmi"> + <ctl name="HDMI_RX_Voice Mixer VoiceMMode1" value="1" /> + <ctl name="VoiceMMode1_Tx Mixer INT3_MI2S_TX_MMode1" value="1" /> + </path> + + <path name="voicemmode1-call bt-sco"> + <ctl name="SLIM_7_RX_Voice Mixer VoiceMMode1" value="1" /> + <ctl name="VoiceMMode1_Tx Mixer SLIM_7_TX_MMode1" value="1" /> + </path> + + <path name="voicemmode1-call bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="voicemmode1-call bt-sco" /> + </path> + + <path name="voicemmode1-call afe-proxy"> + <ctl name="AFE_PCM_RX_Voice Mixer VoiceMMode1" value="1" /> + <ctl name="VoiceMMode1_Tx Mixer AFE_PCM_TX_MMode1" value="1" /> + </path> + + <path name="voicemmode1-call usb-headphones"> + <ctl name="USB_AUDIO_RX_Voice Mixer VoiceMMode1" value="1" /> + <ctl name="VoiceMMode1_Tx Mixer INT3_MI2S_TX_MMode1" value="1" /> + </path> + + <path name="voicemmode1-call usb-headset"> + <ctl name="USB_AUDIO_RX_Voice Mixer VoiceMMode1" value="1" /> + <ctl name="VoiceMMode1_Tx Mixer USB_AUDIO_TX_MMode1" value="1" /> + </path> + + <path name="voicemmode1-call voice-speaker-vbat"> + <path name="echo-reference speaker-vbat-mono" /> + <path name="voicemmode1-call"/> + </path> + + <path name="voicemmode1-call voice-speaker-2-vbat"> + <path name="echo-reference speaker-vbat-mono-2" /> + <path name="voicemmode1-call"/> + </path> + + <path name="voicemmode2-call"> + <ctl name="INT0_MI2S_RX_Voice Mixer VoiceMMode2" value="1" /> + <ctl name="VoiceMMode2_Tx Mixer INT3_MI2S_TX_MMode2" value="1" /> + </path> + <path name="voicemmode2-call speaker"> + <ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode2" value="1" /> + <ctl name="VoiceMMode2_Tx Mixer INT3_MI2S_TX_MMode2" value="1" /> + <ctl name="VOC_EXT_EC MUX" value="PRI_MI2S_TX" /> + </path> + <path name="voicemmode2-call headphones"> + <ctl name="INT0_MI2S_RX_Voice Mixer VoiceMMode2" value="1" /> + <ctl name="VoiceMMode2_Tx Mixer INT3_MI2S_TX_MMode2" value="1" /> + </path> + + <path name="voicemmode2-call hdmi"> + <ctl name="HDMI_RX_Voice Mixer VoiceMMode2" value="1" /> + <ctl name="VoiceMMode2_Tx Mixer INT3_MI2S_TX_MMode2" value="1" /> + </path> + + <path name="voicemmode2-call bt-sco"> + <ctl name="SLIM_7_RX_Voice Mixer VoiceMMode2" value="1" /> + <ctl name="VoiceMMode2_Tx Mixer SLIM_7_TX_MMode2" value="1" /> + </path> + + <path name="voicemmode2-call bt-sco-wb"> + <ctl name="BT SampleRate" value="KHZ_16" /> + <path name="voicemmode2-call bt-sco" /> + </path> + + <path name="voicemmode2-call afe-proxy"> + <ctl name="AFE_PCM_RX_Voice Mixer VoiceMMode2" value="1" /> + <ctl name="VoiceMMode2_Tx Mixer AFE_PCM_TX_MMode2" value="1" /> + </path> + + <path name="voicemmode2-call usb-headphones"> + <ctl name="USB_AUDIO_RX_Voice Mixer VoiceMMode2" value="1" /> + <ctl name="VoiceMMode2_Tx Mixer INT3_MI2S_TX_MMode2" value="1" /> + </path> + + <path name="voicemmode2-call usb-headset"> + <ctl name="USB_AUDIO_RX_Voice Mixer VoiceMMode2" value="1" /> + <ctl name="VoiceMMode2_Tx Mixer USB_AUDIO_TX_MMode2" value="1" /> + </path> + + <path name="voicemmode2-call voice-speaker-vbat"> + <path name="echo-reference speaker-vbat-mono" /> + <path name="voicemmode2-call"/> + </path> + + <path name="voicemmode2-call voice-speaker-2-vbat"> + <path name="echo-reference speaker-vbat-mono-2" /> + <path name="voicemmode2-call"/> + </path> + + <path name="spkr-rx-calib"> + <ctl name="INT4_MI2S_RX_DL_HL Switch" value="1" /> + </path> + <path name="spkr-rx-calib speaker"> + <ctl name="PRI_MI2S_RX_DL_HL Switch" value="1" /> + </path> + <path name="spkr-vi-record"> + </path> + + <!-- These are actual sound device specific mixer settings --> + <path name="adc1"> + <ctl name="ADC1 Volume" value="6" /> + <ctl name="DEC1 MUX" value="ADC1" /> + <ctl name="ADC1_INP1 Switch" value="1" /> + </path> + + <path name="adc2"> + <ctl name="ADC2 Volume" value="6" /> + <ctl name="DEC1 MUX" value="ADC2" /> + <ctl name="ADC2 MUX" value="INP2" /> + </path> + + <path name="adc3"> + <ctl name="ADC3 Volume" value="6" /> + <ctl name="DEC1 MUX" value="ADC2" /> + <ctl name="ADC2 MUX" value="INP3" /> + </path> + + <!-- DMIC numbered from 1 to 4 --> + <path name="dmic1"> + <ctl name="DEC1 MUX" value="DMIC1" /> + </path> + + <path name="dmic2"> + <ctl name="DEC1 MUX" value="DMIC2" /> + </path> + + <path name="dmic3"> + <ctl name="DEC1 MUX" value="DMIC3" /> + </path> + + <path name="dmic4"> + <ctl name="DEC1 MUX" value="DMIC4" /> + </path> + + <path name="speaker"> + <!-- ctl name="PowerCtrl" value="1" /--> + </path> + + <path name="speaker-mono"> + <ctl name="INT4_MI2S_RX Channels" value="One" /> + <ctl name="RX4 MIX1 INP1" value="RX4" /> + <ctl name="COMP1 Switch" value="1" /> + <ctl name="SpkrLeft COMP Switch" value="1" /> + <ctl name="SpkrLeft BOOST Switch" value="1" /> + <ctl name="SpkrLeft VISENSE Switch" value="1" /> + <ctl name="SpkrLeft SWR DAC_Port Switch" value="1" /> + <ctl name="SpkrLeft WSA PA Mute" value="0" /> + </path> + + <path name="speaker-mono-2"> + <ctl name="INT4_MI2S_RX Channels" value="One" /> + <ctl name="RX5 MIX1 INP1" value="RX4" /> + <ctl name="COMP2 Switch" value="1" /> + <ctl name="SpkrRight COMP Switch" value="1" /> + <ctl name="SpkrRight BOOST Switch" value="1" /> + <ctl name="SpkrRight VISENSE Switch" value="1" /> + <ctl name="SpkrRight SWR DAC_Port Switch" value="1" /> + <ctl name="SpkrRight WSA PA Mute" value="0" /> + </path> + + <path name="speaker-fluid"> + <path name="speaker-mono" /> + </path> + + <path name="speaker-liquid"> + <path name="speaker" /> + </path> + + <path name="speaker-vbat-mono"> + <path name="speaker-mono" /> + </path> + + <path name="speaker-vbat-mono-2"> + <path name="speaker-mono-2" /> + </path> + + <path name="speaker-vbat"> + <path name="speaker" /> + </path> + + <path name="sidetone-iir"> + <ctl name="IIR1 Enable Band1" value="1" /> + <ctl name="IIR1 Enable Band2" value="1" /> + <ctl name="IIR1 Enable Band3" value="1" /> + <ctl name="IIR1 Enable Band4" value="1" /> + <ctl name="IIR1 Enable Band5" value="1" /> + </path> + + <path name="sidetone-headphones"> + <path name="sidetone-iir" /> + <ctl name="RX1 MIX2 INP1" value="IIR1" /> + <ctl name="RX2 MIX2 INP1" value="IIR1" /> + <ctl name="IIR1 INP1 Volume" value="0" /> + </path> + + <path name="sidetone-handset"> + <path name="sidetone-iir" /> + <ctl name="IIR1 INP1 Volume" value="53" /> + <ctl name="RX1 MIX2 INP1" value="IIR1" /> + </path> + + <path name="speaker-mic"> + <path name="adc1" /> + <ctl name="IIR1 INP1 MUX" value="DEC1" /> + </path> + + <path name="speaker-mic-liquid"> + <path name="dmic2" /> + </path> + + <path name="speaker-mic-sbc"> + </path> + + <path name="speaker-protected"> + <ctl name="AIF1_VI_SDW Mixer SPKR_VI_1" value="1" /> + <ctl name="AIF1_VI_SDW Mixer SPKR_VI_2" value="1" /> + <path name="speaker" /> + <ctl name="VI_FEED_TX Channels" value="Two" /> + <ctl name="INT4_MI2S_RX_VI_FB_STEREO_CH_MUX" value="INT5_MI2S_TX" /> + </path> + + <path name="voice-speaker-protected"> + <ctl name="AIF1_VI_SDW Mixer SPKR_VI_1" value="1" /> + <path name="speaker-mono" /> + <ctl name="VI_FEED_TX Channels" value="One" /> + <ctl name="INT4_MI2S_RX_VI_FB_MONO_CH_MUX" value="INT5_MI2S_TX" /> + <ctl name="TFA Profile" value="voice" /> + </path> + + <path name="voice-speaker-2-protected"> + <ctl name="AIF1_VI_SDW Mixer SPKR_VI_2" value="1" /> + <path name="speaker-mono-2" /> + <ctl name="VI_FEED_TX Channels" value="One" /> + <ctl name="INT4_MI2S_RX_VI_FB_MONO_CH_MUX" value="INT5_MI2S_TX" /> + <ctl name="INT5 MI2S VI MONO" value="Right" /> + <ctl name="TFA Profile" value="voice" /> + </path> + + <path name="vi-feedback"> + </path> + + <path name="vi-feedback-mono-1"> + </path> + + <path name="vi-feedback-mono-2"> + </path> + + <path name="speaker-protected-vbat"> + <path name="speaker-protected" /> + </path> + + <path name="voice-speaker-protected-vbat"> + <path name="voice-speaker-protected" /> + </path> + + <path name="voice-speaker-2-protected-vbat"> + <path name="voice-speaker-2-protected" /> + </path> + + <path name="handset"> + <ctl name="RX1 MIX1 INP1" value="RX1" /> + <ctl name="RDAC2 MUX" value="RX1" /> + <ctl name="RX1 Digital Volume" value="84" /> + <ctl name="EAR PA Gain" value="POS_6_DB" /> + <ctl name="EAR_S" value="Switch" /> + </path> + + <path name="handset-mic"> + <path name="adc1" /> + <ctl name="IIR1 INP1 MUX" value="DEC1" /> + </path> + + <path name="secondary-mic"> + <path name="adc3" /> + <ctl name="IIR1 INP1 MUX" value="DEC1" /> + </path> + + <path name="handset-mic-db"> + </path> + + <path name="handset-mic-cdp"> + <path name="adc1" /> + </path> + + <path name="handset-mic-sbc"> + </path> + + <path name="three-mic"> + <ctl name="INT3_MI2S_TX Channels" value="Three" /> + <ctl name="DEC1 MUX" value="DMIC1" /> + <ctl name="DEC2 MUX" value="DMIC3" /> + <ctl name="DEC3 MUX" value="DMIC4" /> + <ctl name="I2S TX2 INP1" value="DEC3" /> + </path> + + <path name="anc-handset"> + </path> + + <path name="headphones"> + <ctl name="INT0_MI2S_RX Channels" value="Two" /> + <ctl name="RX1 MIX1 INP1" value="RX1" /> + <ctl name="RX2 MIX1 INP1" value="RX2" /> + <ctl name="RDAC2 MUX" value="RX2" /> + <ctl name="RX HPH Mode" value="HD2" /> + <!--ctl name="COMP0 RX1" value="1" /--> + <!--ctl name="COMP0 RX2" value="1" /--> + <ctl name="HPHL" value="Switch" /> + <ctl name="HPHR" value="Switch" /> + </path> + + <path name="headphones-44.1"> + <path name="headphones" /> + </path> + + <path name="headphones-ce"> + <path name="headphones" /> + <ctl name="RX1 Digital Volume" value="72" /> + <ctl name="RX2 Digital Volume" value="72" /> + </path> + + <path name="headphones-no-ce"> + <path name="headphones" /> + <ctl name="RX1 Digital Volume" value="81" /> + <ctl name="RX2 Digital Volume" value="81" /> + </path> + + <path name="headphones-karaoke"> + <path name="headphones" /> + <ctl name="RX1 MIX2 INP1" value="IIR1" /> + <ctl name="RX2 MIX2 INP1" value="IIR1" /> + <ctl name="IIR1 INP1 Volume" value="80" /> + <ctl name="IIR1 INP2 Volume" value="80" /> + </path> + + <path name="true-native-mode"> + </path> + + <path name="line"> + <path name="headphones" /> + </path> + + <path name="headset-mic"> + <path name="adc2" /> + <ctl name="IIR1 INP1 MUX" value="DEC1" /> + </path> + + <path name="headset-mic-liquid"> + <path name="adc2" /> + </path> + + <path name="voice-handset"> + <path name="handset" /> + </path> + + <path name="voice-handset-tmus"> + <path name="handset" /> + </path> + + <path name="voice-speaker"> + <!--ctl name="VOC_EXT_EC MUX" value="PRI_MI2S_TX" /--> + <path name="speaker" /> + <ctl name="TFA Profile" value="voice" /> + </path> + + <path name="voice-speaker-2"> + <path name="speaker-mono-2" /> + <ctl name="TFA Profile" value="voice" /> + </path> + + <path name="voice-speaker-fluid"> + <path name="speaker-fluid" /> + <ctl name="TFA Profile" value="voice" /> + </path> + + <path name="voice-speaker-mic"> + <path name="speaker-mic" /> + </path> + + <path name="voice-speaker-vbat"> + <path name="speaker-vbat-mono" /> + <ctl name="TFA Profile" value="voice" /> + </path> + + <path name="voice-speaker-2-vbat"> + <path name="speaker-vbat-mono-2" /> + <ctl name="TFA Profile" value="voice" /> + </path> + + <path name="voice-headphones"> + <path name="headphones" /> + </path> + + <path name="voice-line"> + <path name="voice-headphones" /> + </path> + + <path name="voice-headset-mic"> + <path name="headset-mic" /> + </path> + + <path name="speaker-and-headphones"> + <path name="headphones" /> + <path name="speaker" /> + </path> + + <path name="speaker-and-headphones-ce"> + <path name="headphones-ce" /> + <path name="speaker" /> + </path> + + <path name="speaker-and-headphones-no-ce"> + <path name="headphones-no-ce" /> + <path name="speaker" /> + </path> + + <path name="speaker-and-line"> + <path name="speaker-and-headphones" /> + </path> + + <path name="speaker-and-headphones-liquid"> + <path name="headphones" /> + <path name="speaker" /> + </path> + + <path name="speaker-and-line-liquid"> + <path name="speaker-and-headphones-liquid" /> + </path> + + <path name="usb-headphones"> + </path> + + <path name="usb-headset"> + </path> + + <path name="afe-proxy"> + </path> + + <path name="anc-headphones"> + <path name="headphones" /> + </path> + + <path name="speaker-and-anc-headphones"> + <path name="anc-headphones" /> + <path name="speaker" /> + </path> + + <path name="anc-fb-headphones"> + <path name="anc-headphones" /> + </path> + + <path name="speaker-and-anc-fb-headphones"> + <path name="anc-fb-headphones" /> + <path name="speaker" /> + </path> + + <path name="voice-anc-headphones"> + <path name="voice-headphones" /> + </path> + + <path name="voice-anc-fb-headphones"> + <path name="voice-headphones" /> + </path> + + <path name="speaker-and-anc-headphones-liquid"> + <path name="anc-headphones" /> + </path> + + <path name="hdmi"> + </path> + + <path name="display-port"> + </path> + + <path name="speaker-and-usb-headphones"> + <path name="speaker" /> + <path name="usb-headphones" /> + </path> + + <path name="speaker-and-hdmi"> + <path name="speaker" /> + <path name="hdmi" /> + </path> + + <path name="speaker-and-display-port"> + <path name="speaker" /> + <path name="display-port" /> + </path> + + <path name="voice-rec-mic"> + <path name="handset-mic" /> + </path> + + <path name="camcorder-mic"> + <path name="handset-mic" /> + </path> + + <path name="hdmi-tx"> + <path name="handset-mic" /> + </path> + + <path name="bt-sco-headset"> + </path> + + <path name="bt-sco-mic"> + </path> + + <path name="bt-sco-headset-wb"> + </path> + + <path name="bt-sco-mic-wb"> + </path> + + <path name="usb-headset-mic"> + </path> + + <path name="capture-fm"> + </path> + + <path name="aanc-path"> + </path> + + <path name="aanc-handset-mic"> + </path> + + <!-- Dual MIC devices --> + <path name="handset-dmic-endfire"> + <path name="adc1" /> + <ctl name="ADC3 Volume" value="6" /> + <ctl name="DEC2 MUX" value="ADC2" /> + <ctl name="ADC2 MUX" value="INP3" /> + <ctl name="INT3_MI2S_TX Channels" value="Two" /> + </path> + + <path name="speaker-dmic-endfire"> + <path name="adc1" /> + <ctl name="ADC3 Volume" value="6" /> + <ctl name="DEC2 MUX" value="ADC2" /> + <ctl name="ADC2 MUX" value="INP3" /> + <ctl name="INT3_MI2S_TX Channels" value="Two" /> + </path> + + <path name="dmic-endfire"> + <path name="handset-dmic-endfire" /> + <ctl name="IIR1 INP1 MUX" value="DEC1" /> + </path> + + <path name="dmic-endfire-liquid"> + <path name="handset-dmic-endfire" /> + <ctl name="IIR1 INP1 MUX" value="DEC1" /> + </path> + + <path name="handset-stereo-dmic-ef"> + <path name="handset-dmic-endfire" /> + </path> + + <path name="speaker-stereo-dmic-ef"> + <path name="speaker-dmic-endfire" /> + </path> + + <path name="camcorder-dmic"> + <path name="dmic-endfire" /> + </path> + + <path name="voice-dmic-ef-tmus"> + <path name="dmic-endfire" /> + </path> + + <path name="voice-dmic-ef"> + <path name="dmic-endfire" /> + </path> + + <path name="voice-speaker-tmic"> + <path name="dmic-endfire" /> + </path> + + <path name="voice-speaker-dmic-ef"> + <path name="speaker-dmic-endfire" /> + </path> + + <path name="voice-speaker-dmic-ef-echo"> + <path name="speaker-dmic-endfire" /> + <ctl name="AUDIO_REF_EC_UL1 MUX" value="I2S_RX" /> + <ctl name="MultiMedia1 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="voice-rec-dmic-ef"> + <path name="dmic-endfire" /> + </path> + + <path name="voice-rec-dmic-ef-fluence"> + <path name="dmic-endfire" /> + </path> + + <path name="handset-stereo-dmic-ef-liquid"> + <path name="handset-dmic-endfire" /> + </path> + + <path name="speaker-stereo-dmic-ef-liquid"> + <path name="speaker-dmic-endfire" /> + </path> + + <path name="voice-dmic-ef-liquid-liquid"> + <path name="dmic-endfire-liquid" /> + </path> + + <path name="voice-speaker-dmic-ef-liquid"> + <path name="dmic-endfire-liquid" /> + </path> + + <path name="voice-rec-dmic-ef-liquid"> + <path name="dmic-endfire-liquid" /> + </path> + + <path name="voice-rec-dmic-ef-fluence-liquid"> + <path name="dmic-endfire-liquid" /> + </path> + + <path name="speaker-dmic-broadside"> + <ctl name="INT3_MI2S_TX Channels" value="Two" /> + <ctl name="DEC1 MUX" value="DMIC2" /> + <ctl name="DEC2 MUX" value="DMIC3" /> + </path> + + <path name="dmic-broadside"> + <path name="speaker-dmic-broadside" /> + <ctl name="IIR1 INP1 MUX" value="DEC1" /> + </path> + + <path name="voice-speaker-dmic-broadside"> + <path name="dmic-broadside" /> + </path> + + <!-- Quad MIC devices --> + <path name="speaker-qmic"> + <ctl name="INT3_MI2S_TX Channels" value="Four" /> + <ctl name="DEC1 MUX" value="DMIC2" /> + <ctl name="DEC2 MUX" value="DMIC1" /> + <ctl name="DEC3 MUX" value="DMIC3" /> + <ctl name="I2S TX2 INP1" value="DEC3" /> + <ctl name="DEC4 MUX" value="DMIC4" /> + <ctl name="I2S TX2 INP2" value="DEC4" /> + </path> + + <path name="speaker-qmic-liquid"> + </path> + + <path name="voice-speaker-qmic"> + <path name="speaker-qmic" /> + </path> + + <path name="quad-mic"> + <path name="speaker-qmic" /> + </path> + + <path name="voice-speaker-qmic-liquid"> + <path name="speaker-qmic-liquid" /> + </path> + + <path name="quad-mic-liquid"> + <path name="speaker-qmic-liquid" /> + </path> + + <!-- TTY devices --> + + <path name="tty-headphones"> + <ctl name="RX1 MIX1 INP1" value="RX1" /> + <ctl name="HPHL" value="Switch" /> + </path> + + <path name="voice-tty-full-headphones"> + <ctl name="TTY Mode" value="FULL" /> + <path name="tty-headphones" /> + </path> + + <path name="voice-tty-vco-headphones"> + <ctl name="TTY Mode" value="VCO" /> + <path name="tty-headphones" /> + </path> + + <path name="voice-tty-hco-handset"> + <ctl name="TTY Mode" value="HCO" /> + <path name="handset" /> + </path> + + <path name="voice-tty-full-headset-mic"> + <path name="adc2" /> + </path> + + <path name="voice-tty-hco-headset-mic"> + <path name="voice-tty-full-headset-mic" /> + </path> + + <path name="voice-tty-vco-handset-mic"> + <path name="adc1" /> + </path> + + <path name="unprocessed-handset-mic"> + <path name="handset-mic" /> + </path> + + <path name="unprocessed-mic"> + <path name="unprocessed-handset-mic" /> + </path> + + <!-- Added for ADSP testfwk --> + <path name="ADSP testfwk"> + <ctl name="INT0_MI2S_RX_DL_HL Switch" value="1" /> + </path> + + <path name="bt-a2dp"> + <ctl name="BT SampleRate" value="KHZ_48" /> + <ctl name="AFE Input Channels" value="Two" /> + <ctl name="SLIM7_RX ADM Channels" value="Two" /> + </path> + + <path name="speaker-and-bt-a2dp"> + <path name="speaker" /> + <path name="bt-a2dp" /> + </path> + + <path name="deep-buffer-playback bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia1" value="1" /> + </path> + + <path name="low-latency-playback bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia5" value="1" /> + </path> + + <path name="compress-offload-playback bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia4" value="1" /> + </path> + + <path name="compress-offload-playback2 bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia7" value="1" /> + </path> + + <path name="compress-offload-playback3 bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia10" value="1" /> + </path> + + <path name="compress-offload-playback4 bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia11" value="1" /> + </path> + + <path name="compress-offload-playback5 bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia12" value="1" /> + </path> + + <path name="compress-offload-playback6 bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia13" value="1" /> + </path> + + <path name="compress-offload-playback7 bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia14" value="1" /> + </path> + + <path name="compress-offload-playback8 bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia15" value="1" /> + </path> + + <path name="compress-offload-playback9 bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="audio-ull-playback bt-a2dp"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia8" value="1" /> + </path> + + <path name="deep-buffer-playback speaker-and-bt-a2dp"> + <path name="deep-buffer-playback bt-a2dp" /> + <path name="deep-buffer-playback speaker" /> + </path> + + <path name="compress-offload-playback speaker-and-bt-a2dp"> + <path name="compress-offload-playback bt-a2dp" /> + <path name="compress-offload-playback speaker" /> + </path> + + <path name="low-latency-playback speaker-and-bt-a2dp"> + <path name="low-latency-playback bt-a2dp" /> + <path name="low-latency-playback speaker" /> + </path> + + <path name="compress-offload-playback2 speaker-and-bt-a2dp"> + <path name="compress-offload-playback2 bt-a2dp" /> + <path name="compress-offload-playback2 speaker" /> + </path> + + <path name="compress-offload-playback3 speaker-and-bt-a2dp"> + <path name="compress-offload-playback3 bt-a2dp" /> + <path name="compress-offload-playback3 speaker" /> + </path> + + <path name="compress-offload-playback4 speaker-and-bt-a2dp"> + <path name="compress-offload-playback4 bt-a2dp" /> + <path name="compress-offload-playback4 speaker" /> + </path> + + <path name="compress-offload-playback5 speaker-and-bt-a2dp"> + <path name="compress-offload-playback5 bt-a2dp" /> + <path name="compress-offload-playback5 speaker" /> + </path> + + <path name="compress-offload-playback6 speaker-and-bt-a2dp"> + <path name="compress-offload-playback6 bt-a2dp" /> + <path name="compress-offload-playback6 speaker" /> + </path> + + <path name="compress-offload-playback7 speaker-and-bt-a2dp"> + <path name="compress-offload-playback7 bt-a2dp" /> + <path name="compress-offload-playback7 speaker" /> + </path> + + <path name="compress-offload-playback8 speaker-and-bt-a2dp"> + <path name="compress-offload-playback8 bt-a2dp" /> + <path name="compress-offload-playback8 speaker" /> + </path> + + <path name="compress-offload-playback9 speaker-and-bt-a2dp"> + <path name="compress-offload-playback9 bt-a2dp" /> + <path name="compress-offload-playback9 speaker" /> + </path> + + <path name="audio-ull-playback speaker-and-bt-a2dp"> + <path name="audio-ull-playback bt-a2dp" /> + <path name="audio-ull-playback speaker" /> + </path> + + <path name="mmap-playback"> + <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="mmap-playback headphones"> + <ctl name="SLIMBUS_6_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="mmap-playback speaker-and-headphones"> + <path name="mmap-playback" /> + <path name="mmap-playback headphones" /> + </path> + + <path name="mmap-playback bt-sco"> + <ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="mmap-playback bt-sco-wb"> + <ctl name="BT SampleRate" value="16000" /> + <path name="mmap-playback bt-sco" /> + </path> + + <path name="mmap-playback afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="mmap-playback usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="mmap-playback usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia16" value="1" /> + </path> + + <path name="mmap-record"> + <ctl name="MultiMedia16 Mixer SLIM_0_TX" value="1" /> + </path> + + <path name="mmap-record bt-sco"> + <ctl name="MultiMedia16 Mixer SLIM_7_TX" value="1" /> + </path> + + <path name="mmap-record bt-sco-wb"> + <ctl name="AUX PCM SampleRate" value="16000" /> + <path name="mmap-record bt-sco" /> + </path> + + <path name="mmap-record capture-fm"> + <ctl name="MultiMedia16 Mixer TERT_MI2S_TX" value="1" /> + </path> + + <path name="mmap-record usb-headset-mic"> + <ctl name="MultiMedia16 Mixer USB_AUDIO_TX" value="1" /> + </path> + + <path name="hifi-playback display-port"> + <ctl name="DISPLAY_PORT Mixer MultiMedia2" value="1" /> + </path> + + <path name="hifi-playback afe-proxy"> + <ctl name="AFE_PCM_RX Audio Mixer MultiMedia2" value="1" /> + </path> + + <path name="hifi-playback usb-headset"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia2" value="1" /> + </path> + + <path name="hifi-playback usb-headphones"> + <ctl name="USB_AUDIO_RX Audio Mixer MultiMedia2" value="1" /> + </path> + + <path name="hifi-record usb-headset-mic"> + <ctl name="MultiMedia2 Mixer USB_AUDIO_TX" value="1" /> + </path> + +</mixer> diff --git a/audio/sound_trigger_mixer_paths.xml b/audio/sound_trigger_mixer_paths.xml new file mode 100644 index 0000000..7619e26 --- /dev/null +++ b/audio/sound_trigger_mixer_paths.xml @@ -0,0 +1,178 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!--- Copyright (c) 2014-2017, The Linux Foundation. All rights reserved. --> +<!--- --> +<!--- Redistribution and use in source and binary forms, with or without --> +<!--- modification, are permitted provided that the following conditions are --> +<!--- 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. --> + +<mixer> + <!-- These are the initial mixer settings --> + <ctl name="LSM1 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="LSM2 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="LSM3 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="LSM4 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="LSM5 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="LSM6 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="LSM7 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="LSM8 Mixer INT3_MI2S_TX" value="0" /> + <ctl name="LSM1 Port" value="None" /> + <ctl name="LSM2 Port" value="None" /> + <ctl name="LSM3 Port" value="None" /> + <ctl name="LSM4 Port" value="None" /> + <ctl name="LSM5 Port" value="None" /> + <ctl name="LSM6 Port" value="None" /> + <ctl name="LSM7 Port" value="None" /> + <ctl name="LSM8 Port" value="None" /> + <ctl name="INT3_MI2S_TX LSM Function" value="None" /> + <ctl name="DEC1 MUX" value="ZERO" /> + <ctl name="DEC2 MUX" value="ZERO" /> + <ctl name="DEC3 MUX" value="ZERO" /> + <ctl name="DEC4 MUX" value="ZERO" /> + <ctl name="I2S TX2 INP1" value="ZERO" /> + <ctl name="I2S TX2 INP2" value="ZERO" /> + + <path name="listen-voice-wakeup-1"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM1 Port" value="INT3_MI2S_TX" /> + <ctl name="LSM1 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-2"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM2 Port" value="INT3_MI2S_TX" /> + <ctl name="LSM2 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-3"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM3 Port" value="INT3_MI2S_TX" /> + <ctl name="LSM3 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-4"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM4 Port" value="INT3_MI2S_TX" /> + <ctl name="LSM4 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-5"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM5 Port" value="INT3_MI2S_TX" /> + <ctl name="LSM5 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-6"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM6 Port" value="INT3_MI2S_TX" /> + <ctl name="LSM6 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-7"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM7 Port" value="INT3_MI2S_TX" /> + <ctl name="LSM7 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-8"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM8 Port" value="INT3_MI2S_TX" /> + <ctl name="LSM8 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-1 preproc"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM1 Port" value="ADM_LSM_TX" /> + <ctl name="LSM1 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-2 preproc"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM2 Port" value="ADM_LSM_TX" /> + <ctl name="LSM2 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-3 preproc"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM3 Port" value="ADM_LSM_TX" /> + <ctl name="LSM3 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-4 preproc"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM4 Port" value="ADM_LSM_TX" /> + <ctl name="LSM4 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-5 preproc"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM5 Port" value="ADM_LSM_TX" /> + <ctl name="LSM5 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-6 preproc"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM6 Port" value="ADM_LSM_TX" /> + <ctl name="LSM6 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-7 preproc"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM7 Port" value="ADM_LSM_TX" /> + <ctl name="LSM7 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-voice-wakeup-8 preproc"> + <ctl name="INT3_MI2S_TX LSM Function" value="SWAUDIO" /> + <ctl name="LSM8 Port" value="ADM_LSM_TX" /> + <ctl name="LSM8 Mixer INT3_MI2S_TX" value="1" /> + </path> + + <path name="listen-ape-handset-mic"> + <ctl name="DEC1 Volume" value="84" /> + <ctl name="DEC1 MUX" value="DMIC3" /> + </path> + + <path name="listen-ape-handset-mic-preproc"> + <path name="listen-ape-handset-mic"/> + </path> + + <path name="listen-ape-handset-qmic"> + <ctl name="INT3_MI2S_TX Channels" value="Four" /> + <ctl name="DEC1 MUX" value="DMIC2" /> + <ctl name="DEC2 MUX" value="DMIC1" /> + <ctl name="DEC3 MUX" value="DMIC3" /> + <ctl name="I2S TX2 INP1" value="DEC3" /> + <ctl name="DEC4 MUX" value="DMIC4" /> + <ctl name="I2S TX2 INP2" value="DEC4" /> + </path> + + <path name="echo-reference"> + <ctl name="AUDIO_REF_EC_UL1 MUX" value="INT4_MI2S_RX"/> + <ctl name="EC Reference Channels" value="Two"/> + <ctl name="EC Reference Bit Format" value="S16_LE"/> + <ctl name="EC Reference SampleRate" value="48000"/> + </path> + + +</mixer> diff --git a/audio/sound_trigger_platform_info.xml b/audio/sound_trigger_platform_info.xml new file mode 100644 index 0000000..271f99d --- /dev/null +++ b/audio/sound_trigger_platform_info.xml @@ -0,0 +1,137 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!--- Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. --> +<!--- --> +<!--- Redistribution and use in source and binary forms, with or without --> +<!--- modification, are permitted provided that the following conditions are --> +<!--- 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. --> +<sound_trigger_platform_info> + <param version="0x0101" /> <!-- this must be the first param --> + <common_config> + <param max_cpe_sessions="1" /> + <param max_wdsp_sessions="2" /> + <param max_ape_sessions="8" /> + <param enable_failure_detection="false" /> + <!-- Below backend params must match with port used in mixer path file --> + <!-- param used to configure backend sample rate, format and channels --> + <param backend_port_name="SLIM_0_TX" /> + <!-- Param used to match and obtain device backend index --> + <param backend_dai_name="SLIMBUS_0_TX" /> + </common_config> + <acdb_ids> + <param DEVICE_HANDSET_MIC_APE="100" /> + <param DEVICE_HANDSET_MIC_CPE="128" /> + <param DEVICE_HANDSET_MIC_ECPP_CPE="128" /> + <param DEVICE_HANDSET_MIC_PP_APE="137" /> + <param DEVICE_HANDSET_QMIC_APE="138" /> + </acdb_ids> + <!-- Multiple sound_model_config tags can be listed, each with unique --> + <!-- vendor_uuid. The below tag represents QTI SVA engine sound model --> + <!-- configuration. ISV must use their own unique vendor_uuid. --> + <sound_model_config> + <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b" /> + <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" --> + <param app_type="2" /> <!-- app type used in ACDB --> + <param library="libsmwrapper.so" /> + <param max_cpe_phrases="6" /> + <param max_cpe_users="3" /> + <param max_ape_phrases="10" /> + <param max_ape_users="10" /> + <!-- Profile specific data which the algorithm can support --> + <param sample_rate="16000" /> + <param bit_width="16" /> + <param channel_count="1"/> + <!-- adm_cfg_profile should match with the one defined under adm_config --> + <!-- Set it to NONE if LSM directly connects to AFE --> + <param adm_cfg_profile="NONE" /> + <!-- fluence_type: "FLUENCE", FLUENCE_DMIC", FLUENCE_QMIC" --> + <!-- param value is valid when adm_cfg_profile="FLUENCE" --> + <param fluence_type="FLUENCE_QMIC" /> + <gcs_usecase> + <param uid="0x1" /> + <!-- module_id, instance_id, param_id --> + <param load_sound_model_ids="0x00012C0D, 0x2, 0x00012C14" /> + <param confidence_levels_ids="0x00012C0D, 0x2, 0x00012C28" /> + <param detection_event_ids="0x00012C0D, 0x2, 0x00012C29" /> + <param read_cmd_ids="0x00020013, 0x2, 0x00020015" /> + <param read_rsp_ids="0x00020013, 0x2, 0x00020016" /> + </gcs_usecase> + <gcs_usecase> + <param uid="0x2" /> + <param load_sound_model_ids="0x00012C0D, 0x3, 0x00012C14" /> + <param confidence_levels_ids="0x00012C0D, 0x3, 0x00012C28" /> + <param detection_event_ids="0x00012C0D, 0x3, 0x00012C29" /> + <param read_cmd_ids="0x00020013, 0x3, 0x00020015" /> + <param read_rsp_ids="0x00020013, 0x3, 0x00020016" /> + </gcs_usecase> + <!-- Module and param ids with which the algorithm is integrated + in non-graphite firmware (note these must come after gcs params) + Extends flexibility to have different ids based on execution mode. + valid execution_mode values: "WDSP" "ADSP" --> + <lsm_usecase> + <param execution_mode="ADSP" /> + <param load_sound_model_ids="0x00012C1C, 0x00012C14" /> + <param unload_sound_model_ids="0x00012C1C, 0x00012C15" /> + <param confidence_levels_ids="0x00012C1C, 0x00012C07" /> + <param operation_mode_ids="0x00012C1C, 0x00012C02" /> + <param polling_enable_ids="0x00012C1C, 0x00012C1B" /> + </lsm_usecase> + + <lsm_usecase> + <param execution_mode="WDSP" /> + <param load_sound_model_ids="0x00012C0D, 0x00012C14" /> + <param unload_sound_model_ids="0x00012C0D, 0x00012C15" /> + <param confidence_levels_ids="0x00012C0D, 0x00012C07" /> + <param operation_mode_ids="0x00012C0D, 0x00012C02" /> + </lsm_usecase> + + <!-- format: "ADPCM_packet" or "PCM_packet" !--> + <!-- transfer_mode: "FTRT" or "RT" --> + <!-- kw_duration is in milli seconds. It is valid only for FTRT + transfer mode --> + <param capture_keyword="PCM_packet, RT, 2000" /> + <param client_capture_read_delay="2000" /> + </sound_model_config> + + <!-- Multiple adm_config tags can be listed, each with unique profile name. --> + <!-- app_type to match corresponding value from ACDB --> + <adm_config> + <param adm_cfg_profile="DEFAULT" /> + <param app_type="69938" /> + <param sample_rate="16000" /> + <param bit_width="16" /> + </adm_config> + + <adm_config> + <param adm_cfg_profile="FLUENCE" /> + <param app_type="69943" /> + <param sample_rate="16000" /> + <param bit_width="16" /> + </adm_config> + + <!-- backend_type tag defines backend type for each device --> + <!-- Default value is assumed for devices that are not listed here --> + <backend_type> + <param DEVICE_HANDSET_MIC_ECPP_CPE="BACKEND_ECPP" /> + </backend_type> +</sound_trigger_platform_info> |