land: Import more configs from vendor

This commit is contained in:
karthick111 2017-06-27 12:23:13 +02:00
parent 454ac9fb71
commit c684ee10cf
38 changed files with 28221 additions and 4 deletions

144
audio/aanc_tuning_mixer.txt Normal file
View file

@ -0,0 +1,144 @@
#ANC_TEST_P_PATH_MIC_STEREO Capture
acdb_dev_id:85
!Capture
Txdevice:0
enable
TX7 HPF Switch:0
TX8 HPF Switch:0
AIF1_CAP Mixer SLIM TX7:1
AIF1_CAP Mixer SLIM TX8:1
SLIM TX7 MUX:DEC9
DEC9 MUX:DMIC4
SLIM TX8 MUX:DEC10
DEC10 MUX:DMIC3
SLIM_0_TX Channels:Two
MultiMedia1 Mixer SLIM_0_TX:1
disable
MultiMedia1 Mixer SLIM_0_TX:0
AIF1_CAP Mixer SLIM TX7:0
AIF1_CAP Mixer SLIM TX8:0
SLIM TX7 MUX:ZERO
SLIM TX8 MUX:ZERO
DEC10 MUX:ZERO
DEC9 MUX:ZERO
TX7 HPF Switch:0
TX8 HPF Switch:0
#ANC_TEST_S_PATH_MIC_STEREO Capture
acdb_dev_id:88
!Capture
Txdevice:0
enable
TX7 HPF Switch:0
TX8 HPF Switch:0
AIF1_CAP Mixer SLIM TX7:1
AIF1_CAP Mixer SLIM TX8:1
SLIM TX7 MUX:DEC8
DEC7 MUX:ANC2_FB
ANC2 MUX:DMIC3
SLIM TX8 MUX:DEC7
DEC8 MUX:ANC1_FB
ANC1 MUX:DMIC3
ANC1 FB MUX:EAR_HPH_L
SLIM_0_TX Channels:Two
MultiMedia1 Mixer SLIM_0_TX:1
disable
MultiMedia1 Mixer SLIM_0_TX:0
AIF1_CAP Mixer SLIM TX7:0
AIF1_CAP Mixer SLIM TX8:0
SLIM TX7 MUX:ZERO
SLIM TX8 MUX:ZERO
DEC7 MUX:ZERO
ANC2 MUX:ZERO
ANC1 MUX:ZERO
DEC8 MUX:ZERO
ANC1 FB MUX:ZERO
TX7 HPF Switch:0
TX8 HPF Switch:0
#ANC_TEST_E_PATH_MIC_STEREO Capture
acdb_dev_id:91
!Capture
Txdevice:0
enable
TX7 HPF Switch:0
TX8 HPF Switch:0
AIF1_CAP Mixer SLIM TX7:1
AIF1_CAP Mixer SLIM TX8:1
SLIM TX7 MUX:DEC8
DEC7 MUX:ANC2_FB
ANC2 MUX:DMIC4
ANC1 MUX:DMIC4
SLIM TX8 MUX:DEC7
DEC8 MUX:ANC1_FB
ANC1 FB MUX:EAR_HPH_L
SLIM_0_TX Channels:Two
MultiMedia1 Mixer SLIM_0_TX:1
disable
MultiMedia1 Mixer SLIM_0_TX:0
AIF1_CAP Mixer SLIM TX7:0
AIF1_CAP Mixer SLIM TX8:0
SLIM TX7 MUX:ZERO
SLIM TX8 MUX:ZERO
DEC7 MUX:ZERO
ANC2 MUX:ZERO
DEC10 MUX:ZERO
ANC1 FB MUX:ZERO
TX7 HPF Switch:0
TX8 HPF Switch:0
#ANC_TEST_S_PATH_HANDSET_SPKR_ANC_MONO
acdb_dev_id:86
!Playback
Rxdevice:0
enable
ANC Function:ON
SLIM RX1 MUX:AIF1_PB
SLIM_0_RX Channels:One
RX1 MIX1 INP1:RX1
CLASS_H_DSM MUX:DSM_HPHL_RX1
RX1 Digital Volume:87
DAC1 Switch:1
ANC Slot:7
SLIMBUS_0_RX Audio Mixer MultiMedia1:1
disable
SLIMBUS_0_RX Audio Mixer MultiMedia1:0
ANC Slot:0
SLIM RX1 MUX:ZERO
RX1 MIX1 INP1:ZERO
RX1 Digital Volume:0
DAC1 Switch:0
ANC Function:OFF
#ANC_TEST_E_PATH_HANDSET_SPKR_ANC_MONO
acdb_dev_id:89
!Playback
Rxdevice:0
enable
ANC Function:ON
SLIM RX1 MUX:AIF1_PB
SLIM_0_RX Channels:One
RX1 MIX1 INP1:RX1
CLASS_H_DSM MUX:DSM_HPHL_RX1
RX1 Digital Volume:87
DAC1 Switch:1
ANC Slot:8
SLIMBUS_0_RX Audio Mixer MultiMedia1:1
disable
SLIMBUS_0_RX Audio Mixer MultiMedia1:0
ANC Slot:0
SLIM RX1 MUX:ZERO
RX1 MIX1 INP1:ZERO
RX1 Digital Volume:0
DAC1 Switch:0
ANC Function:OFF

418
audio/audio_effects.conf Normal file
View file

@ -0,0 +1,418 @@
# 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 /system/lib/soundfx/libbundlewrapper.so
}
reverb {
path /system/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 /system/lib/soundfx/libvisualizer.so
}
visualizer_hw {
path /system/lib/soundfx/libqcomvisualizer.so
}
downmix {
path /system/lib/soundfx/libdownmix.so
}
loudness_enhancer {
path /system/lib/soundfx/libldnhncr.so
}
proxy {
path /system/lib/soundfx/libeffectproxy.so
}
offload_bundle {
path /system/lib/soundfx/libqcompostprocbundle.so
}
audio_pre_processing {
path /system/lib/soundfx/libqcomvoiceprocessing.so
}
# bug 156482 add dirac effect start
loudness_enhancer {
path /system/lib/soundfx/libldnhncr.so
}
volume_listener {
path /system/lib/soundfx/libvolumelistener.so
}
dirac {
path /system/lib/soundfx/libdirac.so
}
}
# bug 156482 add dirac effect end
# 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 /system/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
}
# bug 156482 add dirac effect start
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
}
dirac {
library dirac
uuid e069d9e0-8329-11df-9168-0002a5d5c51b
}
}
# 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 {
}
}
}
# Audio global processor configurations.
# The global processor configuration consists in 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
# global_processing {
# <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>}
# ...
# }
# ...
# }
global_processing {
dirac {
bl@lakala {
param {
int 6
}
value {
string *com.lakala.android
}
}
bl@jawboneup {
param {
int 6
}
value {
string *com.jawbone.up
}
}
bl@hojyremote {
param {
int 6
}
value {
string *com.hojy.hremote
}
}
}
}
# bug 156482 add dirac effect end
# 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>}
# ...
# }
# ...
# }
# ...
# }
# Added aec, ns effects for voice_commuincation, which are supported by the board
pre_processing {
voice_communication {
aec {
}
ns {
}
}
}
#
# TODO: add default audio pre processor configurations after debug and tuning phase
#

View file

@ -0,0 +1,56 @@
# 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 {
flags AUDIO_OUTPUT_FLAG_DIRECT
formats AUDIO_FORMAT_PCM_16_BIT
sampling_rates 48000
bit_width 16
app_type 69936
}
direct_pcm {
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
formats AUDIO_FORMAT_PCM_16_BIT
sampling_rates 44100|48000|96000|192000
bit_width 16
app_type 69936
}
compress_offload_16 {
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|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
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
sampling_rates 44100|48000|96000|192000
bit_width 24
app_type 69940
}
}

View file

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2015, 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="TERT_MI2S" codec_type="internal"/>
<device name="AUDIO_DEVICE_IN_BACK_MIC" interface="TERT_MI2S" codec_type="internal"/>
</interface_names>
<pcm_ids>
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD2" type="out" id="24"/>
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD3" type="out" id="29"/>
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD4" type="out" id="30"/>
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD5" type="out" id="31"/>
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD6" type="out" id="32"/>
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD7" type="out" id="33"/>
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD8" type="out" id="34"/>
<usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD9" type="out" id="35"/>
<usecase name="USECASE_VOICEMMODE1_CALL" type="in" id="35"/>
<usecase name="USECASE_VOICEMMODE1_CALL" type="out" id="35"/>
<usecase name="USECASE_VOICEMMODE2_CALL" type="in" id="36"/>
<usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="36"/>
<usecase name="USECASE_AUDIO_SPKR_CALIB_TX" type="in" id="37"/>
</pcm_ids>
<config_params>
<param key="spkr_1_tz_name" value="wsatz.11"/>
<param key="spkr_2_tz_name" value="wsatz.12"/>
<param key="native_audio_mode" value="src"/>
</config_params>
</audio_platform_info>

173
audio/audio_policy.conf Normal file
View file

@ -0,0 +1,173 @@
# Global configuration section:
# - lists input and output devices always present on the device
# as well as the output device selected by default.
# Devices are designated by a string that corresponds to the enum in audio.h
# - defines whether the speaker output path uses DRC
# "TRUE" means DRC is enabled, "FALSE" or omission means DRC isn't used.
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_TELEPHONY_TX
default_output_device AUDIO_DEVICE_OUT_SPEAKER
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX|AUDIO_DEVICE_IN_FM_TUNER|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_TELEPHONY_RX
speaker_drc_enabled TRUE
}
# audio hardware module section: contains descriptors for all audio hw modules present on the
# device. Each hw module node is named after the corresponding hw module library base name.
# For instance, "primary" corresponds to audio.primary.<device>.so.
# The "primary" module is mandatory and must include at least one output with
# AUDIO_OUTPUT_FLAG_PRIMARY flag.
# Each module descriptor contains one or more output profile descriptors and zero or more
# input profile descriptors. Each profile lists all the parameters supported by a given output
# or input stream category.
# The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding
# to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n".
audio_hw_modules {
primary {
outputs {
primary {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM
flags AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST
}
raw {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW
}
deep_buffer {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
}
multichannel {
sampling_rates 44100|48000
channel_masks dynamic
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
flags AUDIO_OUTPUT_FLAG_DIRECT
}
direct_pcm {
sampling_rates 8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|176400|192000
channel_masks 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
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_AUX_DIGITAL
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_PCM
}
compress_offload {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000|64000|88200|96000|176400|192000
channel_masks 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
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|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
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
}
incall_music {
sampling_rates 8000|16000|48000
channel_masks AUDIO_CHANNEL_OUT_MONO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_INCALL_MUSIC
}
voice_tx {
sampling_rates 8000|16000|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_MONO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_TELEPHONY_TX
}
voip_rx {
sampling_rates 8000|16000
channel_masks AUDIO_CHANNEL_OUT_MONO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_LINE|AUDIO_DEVICE_OUT_ALL_SCO
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX
}
}
inputs {
primary {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_FM_TUNER|AUDIO_DEVICE_IN_VOICE_CALL
}
surround_sound {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK|AUDIO_CHANNEL_IN_5POINT1
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC
}
voice_rx {
sampling_rates 8000|16000|48000
channel_masks AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_MONO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_TELEPHONY_RX
}
}
}
a2dp {
outputs {
a2dp {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_ALL_A2DP
}
}
inputs {
a2dp {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_BLUETOOTH_A2DP
}
}
}
usb {
outputs {
usb_accessory {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_USB_ACCESSORY
}
usb_device {
sampling_rates dynamic
channel_masks dynamic
formats dynamic
devices AUDIO_DEVICE_OUT_USB_DEVICE
}
}
inputs {
usb_device {
sampling_rates dynamic
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_USB_DEVICE
}
}
}
r_submix {
outputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
}
}
inputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
}
}
}

1099
audio/mixer_paths.xml Normal file

File diff suppressed because it is too large Load diff

1260
audio/mixer_paths_mtp.xml Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,828 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2014, 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="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="HPHL Volume" value="9" />
<ctl name="HPHR Volume" value="9" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="IIR1 INP1 Volume" value="84" />
<ctl name="IIR1 INP2 Volume" value="84" />
<ctl name="IIR1 INP3 Volume" value="84" />
<ctl name="IIR1 INP4 Volume" value="84" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC2 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC2 MUX" value="ZERO" />
<ctl name="DEC1 MUX" value="ZERO" />
<ctl name="ADC2 MUX" value="ZERO" />
<ctl name="RDAC2 MUX" value="ZERO" />
<ctl name="RX2 MIX2 INP2" value="ZERO" />
<ctl name="RX2 MIX2 INP1" value="ZERO" />
<ctl name="RX1 MIX2 INP2" value="ZERO" />
<ctl name="RX1 MIX2 INP1" value="ZERO" />
<ctl name="RX3 MIX1 INP2" value="ZERO" />
<ctl name="RX3 MIX1 INP1" value="ZERO" />
<ctl name="RX2 MIX1 INP2" value="ZERO" />
<ctl name="RX2 MIX1 INP1" value="ZERO" />
<ctl name="RX1 MIX1 INP2" value="ZERO" />
<ctl name="RX1 MIX1 INP1" value="ZERO" />
<ctl name="EAR_S" value="ZERO" />
<ctl name="HPHL" value="ZERO" />
<ctl name="HPHR" value="ZERO" />
<ctl name="SPK" value="ZERO" />
<ctl name="MICBIAS CAPLESS Switch" value="0" />
<ctl name="EAR PA Boost" value="DISABLE" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="MI2S_RX Channels" value="One" />
<ctl name="MI2S_TX Channels" value="One" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="0" />
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="0" />
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INT_BT_SCO_TX" value="0" />
<!-- Voice BTSCO -->
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer Multimedia6" value="0" />
<ctl name="MultiMedia6 Mixer TERT_MI2S_TX" value="0" />
<!-- Voice2 -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="0" />
<!-- Voice2 end -->
<!-- VoWLAN -->
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="0" />
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN" value="0" />
<!-- VoWLAN -->
<!-- Voip -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="0" />
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="0" />
<!-- Voip end -->
<!-- fm -->
<ctl name="Internal FM RX Volume" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MI2S_DL_HL Switch" value="1" />
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="0" />
<!-- fm end -->
<!-- Incall Recording -->
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" />
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" />
<!-- Incall Recording end -->
<!-- Incall Music -->
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="0" />
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="0" />
<!-- Incall Music End -->
<!-- QCHAT -->
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="0" />
<!-- QCHAT End -->
<!-- EC_REF -->
<ctl name="AUDIO_REF_EC_UL1 MUX" value="None" />
<!-- IIR -->
<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" />
<!-- IIR -->
<!-- ADSP testfwk -->
<ctl name="MI2S_DL_HL Switch" value="0" />
<!-- ADSP testfwk end-->
<path name="bt-sco-wb-samplerate">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
</path>
<!-- These are audio route (FE to BE) specific mixer settings -->
<path name="deep-buffer-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<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">
<path name="deep-buffer-playback afe-proxy" />
</path>
<path name="deep-buffer-playback speaker-and-usb-headphones">
<path name="deep-buffer-playback usb-headphones" />
<path name="deep-buffer-playback" />
</path>
<path name="deep-buffer-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="low-latency-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="low-latency-playback bt-sco" />
</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">
<path name="low-latency-playback afe-proxy" />
</path>
<path name="low-latency-playback speaker-and-usb-headphones">
<path name="low-latency-playback usb-headphones" />
<path name="low-latency-playback" />
</path>
<path name="low-latency-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="audio-ull-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback headphones">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback speaker-protected">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-ull-playback bt-sco" />
</path>
<path name="audio-ull-playback afe-proxy">
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback usb-headphones">
<path name="audio-ull-playback afe-proxy" />
</path>
<path name="audio-ull-playback speaker-and-usb-headphones">
<path name="audio-ull-playback usb-headphones" />
<path name="audio-ull-playback" />
</path>
<path name="compress-offload-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-offload-playback bt-sco" />
</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">
<path name="compress-offload-playback afe-proxy" />
</path>
<path name="compress-offload-playback speaker-and-usb-headphones">
<path name="compress-offload-playback usb-headphones" />
<path name="compress-offload-playback" />
</path>
<path name="compress-offload-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="audio-record">
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="1" />
</path>
<!-- listen -->
<ctl name="LSM1 MUX" value="None" />
<ctl name="LSM2 MUX" value="None" />
<ctl name="LSM3 MUX" value="None" />
<ctl name="LSM4 MUX" value="None" />
<ctl name="LSM5 MUX" value="None" />
<ctl name="TERT_MI2S_TX LSM Function" value="None" />
<!-- listen end-->
<path name="audio-record bt-sco">
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
</path>
<path name="audio-record bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-record bt-sco" />
</path>
<path name="audio-record usb-headset-mic">
<ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="1" />
</path>
<path name="audio-record capture-fm">
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="fm-virtual-record capture-fm">
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="voice-call">
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice-call bt-sco" />
</path>
<path name="voice-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="1" />
</path>
<path name="voice2-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice2-call bt-sco" />
</path>
<path name="voice2-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="1" />
</path>
<path name="play-fm">
<ctl name="Internal FM RX Volume" value="1" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="vowlan-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="vowlan-call bt-sco" />
</path>
<path name="vowlan-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN" value="1" />
</path>
<path name="hfp-sco">
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia6" value="1" />
<ctl name="MultiMedia6 Mixer TERT_MI2S_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="hfp-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="hfp-sco" />
</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-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-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_music_uplink">
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="1" />
</path>
<path name="incall_music_uplink2">
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="1" />
</path>
<path name="volte-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE" value="1" />
</path>
<path name="volte-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer INTERNAL_BT_SCO_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="volte-call bt-sco" />
</path>
<path name="volte-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer AFE_PCM_TX_VoLTE" value="1" />
</path>
<path name="compress-voip-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-voip-call bt-sco" />
</path>
<path name="listen-voice-wakeup-1">
<ctl name="LSM1 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-2">
<ctl name="LSM2 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-3">
<ctl name="LSM3 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-4">
<ctl name="LSM4 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-5">
<ctl name="LSM5 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="qchat-call">
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="qchat-call bt-sco" />
</path>
<!-- These are actual sound device specific mixer settings -->
<path name="adc1">
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="MICBIAS CAPLESS Switch" value="1" />
</path>
<path name="adc2">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="MICBIAS CAPLESS Switch" value="1" />
</path>
<path name="adc3">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="speaker">
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="SPK" value="Switch" />
</path>
<path name="speaker-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</path>
<path name="handset">
<ctl name="EAR PA Boost" value="ENABLE" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="EAR_S" value="Switch" />
</path>
<path name="handset-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</path>
<path name="headphones">
<ctl name="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="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
</path>
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</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-handset">
<path name="sidetone-iir" />
<ctl name="IIR1 INP1 Volume" value="53" />
<ctl name="RX1 MIX2 INP1" value="IIR1" />
</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="53" />
</path>
<path name="voice-handset">
<path name="sidetone-handset" />
<path name="handset" />
</path>
<path name="voice-speaker">
<path name="speaker" />
</path>
<path name="voice-speaker-mic">
<path name="speaker-mic" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<path name="sidetone-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="usb-headphones">
</path>
<path name="afe-proxy">
</path>
<path name="transmission-fm">
</path>
<path name="speaker-and-usb-headphones">
<path name="speaker" />
<path name="usb-headphones" />
</path>
<path name="voice-rec-mic">
<path name="handset-mic" />
</path>
<path name="camcorder-mic">
<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>
<!-- Dual MIC devices -->
<path name="speaker-dmic-endfire">
<path name="adc1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="MI2S_TX Channels" value="Two" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="dmic-endfire">
<path name="speaker-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-dmic-ef">
<path name="dmic-endfire" />
</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">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-stereo-dmic-ef">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-dmic-broadside">
<path name="adc3" />
<ctl name="DEC2 MUX" value="ADC1" />
<ctl name="MI2S_TX Channels" value="Two" />
</path>
<path name="dmic-broadside">
<path name="speaker-dmic-broadside" />
</path>
<path name="voice-speaker-dmic-broadside">
<path name="dmic-broadside"/>
</path>
<path name="echo-reference">
<ctl name="AUDIO_REF_EC_UL1 MUX" value="I2S_RX" />
</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" />
<ctl name="ADC2 MUX" value="INP2" />
</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="listen-handset-mic">
<path name="adc1" />
</path>
<path name="ADSP testfwk">
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="line">
<path name="headphones" />
</path>
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="speaker-and-line">
<path name="speaker-and-headphones" />
</path>
</mixer>

View file

@ -0,0 +1,825 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2014, 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="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="HPHL Volume" value="9" />
<ctl name="HPHR Volume" value="9" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="IIR1 INP1 Volume" value="84" />
<ctl name="IIR1 INP2 Volume" value="84" />
<ctl name="IIR1 INP3 Volume" value="84" />
<ctl name="IIR1 INP4 Volume" value="84" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC2 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC2 MUX" value="ZERO" />
<ctl name="DEC1 MUX" value="ZERO" />
<ctl name="ADC2 MUX" value="ZERO" />
<ctl name="RDAC2 MUX" value="ZERO" />
<ctl name="RX2 MIX2 INP2" value="ZERO" />
<ctl name="RX2 MIX2 INP1" value="ZERO" />
<ctl name="RX1 MIX2 INP2" value="ZERO" />
<ctl name="RX1 MIX2 INP1" value="ZERO" />
<ctl name="RX3 MIX1 INP2" value="ZERO" />
<ctl name="RX3 MIX1 INP1" value="ZERO" />
<ctl name="RX2 MIX1 INP2" value="ZERO" />
<ctl name="RX2 MIX1 INP1" value="ZERO" />
<ctl name="RX1 MIX1 INP2" value="ZERO" />
<ctl name="RX1 MIX1 INP1" value="ZERO" />
<ctl name="EAR_S" value="ZERO" />
<ctl name="HPHL" value="ZERO" />
<ctl name="HPHR" value="ZERO" />
<ctl name="SPK" value="ZERO" />
<ctl name="MICBIAS CAPLESS Switch" value="0" />
<ctl name="EAR PA Boost" value="DISABLE" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="MI2S_RX Channels" value="One" />
<ctl name="MI2S_TX Channels" value="One" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="0" />
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="0" />
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INT_BT_SCO_TX" value="0" />
<!-- Voice BTSCO -->
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer Multimedia6" value="0" />
<ctl name="MultiMedia6 Mixer TERT_MI2S_TX" value="0" />
<!-- Voice2 -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="0" />
<!-- Voice2 end -->
<!-- VoWLAN -->
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="0" />
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN" value="0" />
<!-- VoWLAN -->
<!-- Voip -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="0" />
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="0" />
<!-- Voip end -->
<!-- fm -->
<ctl name="Internal FM RX Volume" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MI2S_DL_HL Switch" value="1" />
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="0" />
<!-- fm end -->
<!-- Incall Recording -->
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" />
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" />
<!-- Incall Recording end -->
<!-- Incall Music -->
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="0" />
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="0" />
<!-- Incall Music End -->
<!-- QCHAT -->
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="0" />
<!-- QCHAT End -->
<!-- EC_REF -->
<ctl name="AUDIO_REF_EC_UL1 MUX" value="None" />
<!-- IIR -->
<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" />
<!-- IIR -->
<!-- ADSP testfwk -->
<ctl name="MI2S_DL_HL Switch" value="0" />
<!-- ADSP testfwk end-->
<path name="bt-sco-wb-samplerate">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
</path>
<!-- These are audio route (FE to BE) specific mixer settings -->
<path name="deep-buffer-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco-wb">
<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">
<path name="deep-buffer-playback afe-proxy" />
</path>
<path name="deep-buffer-playback speaker-and-usb-headphones">
<path name="deep-buffer-playback usb-headphones" />
<path name="deep-buffer-playback" />
</path>
<path name="deep-buffer-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="low-latency-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco-wb">
<path name="low-latency-playback bt-sco" />
</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">
<path name="low-latency-playback afe-proxy" />
</path>
<path name="low-latency-playback speaker-and-usb-headphones">
<path name="low-latency-playback usb-headphones" />
<path name="low-latency-playback" />
</path>
<path name="low-latency-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="audio-ull-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback headphones">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback speaker-protected">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-ull-playback bt-sco" />
</path>
<path name="audio-ull-playback afe-proxy">
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback usb-headphones">
<path name="audio-ull-playback afe-proxy" />
</path>
<path name="audio-ull-playback speaker-and-usb-headphones">
<path name="audio-ull-playback usb-headphones" />
<path name="audio-ull-playback" />
</path>
<path name="compress-offload-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-offload-playback bt-sco" />
</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">
<path name="compress-offload-playback afe-proxy" />
</path>
<path name="compress-offload-playback speaker-and-usb-headphones">
<path name="compress-offload-playback usb-headphones" />
<path name="compress-offload-playback" />
</path>
<path name="compress-offload-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="audio-record">
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="1" />
</path>
<!-- listen -->
<ctl name="LSM1 MUX" value="None" />
<ctl name="LSM2 MUX" value="None" />
<ctl name="LSM3 MUX" value="None" />
<ctl name="LSM4 MUX" value="None" />
<ctl name="LSM5 MUX" value="None" />
<ctl name="TERT_MI2S_TX LSM Function" value="None" />
<!-- listen end-->
<path name="audio-record bt-sco">
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
</path>
<path name="audio-record bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-record bt-sco" />
</path>
<path name="audio-record usb-headset-mic">
<ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="1" />
</path>
<path name="audio-record capture-fm">
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="fm-virtual-record capture-fm">
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="voice-call">
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice-call bt-sco" />
</path>
<path name="voice-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="1" />
</path>
<path name="voice2-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice2-call bt-sco" />
</path>
<path name="voice2-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="1" />
</path>
<path name="play-fm">
<ctl name="Internal FM RX Volume" value="1" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="vowlan-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="vowlan-call bt-sco" />
</path>
<path name="vowlan-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN" value="1" />
</path>
<path name="hfp-sco">
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia6" value="1" />
<ctl name="MultiMedia6 Mixer TERT_MI2S_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="hfp-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="hfp-sco" />
</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-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-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_music_uplink">
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="1" />
</path>
<path name="incall_music_uplink2">
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="1" />
</path>
<path name="volte-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE" value="1" />
</path>
<path name="volte-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer INTERNAL_BT_SCO_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="volte-call bt-sco" />
</path>
<path name="volte-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer AFE_PCM_TX_VoLTE" value="1" />
</path>
<path name="compress-voip-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-voip-call bt-sco" />
</path>
<path name="listen-voice-wakeup-1">
<ctl name="LSM1 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-2">
<ctl name="LSM2 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-3">
<ctl name="LSM3 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-4">
<ctl name="LSM4 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-5">
<ctl name="LSM5 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="qchat-call">
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="qchat-call bt-sco" />
</path>
<!-- These are actual sound device specific mixer settings -->
<path name="adc1">
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="MICBIAS CAPLESS Switch" value="1" />
</path>
<path name="adc2">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="MICBIAS CAPLESS Switch" value="1" />
</path>
<path name="adc3">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="speaker">
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="SPK" value="Switch" />
</path>
<path name="speaker-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</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_S" value="Switch" />
</path>
<path name="handset-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</path>
<path name="headphones">
<ctl name="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="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
</path>
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</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-handset">
<path name="sidetone-iir" />
<ctl name="IIR1 INP1 Volume" value="53" />
<ctl name="RX1 MIX2 INP1" value="IIR1" />
</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="53" />
</path>
<path name="voice-handset">
<path name="sidetone-handset" />
<path name="handset" />
</path>
<path name="voice-speaker">
<path name="speaker" />
</path>
<path name="voice-speaker-mic">
<path name="speaker-mic" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<path name="sidetone-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="usb-headphones">
</path>
<path name="afe-proxy">
</path>
<path name="transmission-fm">
</path>
<path name="speaker-and-usb-headphones">
<path name="speaker" />
<path name="usb-headphones" />
</path>
<path name="voice-rec-mic">
<path name="handset-mic" />
</path>
<path name="camcorder-mic">
<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>
<!-- Dual MIC devices -->
<path name="speaker-dmic-endfire">
<path name="adc1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="MI2S_TX Channels" value="Two" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="dmic-endfire">
<path name="speaker-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-dmic-ef">
<path name="dmic-endfire" />
</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">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-stereo-dmic-ef">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-dmic-broadside">
<path name="adc3" />
<ctl name="DEC2 MUX" value="ADC1" />
<ctl name="MI2S_TX Channels" value="Two" />
</path>
<path name="dmic-broadside">
<path name="speaker-dmic-broadside" />
</path>
<path name="voice-speaker-dmic-broadside">
<path name="dmic-broadside"/>
</path>
<path name="echo-reference">
<ctl name="AUDIO_REF_EC_UL1 MUX" value="I2S_RX" />
</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" />
<ctl name="ADC2 MUX" value="INP2" />
</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="listen-handset-mic">
<path name="adc1" />
</path>
<path name="ADSP testfwk">
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="line">
<path name="headphones" />
</path>
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="speaker-and-line">
<path name="speaker-and-headphones" />
</path>
</mixer>

View file

@ -0,0 +1,828 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2014, 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="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="HPHL Volume" value="9" />
<ctl name="HPHR Volume" value="9" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="IIR1 INP1 Volume" value="84" />
<ctl name="IIR1 INP2 Volume" value="84" />
<ctl name="IIR1 INP3 Volume" value="84" />
<ctl name="IIR1 INP4 Volume" value="84" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC2 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC2 MUX" value="ZERO" />
<ctl name="DEC1 MUX" value="ZERO" />
<ctl name="ADC2 MUX" value="ZERO" />
<ctl name="RDAC2 MUX" value="ZERO" />
<ctl name="RX2 MIX2 INP2" value="ZERO" />
<ctl name="RX2 MIX2 INP1" value="ZERO" />
<ctl name="RX1 MIX2 INP2" value="ZERO" />
<ctl name="RX1 MIX2 INP1" value="ZERO" />
<ctl name="RX3 MIX1 INP2" value="ZERO" />
<ctl name="RX3 MIX1 INP1" value="ZERO" />
<ctl name="RX2 MIX1 INP2" value="ZERO" />
<ctl name="RX2 MIX1 INP1" value="ZERO" />
<ctl name="RX1 MIX1 INP2" value="ZERO" />
<ctl name="RX1 MIX1 INP1" value="ZERO" />
<ctl name="EAR_S" value="ZERO" />
<ctl name="HPHL" value="ZERO" />
<ctl name="HPHR" value="ZERO" />
<ctl name="SPK" value="ZERO" />
<ctl name="MICBIAS CAPLESS Switch" value="0" />
<ctl name="EAR PA Boost" value="DISABLE" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="MI2S_RX Channels" value="One" />
<ctl name="MI2S_TX Channels" value="One" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="0" />
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="0" />
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INT_BT_SCO_TX" value="0" />
<!-- Voice BTSCO -->
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer Multimedia6" value="0" />
<ctl name="MultiMedia6 Mixer TERT_MI2S_TX" value="0" />
<!-- Voice2 -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="0" />
<!-- Voice2 end -->
<!-- VoWLAN -->
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="0" />
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN" value="0" />
<!-- VoWLAN -->
<!-- Voip -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="0" />
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="0" />
<!-- Voip end -->
<!-- fm -->
<ctl name="Internal FM RX Volume" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MI2S_DL_HL Switch" value="1" />
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="0" />
<!-- fm end -->
<!-- Incall Recording -->
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" />
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" />
<!-- Incall Recording end -->
<!-- Incall Music -->
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="0" />
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="0" />
<!-- Incall Music End -->
<!-- QCHAT -->
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="0" />
<!-- QCHAT End -->
<!-- EC_REF -->
<ctl name="AUDIO_REF_EC_UL1 MUX" value="None" />
<!-- IIR -->
<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" />
<!-- IIR -->
<!-- ADSP testfwk -->
<ctl name="MI2S_DL_HL Switch" value="0" />
<!-- ADSP testfwk end-->
<path name="bt-sco-wb-samplerate">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
</path>
<!-- These are audio route (FE to BE) specific mixer settings -->
<path name="deep-buffer-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<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">
<path name="deep-buffer-playback afe-proxy" />
</path>
<path name="deep-buffer-playback speaker-and-usb-headphones">
<path name="deep-buffer-playback usb-headphones" />
<path name="deep-buffer-playback" />
</path>
<path name="deep-buffer-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="low-latency-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="low-latency-playback bt-sco" />
</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">
<path name="low-latency-playback afe-proxy" />
</path>
<path name="low-latency-playback speaker-and-usb-headphones">
<path name="low-latency-playback usb-headphones" />
<path name="low-latency-playback" />
</path>
<path name="low-latency-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="audio-ull-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback headphones">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback speaker-protected">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-ull-playback bt-sco" />
</path>
<path name="audio-ull-playback afe-proxy">
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback usb-headphones">
<path name="audio-ull-playback afe-proxy" />
</path>
<path name="audio-ull-playback speaker-and-usb-headphones">
<path name="audio-ull-playback usb-headphones" />
<path name="audio-ull-playback" />
</path>
<path name="compress-offload-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-offload-playback bt-sco" />
</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">
<path name="compress-offload-playback afe-proxy" />
</path>
<path name="compress-offload-playback speaker-and-usb-headphones">
<path name="compress-offload-playback usb-headphones" />
<path name="compress-offload-playback" />
</path>
<path name="compress-offload-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="audio-record">
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="1" />
</path>
<!-- listen -->
<ctl name="LSM1 MUX" value="None" />
<ctl name="LSM2 MUX" value="None" />
<ctl name="LSM3 MUX" value="None" />
<ctl name="LSM4 MUX" value="None" />
<ctl name="LSM5 MUX" value="None" />
<ctl name="TERT_MI2S_TX LSM Function" value="None" />
<!-- listen end-->
<path name="audio-record bt-sco">
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
</path>
<path name="audio-record bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-record bt-sco" />
</path>
<path name="audio-record usb-headset-mic">
<ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="1" />
</path>
<path name="audio-record capture-fm">
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="fm-virtual-record capture-fm">
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="voice-call">
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice-call bt-sco" />
</path>
<path name="voice-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="1" />
</path>
<path name="voice2-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice2-call bt-sco" />
</path>
<path name="voice2-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="1" />
</path>
<path name="play-fm">
<ctl name="Internal FM RX Volume" value="1" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="vowlan-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="vowlan-call bt-sco" />
</path>
<path name="vowlan-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN" value="1" />
</path>
<path name="hfp-sco">
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia6" value="1" />
<ctl name="MultiMedia6 Mixer TERT_MI2S_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="hfp-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="hfp-sco" />
</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-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-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_music_uplink">
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="1" />
</path>
<path name="incall_music_uplink2">
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="1" />
</path>
<path name="volte-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE" value="1" />
</path>
<path name="volte-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer INTERNAL_BT_SCO_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="volte-call bt-sco" />
</path>
<path name="volte-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer AFE_PCM_TX_VoLTE" value="1" />
</path>
<path name="compress-voip-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-voip-call bt-sco" />
</path>
<path name="listen-voice-wakeup-1">
<ctl name="LSM1 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-2">
<ctl name="LSM2 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-3">
<ctl name="LSM3 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-4">
<ctl name="LSM4 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-5">
<ctl name="LSM5 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="qchat-call">
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="qchat-call bt-sco" />
</path>
<!-- These are actual sound device specific mixer settings -->
<path name="adc1">
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="MICBIAS CAPLESS Switch" value="1" />
</path>
<path name="adc2">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="MICBIAS CAPLESS Switch" value="1" />
</path>
<path name="adc3">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="speaker">
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="SPK" value="Switch" />
</path>
<path name="speaker-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</path>
<path name="handset">
<ctl name="EAR PA Boost" value="ENABLE" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="EAR_S" value="Switch" />
</path>
<path name="handset-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</path>
<path name="headphones">
<ctl name="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="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
</path>
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</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-handset">
<path name="sidetone-iir" />
<ctl name="IIR1 INP1 Volume" value="53" />
<ctl name="RX1 MIX2 INP1" value="IIR1" />
</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="53" />
</path>
<path name="voice-handset">
<path name="sidetone-handset" />
<path name="handset" />
</path>
<path name="voice-speaker">
<path name="speaker" />
</path>
<path name="voice-speaker-mic">
<path name="speaker-mic" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<path name="sidetone-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="usb-headphones">
</path>
<path name="afe-proxy">
</path>
<path name="transmission-fm">
</path>
<path name="speaker-and-usb-headphones">
<path name="speaker" />
<path name="usb-headphones" />
</path>
<path name="voice-rec-mic">
<path name="handset-mic" />
</path>
<path name="camcorder-mic">
<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>
<!-- Dual MIC devices -->
<path name="speaker-dmic-endfire">
<path name="adc1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="MI2S_TX Channels" value="Two" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="dmic-endfire">
<path name="speaker-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-dmic-ef">
<path name="dmic-endfire" />
</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">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-stereo-dmic-ef">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-dmic-broadside">
<path name="adc3" />
<ctl name="DEC2 MUX" value="ADC1" />
<ctl name="MI2S_TX Channels" value="Two" />
</path>
<path name="dmic-broadside">
<path name="speaker-dmic-broadside" />
</path>
<path name="voice-speaker-dmic-broadside">
<path name="dmic-broadside"/>
</path>
<path name="echo-reference">
<ctl name="AUDIO_REF_EC_UL1 MUX" value="I2S_RX" />
</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" />
<ctl name="ADC2 MUX" value="INP2" />
</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="listen-handset-mic">
<path name="adc1" />
</path>
<path name="ADSP testfwk">
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="line">
<path name="headphones" />
</path>
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="speaker-and-line">
<path name="speaker-and-headphones" />
</path>
</mixer>

View file

@ -0,0 +1,931 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2015, 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="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="HPHL Volume" value="9" />
<ctl name="HPHR Volume" value="9" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="IIR1 INP1 Volume" value="84" />
<ctl name="IIR1 INP2 Volume" value="84" />
<ctl name="IIR1 INP3 Volume" value="84" />
<ctl name="IIR1 INP4 Volume" value="84" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC2 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC2 MUX" value="ZERO" />
<ctl name="DEC1 MUX" value="ZERO" />
<ctl name="ADC2 MUX" value="ZERO" />
<ctl name="RDAC2 MUX" value="ZERO" />
<ctl name="RX2 MIX2 INP2" value="ZERO" />
<ctl name="RX2 MIX2 INP1" value="ZERO" />
<ctl name="RX1 MIX2 INP2" value="ZERO" />
<ctl name="RX1 MIX2 INP1" value="ZERO" />
<ctl name="RX3 MIX1 INP2" value="ZERO" />
<ctl name="RX3 MIX1 INP1" value="ZERO" />
<ctl name="RX2 MIX1 INP2" value="ZERO" />
<ctl name="RX2 MIX1 INP1" value="ZERO" />
<ctl name="RX1 MIX1 INP2" value="ZERO" />
<ctl name="RX1 MIX1 INP1" value="ZERO" />
<ctl name="EAR_S" value="ZERO" />
<ctl name="HPHL" value="ZERO" />
<ctl name="HPHR" value="ZERO" />
<ctl name="SPK" value="ZERO" />
<ctl name="WSA Spk Switch" value="ZERO" />
<ctl name="SpkrMono WSA_RDAC" value="ZERO" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="SpkrMono BOOST Switch" value="1" />
<ctl name="EAR PA Gain" value="POS_1P5_DB" />
<ctl name="EAR PA Boost" value="ENABLE" />
<ctl name="MI2S_RX Channels" value="One" />
<ctl name="MI2S_TX Channels" value="One" />
<ctl name="PRI_MI2S_RX_DL_HL Switch" value="0" />
<ctl name="PRI_MI2S_RX_VI_FB_MUX" value="ZERO" />
<ctl name="DEC3 MUX" value="ZERO" />
<ctl name="DEC4 MUX" value="ZERO" />
<ctl name="SpkrMono VISENSE Switch" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="0" />
<ctl name="MultiMedia5 Mixer TERT_MI2S_TX" value="0" />
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="0" />
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="0" />
<!-- Voice BTSCO -->
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="0" />
<!-- Voice2 -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="0" />
<!-- Voice2 end -->
<!-- Multimode Voice1 -->
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode1" value="0" />
<ctl name="VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode1" value="0" />
<ctl name="VoiceMMode1_Tx Mixer INT_BT_SCO_TX_MMode1" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer VoiceMMode1" value="0" />
<ctl name="VoiceMMode1_Tx Mixer AFE_PCM_TX_MMode1" value="0" />
<!-- Multimode Voice1 end -->
<!-- Multimode Voice2 -->
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode2" value="0" />
<ctl name="VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode2" value="0" />
<ctl name="VoiceMMode2_Tx Mixer INT_BT_SCO_TX_MMode2" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer VoiceMMode2" value="0" />
<ctl name="VoiceMMode2_Tx Mixer AFE_PCM_TX_MMode2" value="0" />
<!-- Multimode Voice2 end -->
<!-- Voip -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="0" />
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="0" />
<!-- Voip end -->
<!-- fm -->
<ctl name="Internal FM RX Volume" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MI2S_DL_HL Switch" value="1" />
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="0" />
<!-- fm 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" />
<!-- Incall Recording end -->
<!-- Incall Music -->
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="0" />
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="0" />
<!-- Incall Music End -->
<!-- QCHAT -->
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="0" />
<!-- QCHAT End -->
<!-- EC_REF -->
<ctl name="AUDIO_REF_EC_UL1 MUX" value="None" />
<!-- IIR -->
<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" />
<!-- IIR -->
<!-- ADSP testfwk -->
<ctl name="MI2S_DL_HL Switch" value="0" />
<!-- ADSP testfwk end-->
<!-- These are audio route (FE to BE) specific mixer settings -->
<path name="deep-buffer-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<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">
<path name="deep-buffer-playback afe-proxy" />
</path>
<path name="deep-buffer-playback speaker-and-usb-headphones">
<path name="deep-buffer-playback usb-headphones" />
<path name="deep-buffer-playback" />
</path>
<path name="deep-buffer-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="low-latency-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback speaker-protected">
<path name="low-latency-playback" />
</path>
<path name="low-latency-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="low-latency-playback bt-sco" />
</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">
<path name="low-latency-playback afe-proxy" />
</path>
<path name="low-latency-playback speaker-and-usb-headphones">
<path name="low-latency-playback usb-headphones" />
<path name="low-latency-playback" />
</path>
<path name="low-latency-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="audio-ull-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback headphones">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback speaker-protected">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-ull-playback bt-sco" />
</path>
<path name="audio-ull-playback afe-proxy">
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback usb-headphones">
<path name="audio-ull-playback afe-proxy" />
</path>
<path name="audio-ull-playback speaker-and-usb-headphones">
<path name="audio-ull-playback usb-headphones" />
<path name="audio-ull-playback" />
</path>
<path name="compress-offload-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback speaker-protected">
<path name="compress-offload-playback" />
</path>
<path name="compress-offload-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-offload-playback bt-sco" />
</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">
<path name="compress-offload-playback afe-proxy" />
</path>
<path name="compress-offload-playback speaker-and-usb-headphones">
<path name="compress-offload-playback usb-headphones" />
<path name="compress-offload-playback" />
</path>
<path name="compress-offload-playback2">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia7" value="1" />
</path>
<path name="compress-offload-playback2 bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia7" value="1" />
</path>
<path name="compress-offload-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback3">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia10" value="1" />
</path>
<path name="compress-offload-playback3 bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia10" value="1" />
</path>
<path name="compress-offload-playback4">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia11" value="1" />
</path>
<path name="compress-offload-playback4 bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia11" value="1" />
</path>
<path name="compress-offload-playback5">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia12" value="1" />
</path>
<path name="compress-offload-playback5 bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia12" value="1" />
</path>
<path name="compress-offload-playback6">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia13" value="1" />
</path>
<path name="compress-offload-playback6 bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia13" value="1" />
</path>
<path name="compress-offload-playback7">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia14" value="1" />
</path>
<path name="compress-offload-playback7 bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia14" value="1" />
</path>
<path name="audio-record">
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="1" />
</path>
<path name="audio-record bt-sco">
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
</path>
<path name="audio-record bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-record bt-sco" />
</path>
<path name="audio-record usb-headset-mic">
<ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="1" />
</path>
<path name="audio-record capture-fm">
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="low-latency-record">
<ctl name="MultiMedia5 Mixer TERT_MI2S_TX" value="1" />
</path>
<path name="fm-virtual-record capture-fm">
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="voice-call">
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice-call bt-sco" />
</path>
<path name="voice-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="1" />
</path>
<path name="voice-call afe-proxy">
<path name="voice-call usb-headphones" />
</path>
<path name="voice2-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice2-call bt-sco" />
</path>
<path name="voice2-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="1" />
</path>
<path name="voice2-call afe-proxy">
<path name="voice2-call usb-headphones" />
</path>
<path name="play-fm">
<ctl name="Internal FM RX Volume" value="1" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="voicemmode1-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode1" value="1" />
<ctl name="VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1" value="1" />
</path>
<path name="voicemmode1-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode1" value="1" />
<ctl name="VoiceMMode1_Tx Mixer INT_BT_SCO_TX_MMode1" value="1" />
</path>
<path name="voicemmode1-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voicemmode1-call bt-sco" />
</path>
<path name="voicemmode1-call usb-headphones">
<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 afe-proxy">
<path name="voicemmode1-call usb-headphones" />
</path>
<path name="voicemmode2-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode2" value="1" />
<ctl name="VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2" value="1" />
</path>
<path name="voicemmode2-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode2" value="1" />
<ctl name="VoiceMMode2_Tx Mixer INT_BT_SCO_TX_MMode2" value="1" />
</path>
<path name="voicemmode2-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voicemmode2-call bt-sco" />
</path>
<path name="voicemmode2-call usb-headphones">
<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 afe-proxy">
<path name="voicemmode2-call usb-headphones" />
</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 afe-proxy">
<path name="incall-rec-uplink" />
</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 afe-proxy">
<path name="incall-rec-downlink" />
</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 afe-proxy">
<path name="incall-rec-uplink-and-downlink" />
</path>
<path name="incall_music_uplink">
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="1" />
</path>
<path name="incall_music_uplink2">
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="1" />
</path>
<path name="volte-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE" value="1" />
</path>
<path name="volte-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer INTERNAL_BT_SCO_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="volte-call bt-sco" />
</path>
<path name="volte-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer AFE_PCM_TX_VoLTE" value="1" />
</path>
<path name="volte-call afe-proxy">
<path name="volte-call usb-headphones" />
</path>
<path name="compress-voip-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<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="afe-proxy-playback afe-proxy">
</path>
<path name="afe-proxy-record afe-proxy">
</path>
<path name="qchat-call">
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="qchat-call bt-sco" />
</path>
<path name="multi-channel-playback afe-proxy">
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia2" value="1" />
</path>
<!-- These are actual sound device specific mixer settings -->
<path name="adc1">
<ctl name="DEC1 MUX" value="ADC1" />
</path>
<path name="adc2">
<ctl name="DEC1 MUX" value="ADC2" />
</path>
<path name="speaker">
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="SPK" value="Switch" />
</path>
<path name="wsa-speaker">
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="WSA Spk Switch" value="WSA" />
<ctl name="SpkrMono WSA_RDAC" value="Switch" />
</path>
<path name="spkr-rx-calib">
<ctl name="PRI_MI2S_RX_DL_HL Switch" value="1" />
</path>
<path name="vi-feedback">
</path>
<path name="spkr-vi-record">
<ctl name="PRI_MI2S_RX_VI_FB_MUX" value="SENARY_TX" />
</path>
<path name="speaker-protected">
<ctl name="DEC3 MUX" value="DMIC3" />
<ctl name="DEC4 MUX" value="DMIC4" />
<path name="wsa-speaker" />
<ctl name="PRI_MI2S_RX_VI_FB_MUX" value="SENARY_TX" />
<ctl name="SpkrMono VISENSE Switch" value="1" />
</path>
<path name="speaker-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</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="headphones">
<ctl name="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="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
</path>
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</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-handset">
<path name="sidetone-iir" />
<ctl name="IIR1 INP1 Volume" value="53" />
<ctl name="RX1 MIX2 INP1" value="IIR1" />
</path>
<path name="sidetone-headphone">
<path name="sidetone-iir" />
<ctl name="RX1 MIX2 INP1" value="IIR1" />
<ctl name="RX2 MIX2 INP1" value="IIR1" />
<ctl name="IIR1 INP1 Volume" value="53" />
</path>
<path name="voice-handset">
<path name="handset" />
</path>
<path name="voice-speaker">
<path name="speaker" />
</path>
<path name="wsa-voice-speaker">
<path name="wsa-speaker" />
</path>
<path name="voice-speaker-mic">
<path name="speaker-mic" />
</path>
<path name="voice-headphones">
<path name="headphones" />
</path>
<path name="voice-headset-mic">
<path name="headset-mic" />
</path>
<path name="speaker-and-headphones">
<path name="speaker" />
<path name="headphones" />
</path>
<path name="usb-headphones">
</path>
<path name="afe-proxy">
</path>
<path name="transmission-fm">
</path>
<path name="speaker-and-usb-headphones">
<path name="speaker" />
<path name="usb-headphones" />
</path>
<path name="voice-rec-mic">
<path name="handset-mic" />
</path>
<path name="camcorder-mic">
<path name="handset-mic" />
</path>
<path name="bt-sco-headset">
</path>
<path name="bt-sco-mic">
</path>
<path name="usb-headset-mic">
</path>
<path name="capture-fm">
</path>
<!-- Dual MIC devices -->
<path name="speaker-dmic-endfire">
<path name="adc1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="MI2S_TX Channels" value="Two" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="dmic-endfire">
<path name="speaker-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-dmic-ef">
<path name="dmic-endfire" />
</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">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-stereo-dmic-ef">
<path name="speaker-dmic-endfire" />
</path>
<path name="echo-reference">
<ctl name="AUDIO_REF_EC_UL1 MUX" value="I2S_RX" />
</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" />
<ctl name="ADC2 MUX" value="INP2" />
</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="listen-handset-mic">
<path name="adc1" />
</path>
<path name="ADSP testfwk">
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="voice-rx">
</path>
<path name="voice-tx">
</path>
<path name="line">
<path name="headphones" />
</path>
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="speaker-and-line">
<path name="speaker-and-headphones" />
</path>
</mixer>

File diff suppressed because it is too large Load diff

821
audio/mixer_paths_skuk.xml Normal file
View file

@ -0,0 +1,821 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright (c) 2014, 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="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="HPHL Volume" value="9" />
<ctl name="HPHR Volume" value="9" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
<ctl name="IIR1 INP1 Volume" value="84" />
<ctl name="IIR1 INP2 Volume" value="84" />
<ctl name="IIR1 INP3 Volume" value="84" />
<ctl name="IIR1 INP4 Volume" value="84" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC2 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC2 MUX" value="ZERO" />
<ctl name="DEC1 MUX" value="ZERO" />
<ctl name="ADC2 MUX" value="ZERO" />
<ctl name="RDAC2 MUX" value="ZERO" />
<ctl name="RX2 MIX2 INP2" value="ZERO" />
<ctl name="RX2 MIX2 INP1" value="ZERO" />
<ctl name="RX1 MIX2 INP2" value="ZERO" />
<ctl name="RX1 MIX2 INP1" value="ZERO" />
<ctl name="RX3 MIX1 INP2" value="ZERO" />
<ctl name="RX3 MIX1 INP1" value="ZERO" />
<ctl name="RX2 MIX1 INP2" value="ZERO" />
<ctl name="RX2 MIX1 INP1" value="ZERO" />
<ctl name="RX1 MIX1 INP2" value="ZERO" />
<ctl name="RX1 MIX1 INP1" value="ZERO" />
<ctl name="EAR_S" value="ZERO" />
<ctl name="HPHL" value="ZERO" />
<ctl name="HPHR" value="ZERO" />
<ctl name="SPK" value="ZERO" />
<ctl name="MICBIAS CAPLESS Switch" value="0" />
<ctl name="EAR PA Boost" value="ENABLE" />
<ctl name="EAR PA Gain" value="POS_1P5_DB" />
<ctl name="MI2S_RX Channels" value="One" />
<ctl name="MI2S_TX Channels" value="One" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="0" />
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0" />
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="0" />
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="0" />
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INT_BT_SCO_TX" value="0" />
<!-- Voice BTSCO -->
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="0" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="0" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer Multimedia6" value="0" />
<ctl name="MultiMedia6 Mixer TERT_MI2S_TX" value="0" />
<!-- Voice2 -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="0" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="0" />
<!-- Voice2 end -->
<!-- VoWLAN -->
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="0" />
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer VoWLAN" value="0" />
<ctl name="VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN" value="0" />
<!-- VoWLAN -->
<!-- Voip -->
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="0" />
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_8KHZ" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="0" />
<!-- Voip end -->
<!-- fm -->
<ctl name="Internal FM RX Volume" value="0" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MI2S_DL_HL Switch" value="1" />
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="0" />
<!-- fm end -->
<!-- Incall Recording -->
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" />
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" />
<!-- Incall Recording end -->
<!-- Incall Music -->
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="0" />
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="0" />
<!-- Incall Music End -->
<!-- QCHAT -->
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="0" />
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="0" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="0" />
<!-- QCHAT End -->
<!-- EC_REF -->
<ctl name="AUDIO_REF_EC_UL1 MUX" value="None" />
<!-- IIR -->
<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" />
<!-- IIR -->
<!-- ADSP testfwk -->
<ctl name="MI2S_DL_HL Switch" value="0" />
<!-- ADSP testfwk end-->
<path name="bt-sco-wb-samplerate">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
</path>
<!-- These are audio route (FE to BE) specific mixer settings -->
<path name="deep-buffer-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback bt-sco-wb">
<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">
<path name="deep-buffer-playback afe-proxy" />
</path>
<path name="deep-buffer-playback speaker-and-usb-headphones">
<path name="deep-buffer-playback usb-headphones" />
<path name="deep-buffer-playback" />
</path>
<path name="deep-buffer-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="low-latency-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="low-latency-playback bt-sco-wb">
<path name="low-latency-playback bt-sco" />
</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">
<path name="low-latency-playback afe-proxy" />
</path>
<path name="low-latency-playback speaker-and-usb-headphones">
<path name="low-latency-playback usb-headphones" />
<path name="low-latency-playback" />
</path>
<path name="low-latency-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="audio-ull-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback headphones">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback speaker-protected">
<path name="audio-ull-playback" />
</path>
<path name="audio-ull-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-ull-playback bt-sco" />
</path>
<path name="audio-ull-playback afe-proxy">
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="1" />
</path>
<path name="audio-ull-playback usb-headphones">
<path name="audio-ull-playback afe-proxy" />
<path name="audio-ull-playback" />
</path>
<path name="compress-offload-playback">
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco">
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-offload-playback bt-sco" />
</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">
<path name="compress-offload-playback afe-proxy" />
</path>
<path name="compress-offload-playback speaker-and-usb-headphones">
<path name="compress-offload-playback usb-headphones" />
<path name="compress-offload-playback" />
</path>
<path name="compress-offload-playback transmission-fm">
<ctl name="INTERNAL_FM_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="audio-record">
<ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="1" />
</path>
<!-- listen -->
<ctl name="LSM1 MUX" value="None" />
<ctl name="LSM2 MUX" value="None" />
<ctl name="LSM3 MUX" value="None" />
<ctl name="LSM4 MUX" value="None" />
<ctl name="LSM5 MUX" value="None" />
<ctl name="TERT_MI2S_TX LSM Function" value="None" />
<!-- listen end-->
<path name="audio-record bt-sco">
<ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
</path>
<path name="audio-record bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="audio-record bt-sco" />
</path>
<path name="audio-record usb-headset-mic">
<ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="1" />
</path>
<path name="audio-record capture-fm">
<ctl name="MultiMedia1 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="fm-virtual-record capture-fm">
<ctl name="MultiMedia2 Mixer INTERNAL_FM_TX" value="1" />
</path>
<path name="voice-call">
<ctl name="PRI_MI2S_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer TERT_MI2S_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="1" />
</path>
<path name="voice-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice-call bt-sco" />
</path>
<path name="voice-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer CSVoice" value="1" />
<ctl name="Voice_Tx Mixer AFE_PCM_TX_Voice" value="1" />
</path>
<path name="voice2-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer TERT_MI2S_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2" value="1" />
</path>
<path name="voice2-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="voice2-call bt-sco" />
</path>
<path name="voice2-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer Voice2" value="1" />
<ctl name="Voice2_Tx Mixer AFE_PCM_TX_Voice2" value="1" />
</path>
<path name="play-fm">
<ctl name="Internal FM RX Volume" value="1" />
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="vowlan-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN" value="1" />
</path>
<path name="vowlan-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="vowlan-call bt-sco" />
</path>
<path name="vowlan-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoWLAN" value="1" />
<ctl name="VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN" value="1" />
</path>
<path name="hfp-sco">
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia6" value="1" />
<ctl name="MultiMedia6 Mixer TERT_MI2S_TX" value="1" />
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="hfp-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="hfp-sco" />
</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-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-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_music_uplink">
<ctl name="Incall_Music Audio Mixer MultiMedia2" value="1" />
</path>
<path name="incall_music_uplink2">
<ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="1" />
</path>
<path name="volte-call">
<ctl name="PRI_MI2S_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE" value="1" />
</path>
<path name="volte-call hdmi">
<ctl name="HDMI_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer SLIM_0_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer INTERNAL_BT_SCO_TX_VoLTE" value="1" />
</path>
<path name="volte-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="volte-call bt-sco" />
</path>
<path name="volte-call usb-headphones">
<ctl name="AFE_PCM_RX_Voice Mixer VoLTE" value="1" />
<ctl name="VoLTE_Tx Mixer AFE_PCM_TX_VoLTE" value="1" />
</path>
<path name="compress-voip-call">
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer TERT_MI2S_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="1" />
</path>
<path name="compress-voip-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="compress-voip-call bt-sco" />
</path>
<path name="listen-voice-wakeup-1">
<ctl name="LSM1 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-2">
<ctl name="LSM2 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-3">
<ctl name="LSM3 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-4">
<ctl name="LSM4 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-5">
<ctl name="LSM5 MUX" value="TERT_MI2S_TX" />
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
</path>
<path name="qchat-call">
<ctl name="PRI_MI2S_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco">
<ctl name="INTERNAL_BT_SCO_RX_Voice Mixer QCHAT" value="1" />
<ctl name="QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT" value="1" />
</path>
<path name="qchat-call bt-sco-wb">
<ctl name="Internal BTSCO SampleRate" value="BTSCO_RATE_16KHZ" />
<path name="qchat-call bt-sco" />
</path>
<!-- These are actual sound device specific mixer settings -->
<path name="adc1">
<ctl name="DEC1 MUX" value="ADC1" />
</path>
<path name="adc2">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="MICBIAS CAPLESS Switch" value="1" />
</path>
<path name="adc3">
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="speaker">
<ctl name="RX3 MIX1 INP1" value="RX1" />
<ctl name="SPK" value="Switch" />
</path>
<path name="speaker-mic">
<path name="adc1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</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="headphones">
<ctl name="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="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
</path>
<path name="headset-mic">
<path name="adc2" />
<ctl name="ADC2 MUX" value="INP2" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</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-handset">
<path name="sidetone-iir" />
<ctl name="IIR1 INP1 Volume" value="53" />
<ctl name="RX1 MIX2 INP1" value="IIR1" />
</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="53" />
</path>
<path name="voice-handset">
<path name="sidetone-handset" />
<path name="handset" />
</path>
<path name="voice-speaker">
<path name="speaker" />
</path>
<path name="voice-speaker-mic">
<path name="speaker-mic" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<path name="sidetone-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="usb-headphones">
</path>
<path name="afe-proxy">
</path>
<path name="transmission-fm">
</path>
<path name="speaker-and-usb-headphones">
<path name="speaker" />
<path name="usb-headphones" />
</path>
<path name="voice-rec-mic">
<path name="handset-mic" />
</path>
<path name="camcorder-mic">
<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>
<!-- Dual MIC devices -->
<path name="speaker-dmic-endfire">
<path name="adc1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="MI2S_TX Channels" value="Two" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
<path name="dmic-endfire">
<path name="speaker-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-dmic-ef">
<path name="dmic-endfire" />
</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">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-stereo-dmic-ef">
<path name="speaker-dmic-endfire" />
</path>
<path name="speaker-dmic-broadside">
<path name="adc3" />
<ctl name="DEC2 MUX" value="ADC1" />
<ctl name="MI2S_TX Channels" value="Two" />
</path>
<path name="dmic-broadside">
<path name="speaker-dmic-broadside" />
</path>
<path name="voice-speaker-dmic-broadside">
<path name="dmic-broadside"/>
</path>
<path name="echo-reference">
<ctl name="AUDIO_REF_EC_UL1 MUX" value="I2S_RX" />
</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" />
<ctl name="ADC2 MUX" value="INP2" />
</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="listen-handset-mic">
<path name="adc1" />
</path>
<path name="ADSP testfwk">
<ctl name="MI2S_DL_HL Switch" value="1" />
</path>
<path name="line">
<path name="headphones" />
</path>
<path name="voice-line">
<path name="voice-headphones" />
</path>
<path name="speaker-and-line">
<path name="speaker-and-headphones" />
</path>
</mixer>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--- Copyright (c) 2014, 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 MUX" value="None" />
<ctl name="LSM2 MUX" value="None" />
<ctl name="LSM3 MUX" value="None" />
<ctl name="LSM4 MUX" value="None" />
<ctl name="LSM5 MUX" value="None" />
<ctl name="LSM6 MUX" value="None" />
<ctl name="LSM7 MUX" value="None" />
<ctl name="LSM8 MUX" value="None" />
<ctl name="TERT_MI2S_TX LSM Function" value="None" />
<path name="listen-voice-wakeup-1">
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
<ctl name="LSM1 MUX" value="TERT_MI2S_TX" />
</path>
<path name="listen-voice-wakeup-2">
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
<ctl name="LSM2 MUX" value="TERT_MI2S_TX" />
</path>
<path name="listen-voice-wakeup-3">
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
<ctl name="LSM3 MUX" value="TERT_MI2S_TX" />
</path>
<path name="listen-voice-wakeup-4">
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
<ctl name="LSM4 MUX" value="TERT_MI2S_TX" />
</path>
<path name="listen-voice-wakeup-5">
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
<ctl name="LSM5 MUX" value="TERT_MI2S_TX" />
</path>
<path name="listen-voice-wakeup-6">
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
<ctl name="LSM6 MUX" value="TERT_MI2S_TX" />
</path>
<path name="listen-voice-wakeup-7">
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
<ctl name="LSM7 MUX" value="TERT_MI2S_TX" />
</path>
<path name="listen-voice-wakeup-8">
<ctl name="TERT_MI2S_TX LSM Function" value="SWAUDIO" />
<ctl name="LSM8 MUX" value="TERT_MI2S_TX" />
</path>
<path name="listen-ape-handset-mic">
<!-- this is to avoid codec mute when device is not enabled first -->
<ctl name="LOOPBACK Mode" value="ENABLE" />
<!-- actual device ebable sequence -->
<ctl name="DEC1 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
</path>
</mixer>

View file

@ -0,0 +1,103 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--- Copyright (c) 2014, 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 MUX" value="None" />
<ctl name="LSM2 MUX" value="None" />
<ctl name="LSM3 MUX" value="None" />
<ctl name="LSM4 MUX" value="None" />
<ctl name="LSM5 MUX" value="None" />
<ctl name="LSM6 MUX" value="None" />
<ctl name="LSM7 MUX" value="None" />
<ctl name="LSM8 MUX" value="None" />
<ctl name="SLIMBUS_5_TX LSM Function" value="None" />
<ctl name="AIF1_CAP Mixer SLIM TX1" value="0"/>
<ctl name="LOOPBACK Mode" value="DISABLE" />
<ctl name="SLIM TX1 MUX" value="ZERO" />
<ctl name="DEC1 MUX" value="ZERO" />
<ctl name="IIR1 INP1 MUX" value="ZERO" />
<path name="listen-voice-wakeup-1">
<ctl name="AIF1_CAP Mixer SLIM TX1" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="LSM1 MUX" value="SLIMBUS_5_TX" />
<ctl name="SLIMBUS_5_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-2">
<ctl name="AIF1_CAP Mixer SLIM TX1" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="LSM2 MUX" value="SLIMBUS_5_TX" />
<ctl name="SLIMBUS_5_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-3">
<ctl name="AIF1_CAP Mixer SLIM TX1" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="LSM3 MUX" value="SLIMBUS_5_TX" />
<ctl name="SLIMBUS_5_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-4">
<ctl name="AIF1_CAP Mixer SLIM TX1" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="LSM4 MUX" value="SLIMBUS_5_TX" />
<ctl name="SLIMBUS_5_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-5">
<ctl name="AIF1_CAP Mixer SLIM TX1" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="LSM5 MUX" value="SLIMBUS_5_TX" />
<ctl name="SLIMBUS_5_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-6">
<ctl name="AIF1_CAP Mixer SLIM TX1" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="LSM6 MUX" value="SLIMBUS_5_TX" />
<ctl name="SLIMBUS_5_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-7">
<ctl name="AIF1_CAP Mixer SLIM TX1" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="LSM7 MUX" value="SLIMBUS_5_TX" />
<ctl name="SLIMBUS_5_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-voice-wakeup-8">
<ctl name="AIF1_CAP Mixer SLIM TX1" value="1"/>
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="LSM8 MUX" value="SLIMBUS_5_TX" />
<ctl name="SLIMBUS_5_TX LSM Function" value="SWAUDIO" />
</path>
<path name="listen-handset-mic">
<ctl name="LOOPBACK Mode" value="ENABLE" />
<ctl name="SLIM TX1 MUX" value="DEC1" />
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="IIR1 INP1 MUX" value="DEC1" />
</path>
</mixer>

View file

@ -0,0 +1,90 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--- Copyright (c) 2015, 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 MUX" value="None" />
<ctl name="LSM2 MUX" value="None" />
<ctl name="LSM3 MUX" value="None" />
<ctl name="LSM4 MUX" value="None" />
<ctl name="LSM5 MUX" value="None" />
<ctl name="LSM6 MUX" value="None" />
<ctl name="LSM7 MUX" value="None" />
<ctl name="LSM8 MUX" value="None" />
<ctl name="SLIMBUS_5_TX LSM Function" value="None" />
<ctl name="MADONOFF Switch" value="0" />
<ctl name="MAD Input" value="DMIC1" />
<ctl name="CPE AFE MAD Enable" value="0"/>
<path name="listen-voice-wakeup-1">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM1 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-2">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM2 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-3">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM3 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-4">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM4 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-5">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM5 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-6">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM6 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-7">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM7 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-8">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM8 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-cpe-handset-mic">
<ctl name="MADONOFF Switch" value="1" />
<ctl name="MAD Input" value="DMIC1" />
<ctl name="CPE AFE MAD Enable" value="1"/>
</path>
<path name="listen-ape-handset-mic">
<ctl name="MADONOFF Switch" value="1" />
<ctl name="MAD Input" value="DMIC1" />
</path>
</mixer>

View file

@ -0,0 +1,106 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--- Copyright (c) 2015, 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 MUX" value="None" />
<ctl name="LSM2 MUX" value="None" />
<ctl name="LSM3 MUX" value="None" />
<ctl name="LSM4 MUX" value="None" />
<ctl name="LSM5 MUX" value="None" />
<ctl name="LSM6 MUX" value="None" />
<ctl name="LSM7 MUX" value="None" />
<ctl name="LSM8 MUX" value="None" />
<ctl name="SLIMBUS_5_TX LSM Function" value="None" />
<ctl name="MADONOFF Switch" value="0" />
<ctl name="MAD Input" value="DMIC1" />
<ctl name="MAD_BROADCAST Switch" value="0" />
<ctl name="TX13 INP MUX" value="CDC_DEC_5" />
<ctl name="AIF4_MAD Mixer SLIM TX12" value="0" />
<ctl name="AIF4_MAD Mixer SLIM TX13" value="0" />
<ctl name="CPE AFE MAD Enable" value="0"/>
<path name="listen-voice-wakeup-1">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM1 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-2">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM2 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-3">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM3 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-4">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM4 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-5">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM5 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-6">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM6 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-7">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM7 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-voice-wakeup-8">
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
<ctl name="LSM8 MUX" value="SLIMBUS_5_TX" />
</path>
<path name="listen-cpe-handset-mic">
<ctl name="MADONOFF Switch" value="1" />
<ctl name="TX13 INP MUX" value="CPE_TX_PP" />
<ctl name="AIF4_MAD Mixer SLIM TX13" value="1" />
<ctl name="MAD Input" value="DMIC0" />
<ctl name="CPE AFE MAD Enable" value="1"/>
</path>
<!-- path name used for low bandwidth FTRT codec interface -->
<path name="listen-cpe-handset-mic low-speed-intf">
<ctl name="MADONOFF Switch" value="1" />
<ctl name="AIF4_MAD Mixer SLIM TX12" value="1" />
<ctl name="MAD Input" value="DMIC0" />
<ctl name="CPE AFE MAD Enable" value="1"/>
</path>
<path name="listen-ape-handset-mic">
<ctl name="MAD_BROADCAST Switch" value="1" />
<ctl name="TX13 INP MUX" value="MAD_BRDCST" />
<ctl name="AIF4_MAD Mixer SLIM TX13" value="1" />
<ctl name="MAD Input" value="DMIC0" />
</path>
</mixer>

View file

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--- Copyright (c) 2013-2014, 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>
<device name="DEVICE_HANDSET_APE_ACDB_ID" value="130" />
<device name="DEVICE_HANDSET_CPE_ACDB_ID" value="128" />
<ctrl name="execution_type" value="APE" /> <!-- value: "CPE" "APE" -->
<ctrl name="max_cpe_sessions" value="1" />
<ctrl name="max_ape_sessions" value="5" />
<ctrl name="enable_failure_detection" value="false" />
<ctrl name="rx_concurrency_disabled" value="true" />
<ctrl name="rx_conc_max_st_ses" value="1" />
<!-- vendor_uuid for a soundmodel. More than one vendor_uuid tags can be -->
<!-- listed in sequence, the below vendor uuid is reserved for Qualcomm -->
<!-- module. ISV must use their own unique vendor uuid. app_type, -->
<!-- module_id, param_id must match to the calibration database -->
<!-- If ISV vendor_uuid is present, execution_type will be forced to APE -->
<vendor_uuid value="68ab2d40-e860-11e3-95ef-0002a5d5c51b" app_type="2" library="libsmwrapper.so">
<!-- 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 -->
<capture_keyword format="PCM_packet" transfer_mode="RT" kw_duration="2000" />
<param_type name="load_sound_model" module_id="0x00012C0D" param_id="0x00012C14"/>
<param_type name="unload_sound_model" module_id="0x00012C0D" param_id="0x00012C15"/>
<param_type name="confidence_levels" module_id="0x00012C0D" param_id="0x00012C07"/>
<param_type name="operation_mode" module_id="0x00012C0D" param_id="0x00012C02"/>
<ctrl name="max_cpe_phrases" value="6" />
<ctrl name="max_cpe_users" value="3" />
<ctrl name="max_ape_phrases" value="10" />
<ctrl name="max_ape_users" value="10" />
<ctrl name="client_capture_read_delay" value="2000" /> <!-- in milli seconds -->
</vendor_uuid>
</sound_trigger_platform_info>

27
configs/Android.mk Normal file
View file

@ -0,0 +1,27 @@
LOCAL_PATH:= $(call my-dir)
# Qualcomm XML Files
include $(CLEAR_VARS)
LOCAL_MODULE := dsi_config.xml
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := data/dsi_config.xml
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/data
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := netmgr_config.xml
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := data/netmgr_config.xml
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/data
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := qmi_config.xml
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := data/qmi_config.xml
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/data
include $(BUILD_PREBUILT)

614
configs/data/dsi_config.xml Normal file
View file

@ -0,0 +1,614 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
DSI Module configuration XML file
Copyright (c) 2013, 2015 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->
<list name="dsi_config">
<!-- Configuration for legacy MSM targets -->
<listitem name="msm">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 0 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 0 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet0 </data>
<data type="string"> rmnet1 </data>
<data type="string"> rmnet2 </data>
<data type="string"> rmnet3 </data>
<data type="string"> rmnet4 </data>
<data type="string"> rmnet5 </data>
<data type="string"> rmnet6 </data>
<data type="string"> rmnet7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet0 </data>
<data type="string"> rmnet1 </data>
<data type="string"> rmnet2 </data>
<data type="string"> rmnet3 </data>
<data type="string"> rmnet4 </data>
<data type="string"> rmnet5 </data>
<data type="string"> rmnet6 </data>
<data type="string"> rmnet7 </data>
</list>
</listitem>
<!-- Configuration for fusion4 -->
<listitem name="mdm">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_usb0 </data>
<data name="single_qmux_channel_enabled" type="int"> 0 </data>
<data name="single_qmux_channel_name" type="string"> rmnet_usb0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_usb0 </data>
<data type="string"> rmnet_usb1 </data>
<data type="string"> rmnet_usb2 </data>
<data type="string"> rmnet_usb3 </data>
<data type="string"> rmnet_usb4 </data>
<data type="string"> rmnet_usb5 </data>
<data type="string"> rmnet_usb6 </data>
<data type="string"> rmnet_usb7 </data>
</list>
</listitem>
<!-- Configuration for fusion4.5 PCIe -->
<listitem name="fusion4_5_pcie">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_mhi0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet_mhi0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8994 -->
<listitem name="msm8994">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for dpm_2_0 targets -->
<listitem name="dpm_2_0">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for Jolokia -->
<listitem name="jolokia">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8992 -->
<listitem name="msm8992">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for 9X40/9X45 LE (Tesla) -->
<listitem name="tesla">
<data name="qos_enabled" type="int"> 0 </data>
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8952/MSM8956 -->
<listitem name="tabasco">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8976 -->
<listitem name="Eldarion">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8953 -->
<listitem name="jacala">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8996 -->
<listitem name="msm8996">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for Fusion 8084 + 9x45 PCIe -->
<listitem name="fusion_8084_9x45_pcie">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_mhi0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet_mhi0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for 9X50/9X55 LE (Atlas) -->
<listitem name="atlas">
<data name="qos_enabled" type="int"> 0 </data>
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for Fusion 8096 + 9x55 PCIe -->
<listitem name="fusion_8096_9x55_pcie">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_mhi0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet_mhi0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for lykan -->
<listitem name="lykan">
<data name="qos_enabled" type="int"> 0 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for feero -->
<listitem name="feero">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
<!-- Configuration for MSM8998 -->
<listitem name="msm8998">
<data name="qos_enabled" type="int"> 1 </data>
<data name="rmnet_data_enabled" type="int"> 1 </data>
<data name="phys_net_dev" type="string"> rmnet_ipa0 </data>
<data name="single_qmux_channel_enabled" type="int"> 1 </data>
<data name="single_qmux_channel_name" type="string"> rmnet0 </data>
<data name="num_dsi_handles" type="int"> 8 </data>
<list name="device_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
<list name="control_port_names">
<data type="string"> rmnet_data0 </data>
<data type="string"> rmnet_data1 </data>
<data type="string"> rmnet_data2 </data>
<data type="string"> rmnet_data3 </data>
<data type="string"> rmnet_data4 </data>
<data type="string"> rmnet_data5 </data>
<data type="string"> rmnet_data6 </data>
<data type="string"> rmnet_data7 </data>
</list>
</listitem>
</list>

File diff suppressed because it is too large Load diff

627
configs/data/qmi_config.xml Normal file
View file

@ -0,0 +1,627 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
QMI Module configuration XML file
Copyright (c) 2013-2015 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.
-->
<!-- QMI configuration -->
<list name="qmi_config">
<!-- Fusion4.5 (PCIe) parameters -->
<listitem name = "fusion4_5_pcie">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_MHI_0 </data>
<data type="string"> QMI_PORT_RMNET_MHI_1 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_MHI_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_MHI_1 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/mhi_pipe_14 </data>
<data type="string"> /dev/mhi_pipe_16 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/mhi_pipe_14 </data>
<data type="string"> /tmp/data/mhi_pipe_16 </data>
</list>
<list name="ch_name">
<data type="string"> MHICTL0 </data>
<data type="string"> MHICTL1 </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- Fusion 8084 + 9x45 parameters-->
<listitem name = "fusion_8084_9x45_pcie">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_MHI_0 </data>
<data type="string"> QMI_PORT_RMNET_MHI_1 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_MHI_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_MHI_1 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/mhi_pipe_14 </data>
<data type="string"> /dev/mhi_pipe_16 </data>
</list>
<list name="ch_name">
<data type="string"> MHICTL0 </data>
<data type="string"> MHICTL1 </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8994 parameters -->
<listitem name = "msm8994">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 1 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_IPA_0 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA14_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
</list>
</listitem>
<!-- MDM9X40/MDM9X45 (Tesla) parameters -->
<listitem name = "tesla">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_BAM </data>
<data type="string"> LINUX_QMI_TRANSPORT_BAM </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8992 parameters -->
<listitem name = "msm8992">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8952/MSM8956 parameters -->
<listitem name = "tabasco">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8996 parameters -->
<listitem name = "msm8996">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8937 parameters -->
<listitem name = "feero">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8976 parameters -->
<listitem name = "Eldarion">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8953 parameters -->
<listitem name = "jacala">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MDM9X50/MDM9X55 (Atlas) parameters -->
<listitem name = "atlas">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_BAM </data>
<data type="string"> LINUX_QMI_TRANSPORT_BAM </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- Fusion 8096 + 9x55 parameters-->
<listitem name = "fusion_8096_9x55_pcie">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_MHI_0 </data>
<data type="string"> QMI_PORT_RMNET_MHI_1 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_MHI_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_MHI_1 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/mhi_pipe_14 </data>
<data type="string"> /dev/mhi_pipe_16 </data>
</list>
<list name="ch_name">
<data type="string"> MHICTL0 </data>
<data type="string"> MHICTL1 </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
<data type="string"> LINUX_QMI_TRANSPORT_MHI </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
<!-- MSM8998 parameters -->
<listitem name = "msm8998">
<data name="single_qmux_ch" type="int"> 1 </data>
<data name="control_ports_len" type="int"> 2 </data>
<data name="dpm_enabled" type="int"> 1 </data>
<data name="use_qmuxd" type="int"> 0 </data>
<list name="conn_str">
<data type="string"> QMI_PORT_RMNET_0 </data>
<data type="string"> QMI_PORT_RMNET_8 </data>
</list>
<list name="conn_id">
<data type="string"> QMI_CONN_ID_RMNET_0 </data>
<data type="string"> QMI_CONN_ID_RMNET_8 </data>
</list>
<list name="dev_name">
<data type="string"> /dev/smdcntl0 </data>
<data type="string"> /dev/smdcntl8 </data>
</list>
<list name="dev_name_test">
<data type="string"> /tmp/data/smdcntl0 </data>
<data type="string"> /tmp/data/smdcntl8 </data>
</list>
<list name="ch_name">
<data type="string"> DATA5_CNTL </data>
<data type="string"> DATA40_CNTL </data>
</list>
<list name="transport">
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
<data type="string"> LINUX_QMI_TRANSPORT_SMD </data>
</list>
<list name="enabled">
<data type="int"> 1 </data>
<data type="int"> 1 </data>
</list>
<list name="open_at_powerup">
<data type="int"> 1 </data>
<data type="int"> 0 </data>
</list>
</listitem>
</list>

View file

@ -0,0 +1,115 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) 2015, The Linux Foundation. All rights reserved.
Not a Contribution.
Copyright 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.
-->
<MediaCodecs>
<Encoders>
<MediaCodec name="OMX.qcom.video.encoder.avc" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="377-377" />
<Limit name="measured-frame-rate-720x480" range="113-113" />
<Limit name="measured-frame-rate-1280x720" range="76-76" />
<Limit name="measured-frame-rate-1920x1080" range="44-44" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.h263sw" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="160-160" />
<Limit name="measured-frame-rate-352x288" range="86-86" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.encoder.mpeg4sw" type="video/mp4v-es" update="true">
<Limit name="measured-frame-rate-176x144" range="179-179" />
<Limit name="measured-frame-rate-352x288" range="84-84" />
<Limit name="measured-frame-rate-640x480" range="54-54" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="208-208" />
<Limit name="measured-frame-rate-720x480" range="98-98" />
<Limit name="measured-frame-rate-1280x720" range="44-44" />
<Limit name="measured-frame-rate-1920x1080" range="21-21" />
</MediaCodec>
<MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="397-397" />
</MediaCodec>
<MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
<Limit name="measured-frame-rate-176x144" range="413-413" />
</MediaCodec>
<MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="328-328" />
<Limit name="measured-frame-rate-640x360" range="158-158" />
<Limit name="measured-frame-rate-1280x720" range="65-65" />
<Limit name="measured-frame-rate-1920x1080" range="29-29" />
</MediaCodec>
</Encoders>
<Decoders>
<MediaCodec name="OMX.qcom.video.decoder.avc" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="570-570" />
<Limit name="measured-frame-rate-720x480" range="280-280" />
<Limit name="measured-frame-rate-1280x720" range="155-155" />
<Limit name="measured-frame-rate-1920x1088" range="57-57" />
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.hevc" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="578-578" />
<Limit name="measured-frame-rate-720x480" range="390-390" />
<Limit name="measured-frame-rate-1280x720" range="157-157" />
<Limit name="measured-frame-rate-1920x1088" range="63-63" />
</MediaCodec>
<MediaCodec name="OMX.qti.video.decoder.h263sw" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="889-889" />
<Limit name="measured-frame-rate-352x288" range="580-580" />
</MediaCodec>
<MediaCodec name="OMX.qti.video.decoder.mpeg4sw" update="true">
<Type name="video/mp4v-es">
<Limit name="measured-frame-rate-480x360" range="519-519" />
</Type>
</MediaCodec>
<MediaCodec name="OMX.qcom.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x240" range="659-659" />
<Limit name="measured-frame-rate-640x360" range="509-509" />
<Limit name="measured-frame-rate-1280x720" range="162-162" />
<Limit name="measured-frame-rate-1920x1080" range="87-87" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.decoder" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="586-586" />
<Limit name="measured-frame-rate-720x480" range="287-287" />
<Limit name="measured-frame-rate-1280x720" range="186-186" />
<Limit name="measured-frame-rate-1920x1080" range="80-80" />
</MediaCodec>
<MediaCodec name="OMX.google.hevc.decoder" type="video/hevc" update="true">
<Limit name="measured-frame-rate-352x288" range="525-525" />
<Limit name="measured-frame-rate-720x480" range="333-333" />
<Limit name="measured-frame-rate-1280x720" range="189-189" />
<Limit name="measured-frame-rate-1920x1080" range="104-104" />
</MediaCodec>
<MediaCodec name="OMX.google.h263.decoder" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="1292-1292" />
<Limit name="measured-frame-rate-352x288" range="834-834" />
</MediaCodec>
<MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x240" range="1330-1330" />
<Limit name="measured-frame-rate-640x360" range="340-340" />
<Limit name="measured-frame-rate-1280x720" range="59-59" />
<Limit name="measured-frame-rate-1920x1080" range="44-44" />
</MediaCodec>
<MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9" update="true">
<Limit name="measured-frame-rate-320x240" range="511-511" />
<Limit name="measured-frame-rate-640x360" range="421-421" />
<Limit name="measured-frame-rate-1280x720" range="111-111" />
<Limit name="measured-frame-rate-1920x1080" range="76-76" />
</MediaCodec>
</Decoders>
</MediaCodecs>

698
configs/media_profiles.xml Normal file
View file

@ -0,0 +1,698 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
Copyright (C) 2015 The Linux Foundation. All rights reserved.
Not a contribution.
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.
-->
<!DOCTYPE MediaSettings [
<!ELEMENT MediaSettings (CamcorderProfiles,
EncoderOutputFileFormat+,
VideoEncoderCap+,
AudioEncoderCap+,
VideoDecoderCap,
AudioDecoderCap)>
<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
<!ELEMENT EncoderProfile (Video, Audio)>
<!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
<!ATTLIST EncoderProfile cameraId (0|1) #REQUIRED>
<!ELEMENT Video EMPTY>
<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
<!ATTLIST Video bitRate CDATA #REQUIRED>
<!ATTLIST Video width CDATA #REQUIRED>
<!ATTLIST Video height CDATA #REQUIRED>
<!ATTLIST Video frameRate CDATA #REQUIRED>
<!ELEMENT Audio EMPTY>
<!ATTLIST Audio codec (amrnb|amrwb|aac|lpcm) #REQUIRED>
<!ATTLIST Audio bitRate CDATA #REQUIRED>
<!ATTLIST Audio sampleRate CDATA #REQUIRED>
<!ATTLIST Audio channels (1|2|6) #REQUIRED>
<!ELEMENT ImageEncoding EMPTY>
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
<!ELEMENT ImageDecoding EMPTY>
<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
<!ELEMENT Camera EMPTY>
<!ELEMENT EncoderOutputFileFormat EMPTY>
<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
<!ELEMENT VideoEncoderCap EMPTY>
<!ATTLIST VideoEncoderCap name (h264|h263|m4v) #REQUIRED>
<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxHFRMode CDATA #REQUIRED>
<!ELEMENT AudioEncoderCap EMPTY>
<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|lpcm) #REQUIRED>
<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap minChannels (1|2|6) #REQUIRED>
<!ATTLIST AudioEncoderCap maxChannels (1|2|6) #REQUIRED>
<!ELEMENT VideoDecoderCap EMPTY>
<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
<!ELEMENT AudioDecoderCap EMPTY>
<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
<!ELEMENT VideoEditorCap EMPTY>
<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
<!ELEMENT ExportVideoProfile EMPTY>
<!ATTLIST ExportVideoProfile name (h264) #REQUIRED>
<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
]>
<!--
This file is used to declare the multimedia profiles and capabilities
on an android-powered device.
-->
<MediaSettings>
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
<!-- Back Camera -->
<CamcorderProfiles cameraId="0" startOffsetMs="300">
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="512000"
width="320"
height="240"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="3gp" duration="30">
<Video codec="h264"
bitRate="720000"
width="352"
height="288"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="14000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="vga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="720000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="512000"
width="320"
height="240"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="14000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<!-- Front Camera -->
<CamcorderProfiles cameraId="1" startOffsetMs="300">
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="512000"
width="320"
height="240"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="3gp" duration="30">
<Video codec="h264"
bitRate="720000"
width="352"
height="288"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="14000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="qcif" fileFormat="3gp" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="vga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="512000"
width="320"
height="240"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsevga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="2000000"
width="640"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="5000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="156000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<EncoderOutputFileFormat name="3gp" />
<EncoderOutputFileFormat name="mp4" />
<!--
If a codec is not enabled, it is invisible to the applications
In other words, the applications won't be able to use the codec
or query the capabilities of the codec at all if it is disabled
-->
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="20000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="30"
maxHFRFrameWidth="1280" maxHFRFrameHeight="720"
maxHFRMode="60" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="864"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="15" maxFrameRate="30"
maxHFRFrameWidth="0" maxHFRFrameHeight="0"
maxHFRMode="0" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="864"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="15" maxFrameRate="30"
maxHFRFrameWidth="0" maxHFRFrameHeight="0"
maxHFRMode="0" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8000" maxBitRate="96000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="6" />
<AudioEncoderCap name="heaac" enabled="true"
minBitRate="8000" maxBitRate="64000"
minSampleRate="16000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="aaceld" enabled="true"
minBitRate="16000" maxBitRate="192000"
minSampleRate="16000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrwb" enabled="true"
minBitRate="6600" maxBitRate="23850"
minSampleRate="16000" maxSampleRate="16000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrnb" enabled="true"
minBitRate="5525" maxBitRate="12200"
minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" />
<!-- <AudioEncoderCap name="lpcm" enabled="true"
minBitRate="768000" maxBitRate="4608000"
minSampleRate="48000" maxSampleRate="48000"
minChannels="1" maxChannels="6" />-->
<!--
FIXME:
We do not check decoder capabilities at present
At present, we only check whether windows media is visible
for TEST applications. For other applications, we do
not perform any checks at all.
-->
<VideoDecoderCap name="wmv" enabled="true"/>
<AudioDecoderCap name="wma" enabled="true"/>
<!--
The VideoEditor Capability configuration:
- maxInputFrameWidth: maximum video width of imported video clip.
- maxInputFrameHeight: maximum video height of imported video clip.
- maxOutputFrameWidth: maximum video width of exported video clip.
- maxOutputFrameHeight: maximum video height of exported video clip.
- maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
used to limit the amount of memory for prefetched YUV frames.
For this platform, it allows maximum 30MB(3MB per 1080p frame x 10
frames) memory.
-->
<VideoEditorCap maxInputFrameWidth="1920"
maxInputFrameHeight="1080" maxOutputFrameWidth="1920"
maxOutputFrameHeight="1080" maxPrefetchYUVFrames="10"/>
<!--
The VideoEditor Export codec profile and level values
correspond to the values in OMX_Video.h.
E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
and level 4096 means OMX_VIDEO_AVCLevel41.
Please note that the values are in decimal.
These values are for video encoder.
-->
<!--
Codec = h.264, Baseline profile, level 4
-->
<ExportVideoProfile name="h264" profile= "1" level="2048"/>
</MediaSettings>

311
configs/sec_config Normal file
View file

@ -0,0 +1,311 @@
/* IPC Security Config */
/* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
16:4294967295:1000:3004
/* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
56:4294967295:1021:3004
/* Allow SS CTL service to be used by system and net_raw processes */
43:4294967295:1000:3004
/* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
50:4294967295:1001
/* QMI-SLIM service permitted to gps and net_raw */
55:4294967295:1021:3004
/* Allow Sensor services to be used by sensor process */
256:4294967295:3011
257:4294967295:3011
258:4294967295:3011
259:4294967295:3011
260:4294967295:3011
261:4294967295:3011
262:4294967295:3011
263:4294967295:3011
264:4294967295:3011
265:4294967295:3011
266:4294967295:3011
267:4294967295:3011
268:4294967295:3011
269:4294967295:3011
270:4294967295:3011
271:4294967295:3011
272:4294967295:3011
273:4294967295:3011
274:4294967295:3011
275:4294967295:3011
276:4294967295:3011
277:4294967295:3011
278:4294967295:3011
279:4294967295:3011
280:4294967295:3011
281:4294967295:3011
282:4294967295:3011
283:4294967295:3011
284:4294967295:3011
285:4294967295:3011
286:4294967295:3011
287:4294967295:3011
288:4294967295:3011
289:4294967295:3011
290:4294967295:3011
291:4294967295:3011
292:4294967295:3011
293:4294967295:3011
294:4294967295:3011
295:4294967295:3011
296:4294967295:3011
297:4294967295:3011
298:4294967295:3011
299:4294967295:3011
300:4294967295:3011
301:4294967295:3011
302:4294967295:3011
303:4294967295:3011
304:4294967295:3011
305:4294967295:3011
306:4294967295:3011
307:4294967295:3011
308:4294967295:3011
309:4294967295:3011
310:4294967295:3011
311:4294967295:3011
312:4294967295:3011
313:4294967295:3011
314:4294967295:3011
315:4294967295:3011
316:4294967295:3011
317:4294967295:3011
318:4294967295:3011
319:4294967295:3011
320:4294967295:3011
321:4294967295:3011
322:4294967295:3011
323:4294967295:3011
324:4294967295:3011
325:4294967295:3011
326:4294967295:3011
327:4294967295:3011
328:4294967295:3011
329:4294967295:3011
330:4294967295:3011
331:4294967295:3011
332:4294967295:3011
333:4294967295:3011
334:4294967295:3011
335:4294967295:3011
336:4294967295:3011
337:4294967295:3011
338:4294967295:3011
339:4294967295:3011
340:4294967295:3011
341:4294967295:3011
342:4294967295:3011
343:4294967295:3011
344:4294967295:3011
345:4294967295:3011
346:4294967295:3011
347:4294967295:3011
348:4294967295:3011
349:4294967295:3011
350:4294967295:3011
351:4294967295:3011
352:4294967295:3011
353:4294967295:3011
354:4294967295:3011
355:4294967295:3011
356:4294967295:3011
357:4294967295:3011
358:4294967295:3011
359:4294967295:3011
360:4294967295:3011
361:4294967295:3011
362:4294967295:3011
363:4294967295:3011
364:4294967295:3011
365:4294967295:3011
366:4294967295:3011
367:4294967295:3011
368:4294967295:3011
369:4294967295:3011
370:4294967295:3011
371:4294967295:3011
372:4294967295:3011
373:4294967295:3011
374:4294967295:3011
375:4294967295:3011
376:4294967295:3011
377:4294967295:3011
378:4294967295:3011
379:4294967295:3011
380:4294967295:3011
381:4294967295:3011
382:4294967295:3011
383:4294967295:3011
384:4294967295:3011
385:4294967295:3011
386:4294967295:3011
387:4294967295:3011
388:4294967295:3011
389:4294967295:3011
390:4294967295:3011
391:4294967295:3011
392:4294967295:3011
393:4294967295:3011
394:4294967295:3011
395:4294967295:3011
396:4294967295:3011
397:4294967295:3011
398:4294967295:3011
399:4294967295:3011
400:4294967295:3011
401:4294967295:3011
402:4294967295:3011
403:4294967295:3011
404:4294967295:3011
405:4294967295:3011
406:4294967295:3011
407:4294967295:3011
408:4294967295:3011
409:4294967295:3011
410:4294967295:3011
411:4294967295:3011
412:4294967295:3011
413:4294967295:3011
414:4294967295:3011
415:4294967295:3011
416:4294967295:3011
417:4294967295:3011
418:4294967295:3011
419:4294967295:3011
420:4294967295:3011
421:4294967295:3011
422:4294967295:3011
423:4294967295:3011
424:4294967295:3011
425:4294967295:3011
426:4294967295:3011
427:4294967295:3011
428:4294967295:3011
429:4294967295:3011
430:4294967295:3011
431:4294967295:3011
432:4294967295:3011
433:4294967295:3011
434:4294967295:3011
435:4294967295:3011
436:4294967295:3011
437:4294967295:3011
438:4294967295:3011
439:4294967295:3011
440:4294967295:3011
441:4294967295:3011
442:4294967295:3011
443:4294967295:3011
444:4294967295:3011
445:4294967295:3011
446:4294967295:3011
447:4294967295:3011
448:4294967295:3011
449:4294967295:3011
450:4294967295:3011
451:4294967295:3011
452:4294967295:3011
453:4294967295:3011
454:4294967295:3011
455:4294967295:3011
456:4294967295:3011
457:4294967295:3011
458:4294967295:3011
459:4294967295:3011
460:4294967295:3011
461:4294967295:3011
462:4294967295:3011
463:4294967295:3011
464:4294967295:3011
465:4294967295:3011
466:4294967295:3011
467:4294967295:3011
468:4294967295:3011
469:4294967295:3011
470:4294967295:3011
471:4294967295:3011
472:4294967295:3011
473:4294967295:3011
474:4294967295:3011
475:4294967295:3011
476:4294967295:3011
477:4294967295:3011
478:4294967295:3011
479:4294967295:3011
480:4294967295:3011
481:4294967295:3011
482:4294967295:3011
483:4294967295:3011
484:4294967295:3011
485:4294967295:3011
486:4294967295:3011
487:4294967295:3011
488:4294967295:3011
489:4294967295:3011
490:4294967295:3011
491:4294967295:3011
492:4294967295:3011
493:4294967295:3011
494:4294967295:3011
495:4294967295:3011
496:4294967295:3011
497:4294967295:3011
498:4294967295:3011
499:4294967295:3011
500:4294967295:3011
501:4294967295:3011
502:4294967295:3011
503:4294967295:3011
504:4294967295:3011
505:4294967295:3011
506:4294967295:3011
507:4294967295:3011
508:4294967295:3011
509:4294967295:3011
510:4294967295:3011
511:4294967295:3011
/* Allow RCS service to aquire net_raw permission */
18:4294967295:1001:3004
/* Allow QMID service to aquire net_raw permission */
3:4294967295:1001:3004
2:4294967295:1001:3004
42:4294967295:1001:3004
18:4294967295:1001:3004
9:4294967295:1001:3004
1:4294967295:1001:3004:1000
4:4294967295:1001:3004
7:4294967295:1001:3004
8:4294967295:1001:3004:1000
68:4294967295:1001:3004
/* DPM */
47:4294967295:1001:3004
/* Allow communication to some QMI services with radio privilages */
/* Format is <Service id>:<all instances>:<radio> */
/* PBM */
12:4294967295:1001
/* WMS */
5:4294967295:1001
/* IMS VT */
32:4294967295:1001
/* IMSP */
31:4294967295:1001
/* PDC */
36:4294967295:1001
/* SAR */
17:4294967295:1001
/* RFRPE */
41:4294967295:1001
/*UIM*/
11:4294967295:1001
/*CAT*/
10:4294967295:1001
/*IMSA*/
33:4294967295:1001
/* CSVT */
29:4294967295:1001
/* Allow Data dpmd to access QMI DFS */
48:4294967295:1000:3004
/* DIAG */
4097:4294967295:3009

View file

@ -0,0 +1 @@
sensors.ssc.so

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,8 @@
# Media
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml
$(DEVICE_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml \
$(DEVICE_PATH)/configs/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \
$(DEVICE_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml
PRODUCT_COPY_FILES += \
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \

View file

@ -1,6 +1,30 @@
# Audio
# Audio configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml
$(DEVICE_PATH)/audio/aanc_tuning_mixer.txt:system/etc/aanc_tuning_mixer.txt \
$(DEVICE_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \
$(DEVICE_PATH)/audio/audio_output_policy.conf:system/vendor/etc/audio_output_policy.conf \
$(DEVICE_PATH)/audio/audio_platform_info_extcodec.xml:system/etc/audio_platform_info_extcodec.xml \
$(DEVICE_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml \
$(DEVICE_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
$(DEVICE_PATH)/audio/mixer_paths_mtp.xml:system/etc/mixer_paths_mtp.xml \
$(DEVICE_PATH)/audio/mixer_paths_qrd_sku1.xml:system/etc/mixer_paths_qrd_sku1.xml \
$(DEVICE_PATH)/audio/mixer_paths_qrd_sku2.xml:system/etc/mixer_paths_qrd_sku2.xml \
$(DEVICE_PATH)/audio/mixer_paths_qrd_skuhf.xml:system/etc/mixer_paths_qrd_skuhf.xml \
$(DEVICE_PATH)/audio/mixer_paths_qrd_skuh.xml:system/etc/mixer_paths_qrd_skuh.xml \
$(DEVICE_PATH)/audio/mixer_paths_qrd_skui.xml:system/etc/mixer_paths_qrd_skui.xml \
$(DEVICE_PATH)/audio/mixer_paths_qrd_skum.xml:system/etc/mixer_paths_qrd_skum.xml \
$(DEVICE_PATH)/audio/mixer_paths_qrd_skun.xml:system/etc/mixer_paths_qrd_skun.xml \
$(DEVICE_PATH)/audio/mixer_paths_skuk.xml:system/etc/mixer_paths_skuk.xml \
$(DEVICE_PATH)/audio/mixer_paths_wcd9306.xml:system/etc/mixer_paths_wcd9306.xml \
$(DEVICE_PATH)/audio/mixer_paths_wcd9326.xml:system/etc/mixer_paths_wcd9326.xml \
$(DEVICE_PATH)/audio/mixer_paths_wcd9330.xml:system/etc/mixer_paths_wcd9330.xml \
$(DEVICE_PATH)/audio/mixer_paths_wcd9335.xml:system/etc/mixer_paths_wcd9335.xml \
$(DEVICE_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml \
$(DEVICE_PATH)/audio/sound_trigger_mixer_paths_wcd9306.xml:system/etc/sound_trigger_mixer_paths_wcd9306.xml \
$(DEVICE_PATH)/audio/sound_trigger_mixer_paths_wcd9330.xml:system/etc/sound_trigger_mixer_paths_wcd9330.xml \
$(DEVICE_PATH)/audio/sound_trigger_mixer_paths_wcd9335.xml:system/etc/sound_trigger_mixer_paths_wcd9335.xml \
$(DEVICE_PATH)/audio/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \
$(DEVICE_PATH)/audio/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml
PRODUCT_PACKAGES += \
audiod \

View file

@ -1,9 +1,22 @@
# IRSC
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/sec_config:system/etc/sec_config
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
# QMI
PRODUCT_PACKAGES += \
dsi_config.xml \
netmgr_config.xml \
qmi_config.xml
PRODUCT_PACKAGES += \
libjson
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
DEVICE_PROVISIONED=1 \

View file

@ -1,3 +1,3 @@
# Thermal
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf
$(DEVICE_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf

View file

@ -12,3 +12,7 @@ PRODUCT_COPY_FILES += \
# Sensors
PRODUCT_PACKAGES += \
sensors.msm8937
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/configs/sensors/hals.conf:system/etc/sensors/hals.conf \
$(DEVICE_PATH)/configs/sensors/sensor_def_qcomdev.conf:system/etc/sensors/sensor_def_qcomdev.conf