Created
December 23, 2016 03:17
-
-
Save Albinoman887/ddc47e4d8d9b3e32724c48767414fe8d to your computer and use it in GitHub Desktop.
sound diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/audio/audio_output_policy.conf b/audio/audio_output_policy.conf | |
index 0563503..93cd0c2 100644 | |
--- a/audio/audio_output_policy.conf | |
+++ b/audio/audio_output_policy.conf | |
@@ -46,18 +46,11 @@ outputs { | |
bit_width 24 | |
app_type 69940 | |
} | |
- compress_passthrough_16 { | |
+ compress_passthrough { | |
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH | |
formats AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_E_AC3_JOC|AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD | |
sampling_rates 32000|44100|48000|88200|96000|176400|192000 | |
- bit_width 16 | |
- app_type 69941 | |
- } | |
- compress_passthrough_24 { | |
- flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH | |
- formats AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_E_AC3_JOC|AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD | |
- sampling_rates 32000|44100|48000|88200|96000|176400|192000 | |
- bit_width 24 | |
+ bit_width 16|24 | |
app_type 69941 | |
} | |
compress_offload_16 { | |
diff --git a/audio/audio_platform_info.xml b/audio/audio_platform_info.xml | |
index ca3a3a4..1bcd21f 100644 | |
--- a/audio/audio_platform_info.xml | |
+++ b/audio/audio_platform_info.xml | |
@@ -26,9 +26,13 @@ | |
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> | |
<audio_platform_info> | |
<acdb_ids> | |
+ <device name="SND_DEVICE_IN_UNPROCESSED_HEADSET_MIC" acdb_id="63"/> | |
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="14"/> | |
<device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="101"/> | |
- <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED_VBAT" acdb_id="101"/> | |
+ <device name="SND_DEVICE_IN_UNPROCESSED_MIC" acdb_id="143"/> | |
+ <device name="SND_DEVICE_IN_UNPROCESSED_STEREO_MIC" acdb_id="144"/> | |
+ <device name="SND_DEVICE_IN_UNPROCESSED_THREE_MIC" acdb_id="145"/> | |
+ <device name="SND_DEVICE_IN_UNPROCESSED_QUAD_MIC" acdb_id="146"/> | |
</acdb_ids> | |
<bit_width_configs> | |
<device name="SND_DEVICE_OUT_SPEAKER" bit_width="24"/> | |
@@ -48,9 +52,22 @@ | |
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones"/> | |
<device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones"/> | |
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" backend="headphones"/> | |
- <device name="SND_DEVICE_OUT_VOICE_LINE" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_VOIP_HEADPHONES" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_VOIP_HEADPHONES_ADVANCED" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_VOIP_HEADPHONES_AUX" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_LOOPBACK_HEADPHONES" backend="headphones"/> | |
<device name="SND_DEVICE_OUT_VOICE_LINE" backend="headphones"/> | |
<device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES" backend="headphones"/> | |
<device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_HEADPHONES_ADVANCED_44_1" backend="headphones-44.1"/> | |
+ <device name="SND_DEVICE_LGE_OUT_HEADPHONES_AUX_44_1" backend="headphones-44.1"/> | |
+ <device name="SND_DEVICE_LGE_OUT_HEADPHONES_ADVANCED" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_HEADPHONES_AUX" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_VOICE_HEADPHONES_ADVANCED" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_VOICE_HEADPHONES_AUX" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_HEADPHONE_24BIT" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_HEADPHONE_24BIT_ADVANCED" backend="headphones"/> | |
+ <device name="SND_DEVICE_LGE_OUT_HEADPHONE_24BIT_AUX" backend="headphones"/> | |
</backend_names> | |
</audio_platform_info> | |
+ | |
diff --git a/audio/audio_policy.conf b/audio/audio_policy.conf | |
index 641ec55..8dafcf7 100644 | |
--- a/audio/audio_policy.conf | |
+++ b/audio/audio_policy.conf | |
@@ -6,6 +6,10 @@ 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_VOICE_CALL|AUDIO_DEVICE_IN_TELEPHONY_RX|AUDIO_DEVICE_IN_FM_TUNER | |
+ 8V_BOOST_AMP_ENABLED true | |
+ drc_spk_attn_curve_system -53.0|-42.5|-21.5|0 | |
+ drc_spk_attn_curve_combo -29.7|-20.1|-10.2|0 | |
+ drc_spk_attn_curve_media -53.0|-42.5|-21.5|0 | |
} | |
# audio hardware module section: contains descriptors for all audio hw modules present on the | |
@@ -19,6 +23,15 @@ global_configuration { | |
# 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". | |
+# LGE CHANGE (PLEASE CHECK WHENEVER MIGRATION) | |
+# http://mlm.lge.com/di/browse/HONE-3510 | |
+# 1. compress_offload { channel_masks - remove AUDIO_CHANNEL_OUT_MONO } | |
+# 2. compress_offload { formats - add AUDIO_FORMAT_AAC } | |
+# 3. compress_offload { formats - remove AUDIO_FORMAT_VORBIS } | |
+# 4. compress_offload { sampling_rates - add 12000|24000 } | |
+# 5. inputs - primary { channel_masks - add AUDIO_CHANNEL_IN_QUAD } | |
+ | |
+ | |
audio_hw_modules { | |
primary { | |
outputs { | |
@@ -26,30 +39,23 @@ audio_hw_modules { | |
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 | |
+ devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM | |
flags AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_PRIMARY | |
} | |
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 | |
+ devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL | |
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|AUDIO_DEVICE_OUT_FM | |
+ devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM | |
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER | |
} | |
- compress_passthrough { | |
- sampling_rates dynamic | |
- channel_masks dynamic | |
- formats dynamic | |
- devices AUDIO_DEVICE_OUT_AUX_DIGITAL | |
- flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING | |
- } | |
multichannel { | |
sampling_rates 8000|11025|16000|22050|32000|44100|48000|64000|88200|96000|128000|176400|192000 | |
channel_masks dynamic | |
@@ -58,24 +64,24 @@ audio_hw_modules { | |
flags AUDIO_OUTPUT_FLAG_DIRECT | |
} | |
direct_pcm { | |
- sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000|64000|88200|96000|176400|192000 | |
+ sampling_rates 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|AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_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 | |
+ 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_ALL_SCO | |
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_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 | |
+ channel_masks 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_PCM_16_BIT_OFFLOAD|AUDIO_FORMAT_PCM_24_BIT_OFFLOAD|AUDIO_FORMAT_FLAC|AUDIO_FORMAT_ALAC|AUDIO_FORMAT_APE|AUDIO_FORMAT_AAC|AUDIO_FORMAT_AAC_LC|AUDIO_FORMAT_AAC_HE_V1|AUDIO_FORMAT_AAC_HE_V2|AUDIO_FORMAT_WMA|AUDIO_FORMAT_WMA_PRO|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_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 | |
+ sampling_rates 8000|16000|44100|48000 | |
+ channel_masks AUDIO_CHANNEL_OUT_MONO|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 | |
+ devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO | |
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_INCALL_MUSIC | |
} | |
voice_tx { | |
@@ -88,28 +94,23 @@ audio_hw_modules { | |
sampling_rates 8000|16000 | |
channel_masks AUDIO_CHANNEL_OUT_MONO | |
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_AMR_WB|AUDIO_FORMAT_QCELP|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_EVRCB|AUDIO_FORMAT_EVRCWB|AUDIO_FORMAT_EVRCNW | |
- 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 | |
+ devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO | |
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_VOIP_RX | |
} | |
+ dual_audio { | |
+ sampling_rates 8000|11025|16000|22050|24000|32000|44100|48000 | |
+ channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_2POINT1|AUDIO_CHANNEL_OUT_5POINT1|AUDIO_CHANNEL_OUT_7POINT1 | |
+ formats AUDIO_FORMAT_PCM_16_BIT | |
+ devices AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY | |
+ flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DSDP_DUAL_AUDIO | |
+ } | |
} | |
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|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_AMR_WB|AUDIO_FORMAT_QCELP|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_EVRCB|AUDIO_FORMAT_EVRCWB|AUDIO_FORMAT_EVRCNW | |
- 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_5POINT1|AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK|AUDIO_CHANNEL_INDEX_MASK_3|AUDIO_CHANNEL_INDEX_MASK_4 | |
- formats AUDIO_FORMAT_PCM_16_BIT | |
- devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC | |
- } | |
- record_24 { | |
- sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000|96000|192000 | |
- channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK|AUDIO_CHANNEL_INDEX_MASK_3|AUDIO_CHANNEL_INDEX_MASK_4 | |
- formats AUDIO_FORMAT_PCM_24_BIT_PACKED|AUDIO_FORMAT_PCM_8_24_BIT|AUDIO_FORMAT_PCM_FLOAT | |
- devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET | |
+ sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000|88200|96000|176400|192000 | |
+ channel_masks AUDIO_CHANNEL_IN_5POINT1|AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_FRONT_BACK|AUDIO_CHANNEL_IN_QUAD | |
+ formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_AMR_WB|AUDIO_FORMAT_QCELP|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_EVRCB|AUDIO_FORMAT_EVRCWB|AUDIO_FORMAT_EVRCNW | |
+ devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_FM_TUNER | |
} | |
voice_rx { | |
sampling_rates 8000|16000|48000 | |
@@ -151,6 +152,13 @@ audio_hw_modules { | |
formats dynamic | |
devices AUDIO_DEVICE_OUT_USB_DEVICE | |
} | |
+ usb_device_direct { | |
+ sampling_rates dynamic | |
+ channel_masks dynamic | |
+ formats dynamic | |
+ devices AUDIO_DEVICE_OUT_USB_DEVICE | |
+ flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_DIRECT_STREAM_DIGITAL | |
+ } | |
} | |
inputs { | |
usb_device { | |
@@ -168,6 +176,7 @@ audio_hw_modules { | |
channel_masks AUDIO_CHANNEL_OUT_STEREO | |
formats AUDIO_FORMAT_PCM_16_BIT | |
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX | |
+ flags AUDIO_OUTPUT_FLAG_DSDP_DUAL_AUDIO | |
} | |
} | |
inputs { | |
diff --git a/audio/mixer_paths_tasha.xml b/audio/mixer_paths_tasha.xml | |
index 38690d8..7b5cec2 100644 | |
--- a/audio/mixer_paths_tasha.xml | |
+++ b/audio/mixer_paths_tasha.xml | |
@@ -108,7 +108,7 @@ | |
<ctl name="SLIMBUS_4_RX Audio Mixer MultiMedia2" value="0" /> | |
<ctl name="MultiMedia5 Mixer SLIM_0_TX" value="0" /> | |
<ctl name="MultiMedia5 Mixer AFE_PCM_TX" value="0" /> | |
- <ctl name="MultiMedia5 Mixer QUAT_MI2S_TX" value="0" /> | |
+ <ctl name="MultiMedia5 Mixer TERT_MI2S_TX" value="0" /> | |
<ctl name="MultiMedia5 Mixer AUX_PCM_UL_TX" value="0" /> | |
<ctl name="MultiMedia4 Mixer MI2S_TX" value="0" /> | |
<ctl name="MultiMedia1 Mixer MI2S_TX" value="0" /> | |
@@ -123,6 +123,7 @@ | |
<ctl name="MultiMedia1 Mixer SLIM_0_TX" value="0" /> | |
<ctl name="MultiMedia1 Mixer SLIM_4_TX" value="0" /> | |
<ctl name="MultiMedia1 Mixer AUX_PCM_UL_TX" value="0" /> | |
+ <ctl name="MultiMedia3 Mixer SLIM_0_TX" value="0" /> | |
<ctl name="HDMI Mixer MultiMedia1" value="0" /> | |
<ctl name="HDMI Mixer MultiMedia2" value="0" /> | |
<ctl name="HDMI Mixer MultiMedia3" value="0" /> | |
@@ -356,11 +357,11 @@ | |
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia5" value="0" /> | |
<!-- usb headset end --> | |
<!-- fm --> | |
- <ctl name="Quat MI2S LOOPBACK Volume" value="1" /> | |
- <ctl name="SLIMBUS_0_RX Port Mixer QUAT_MI2S_TX" value="0" /> | |
+ <ctl name="Tert MI2S LOOPBACK Volume" value="1" /> | |
+ <ctl name="SLIMBUS_0_RX Port Mixer TERT_MI2S_TX" value="0" /> | |
<ctl name="SLIMBUS_DL_HL Switch" value="0" /> | |
- <ctl name="MultiMedia1 Mixer QUAT_MI2S_TX" value="0" /> | |
- <ctl name="MultiMedia2 Mixer QUAT_MI2S_TX" value="0" /> | |
+ <ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="0" /> | |
+ <ctl name="MultiMedia2 Mixer TERT_MI2S_TX" value="0" /> | |
<!-- fm end --> | |
<!-- Voice --> | |
@@ -566,6 +567,23 @@ | |
<ctl name="SLIMBUS_5_TX LSM Function" value="None" /> | |
<!-- listen end--> | |
+ <!-- surround sound record --> | |
+ <ctl name="Input Num Channel" value="0" /> | |
+ <ctl name="Output Num Channel" value="0" /> | |
+ <ctl name="Out Channel1" id="0" value="0" /> | |
+ <ctl name="Out Channel1" id="1" value="0" /> | |
+ <ctl name="Out Channel1" id="2" value="0" /> | |
+ <ctl name="Out Channel2" id="0" value="0" /> | |
+ <ctl name="Out Channel2" id="1" value="0" /> | |
+ <ctl name="Out Channel2" id="2" value="0" /> | |
+ <ctl name="Out Channel3" id="0" value="0" /> | |
+ <ctl name="Out Channel3" id="1" value="0" /> | |
+ <ctl name="Out Channel3" id="2" value="0" /> | |
+ <ctl name="Out Channel4" id="0" value="0" /> | |
+ <ctl name="Out Channel4" id="1" value="0" /> | |
+ <ctl name="Out Channel4" id="2" value="0" /> | |
+ <!-- surround sound record end --> | |
+ | |
<!-- ADSP testfwk --> | |
<ctl name="SLIMBUS_DL_HL Switch" value="0" /> | |
<ctl name="SLIMBUS6_DL_HL Switch" value="0" /> | |
@@ -573,6 +591,48 @@ | |
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia3" value="0" /> | |
+ <!-- SEC MI2S HEADPHONE --> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia1" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia2" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia3" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia4" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia5" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia7" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia10" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia11" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia12" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia13" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia14" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia15" value="0" /> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia16" value="0" /> | |
+ <!-- SEC MI2S HEADPHONE --> | |
+ | |
+ <!-- TERT MI2S A2DP OFFLOAD --> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia1" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia2" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia3" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia4" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia5" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia7" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia10" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia11" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia12" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia13" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia14" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia15" value="0" /> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia16" value="0" /> | |
+ <!-- TERT MI2S A2DP OFFLOAD --> | |
+ | |
+ <!-- SEC TDM HEADPHONE --> | |
+ <ctl name="SEC_TDM_RX_0 Audio Mixer MultiMedia1" value="0" /> | |
+ <ctl name="SEC_TDM_RX_0 Data Format" value="0" /> | |
+ | |
+ <!-- initial gian of headphones-hifi-dac --> | |
+ <ctl name="Es9018 Master Volume" value="0" /> | |
+ <ctl name="Es9018 AVC Volume" value="0" /> | |
+ <ctl name="Es9018 HEADSET TYPE" value="0" /> | |
+ <ctl name="Es9218 Bypass" value="0" /> | |
+ | |
<!-- These are audio route (FE to BE) specific mixer settings --> | |
<path name="gsm-mode"> | |
<ctl name="GSM mode Enable" value="ON" /> | |
@@ -1206,6 +1266,21 @@ | |
<ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" /> | |
</path> | |
+ <path name="audio-record-3mic-ssr"> | |
+ <ctl name="Input Num Channel" value="3" /> | |
+ <ctl name="Output Num Channel" value="4" /> | |
+ <ctl name="Out Channel1" id="0" value="16384" /> | |
+ <ctl name="Out Channel1" id="1" value="0" /> | |
+ <ctl name="Out Channel1" id="2" value="0" /> | |
+ <ctl name="Out Channel2" id="0" value="0" /> | |
+ <ctl name="Out Channel2" id="1" value="16384" /> | |
+ <ctl name="Out Channel2" id="2" value="0" /> | |
+ <ctl name="Out Channel3" id="0" value="0" /> | |
+ <ctl name="Out Channel3" id="1" value="0" /> | |
+ <ctl name="Out Channel3" id="2" value="16384" /> | |
+ <ctl name="MultiMedia3 Mixer SLIM_0_TX" value="1" /> | |
+ </path> | |
+ | |
<path name="audio-record usb-headset-mic"> | |
<ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="1" /> | |
</path> | |
@@ -1221,7 +1296,7 @@ | |
</path> | |
<path name="audio-record capture-fm"> | |
- <ctl name="MultiMedia1 Mixer QUAT_MI2S_TX" value="1" /> | |
+ <ctl name="MultiMedia1 Mixer TERT_MI2S_TX" value="1" /> | |
</path> | |
<path name="audio-record-compress"> | |
@@ -1260,11 +1335,11 @@ | |
</path> | |
<path name="low-latency-record capture-fm"> | |
- <ctl name="MultiMedia5 Mixer QUAT_MI2S_TX" value="1" /> | |
+ <ctl name="MultiMedia5 Mixer TERT_MI2S_TX" value="1" /> | |
</path> | |
<path name="fm-virtual-record capture-fm"> | |
- <ctl name="MultiMedia2 Mixer QUAT_MI2S_TX" value="1" /> | |
+ <ctl name="MultiMedia2 Mixer TERT_MI2S_TX" value="1" /> | |
</path> | |
<path name="voice-call"> | |
@@ -1348,14 +1423,14 @@ | |
</path> | |
<path name="play-fm"> | |
- <ctl name="Quat MI2S LOOPBACK Volume" value="0" /> | |
- <ctl name="SLIMBUS_0_RX Port Mixer QUAT_MI2S_TX" value="1" /> | |
+ <ctl name="Tert MI2S LOOPBACK Volume" value="0" /> | |
+ <ctl name="SLIMBUS_0_RX Port Mixer TERT_MI2S_TX" value="1" /> | |
<ctl name="SLIMBUS_DL_HL Switch" value="1" /> | |
</path> | |
<path name="play-fm headphones"> | |
- <ctl name="Quat MI2S LOOPBACK Volume" value="0" /> | |
- <ctl name="SLIMBUS_6_RX Port Mixer QUAT_MI2S_TX" value="1" /> | |
+ <ctl name="Tert MI2S LOOPBACK Volume" value="0" /> | |
+ <ctl name="SLIMBUS_6_RX Port Mixer TERT_MI2S_TX" value="1" /> | |
<ctl name="SLIMBUS6_DL_HL Switch" value="1" /> | |
</path> | |
@@ -1745,6 +1820,120 @@ | |
<ctl name="SLIM0_RX_VI_FB_LCH_MUX" value="SLIM4_TX" /> | |
</path> | |
+ <!-- TERT MI2S A2DP OFFLOAD start --> | |
+ | |
+ <path name="audio-ull-playback tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia3" value="1" /> | |
+ </path> | |
+ | |
+ <path name="deep-buffer-playback tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia1" value="1" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia5" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia4" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback2 tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia7" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback3 tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia10" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback4 tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia11" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback5 tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia12" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback6 tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia13" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback7 tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia14" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback8 tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia15" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback9 tert-mi2s-a2dp"> | |
+ <ctl name="TERT_MI2S_RX Audio Mixer MultiMedia16" value="1" /> | |
+ </path> | |
+ <!-- TERT MI2S A2DP OFFLOAD end --> | |
+ | |
+ <!-- TERT MI2S A2DP OFFLOAD AND SPEAKER COMBO start --> | |
+ | |
+ <path name="audio-ull-playback tert-mi2s-a2dp-and-speaker"> | |
+ <path name="audio-ull-playback tert-mi2s-a2dp" /> | |
+ <path name="audio-ull-playback" /> | |
+ </path> | |
+ | |
+ <path name="deep-buffer-playback tert-mi2s-a2dp-and-speaker"> | |
+ <path name="deep-buffer-playback tert-mi2s-a2dp" /> | |
+ <path name="deep-buffer-playback" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback tert-mi2s-a2dp-and-speaker"> | |
+ <path name="low-latency-playback tert-mi2s-a2dp" /> | |
+ <path name="low-latency-playback" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback2 tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback2 tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback2" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback3 tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback3 tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback3" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback4 tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback4 tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback4" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback5 tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback5 tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback5" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback6 tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback6 tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback6" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback7 tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback7 tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback7" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback8 tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback8 tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback8" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback9 tert-mi2s-a2dp-and-speaker"> | |
+ <path name="compress-offload-playback9 tert-mi2s-a2dp" /> | |
+ <path name="compress-offload-playback9" /> | |
+ </path> | |
+ <!-- TERT MI2S A2DP OFFLOAD AND SPEAKER COMBO end --> | |
+ | |
<!-- These are actual sound device specific mixer settings --> | |
<path name="adc1"> | |
<ctl name="AIF1_CAP Mixer SLIM TX6" value="1"/> | |
@@ -1848,6 +2037,7 @@ | |
</path> | |
<path name="speaker-mono"> | |
+ <ctl name="SLIM_0_RX Format" value="S24_LE" /> | |
<ctl name="SLIM RX0 MUX" value="AIF_MIX1_PB" /> | |
<ctl name="SLIM_0_RX Channels" value="One" /> | |
<ctl name="RX INT7_1 MIX1 INP0" value="RX0" /> | |
@@ -1859,6 +2049,7 @@ | |
<path name="speaker"> | |
<path name="speaker-mono" /> | |
+ <ctl name="SLIM_0_RX Format" value="S24_LE" /> | |
<ctl name="RX7 Digital Volume" value="84" /> | |
</path> | |
@@ -1961,19 +2152,22 @@ | |
</path> | |
<path name="three-mic"> | |
- <ctl name="AIF1_CAP Mixer SLIM TX5" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX5" value="1"/> | |
<ctl name="AIF1_CAP Mixer SLIM TX6" value="1" /> | |
- <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1"/> | |
<ctl name="SLIM_0_TX Channels" value="Three" /> | |
<ctl name="SLIM TX5 MUX" value="DEC5" /> | |
<ctl name="ADC MUX5" value="DMIC" /> | |
- <ctl name="DMIC MUX5" value="DMIC0" /> | |
+ <ctl name="DMIC MUX5" value="DMIC2" /> | |
<ctl name="SLIM TX6 MUX" value="DEC6" /> | |
<ctl name="ADC MUX6" value="DMIC" /> | |
- <ctl name="DMIC MUX6" value="DMIC2" /> | |
- <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
- <ctl name="ADC MUX8" value="DMIC" /> | |
- <ctl name="DMIC MUX8" value="DMIC3" /> | |
+ <ctl name="DMIC MUX6" value="DMIC0" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC4" /> | |
+ <ctl name="DEC5 Volume" value="84" /> | |
+ <ctl name="DEC6 Volume" value="84" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
</path> | |
<path name="anc-handset"> | |
@@ -1991,6 +2185,7 @@ | |
</path> | |
<path name="headphones"> | |
+ <ctl name="Es9218 Bypass" value="1" /> | |
<ctl name="RX HPH Mode" value="CLS_H_LP" /> | |
<ctl name="SLIM RX2 MUX" value="AIF4_PB" /> | |
<ctl name="SLIM RX3 MUX" value="AIF4_PB" /> | |
@@ -1999,13 +2194,14 @@ | |
<ctl name="RX INT2_2 MUX" value="RX3" /> | |
<ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" /> | |
<ctl name="RX INT2 DEM MUX" value="CLSH_DSM_OUT" /> | |
- <ctl name="RX1 Mix Digital Volume" value="74" /> | |
- <ctl name="RX2 Mix Digital Volume" value="74" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="76" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="76" /> | |
<ctl name="HPHL Volume" value="20" /> | |
<ctl name="HPHR Volume" value="20" /> | |
</path> | |
<path name="headphones-44.1"> | |
+ <ctl name="Es9218 Bypass" value="1" /> | |
<ctl name="RX HPH Mode" value="CLS_H_LP" /> | |
<ctl name="SLIM RX4 MUX" value="AIF3_PB" /> | |
<ctl name="SLIM RX5 MUX" value="AIF3_PB" /> | |
@@ -2019,8 +2215,8 @@ | |
<ctl name="SPL SRC1 MUX" value="SRC_IN_HPHR" /> | |
<ctl name="RX INT1 SPLINE MIX HPHL Switch" value="1" /> | |
<ctl name="RX INT2 SPLINE MIX HPHR Switch" value="1" /> | |
- <ctl name="RX1 Digital Volume" value="74" /> | |
- <ctl name="RX2 Digital Volume" value="74" /> | |
+ <ctl name="RX1 Digital Volume" value="76" /> | |
+ <ctl name="RX2 Digital Volume" value="76" /> | |
<ctl name="HPHL Volume" value="20" /> | |
<ctl name="HPHR Volume" value="20" /> | |
</path> | |
@@ -2113,8 +2309,9 @@ | |
<ctl name="SpkrLeft BOOST Switch" value="1" /> | |
<ctl name="SpkrLeft VISENSE Switch" value="1" /> | |
<ctl name="SpkrLeft SWR DAC_Port Switch" value="1" /> | |
- <ctl name="RX1 Mix Digital Volume" value="69" /> | |
- <ctl name="RX2 Mix Digital Volume" value="69" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="68" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="68" /> | |
+ <ctl name="RX7 Digital Volume" value="84" /> | |
</path> | |
<path name="speaker-and-line"> | |
@@ -2542,7 +2739,7 @@ | |
<path name="voice-tty-full-headset-mic"> | |
<path name="adc2" /> | |
- <ctl name="ADC2 Volume" value="10" /> | |
+ <ctl name="ADC2 Volume" value="20" /> | |
<ctl name="DEC0 Volume" value="84" /> | |
</path> | |
@@ -2561,38 +2758,1100 @@ | |
</path> | |
<path name="unprocessed-handset-mic"> | |
- <path name="dmic1" /> | |
- <ctl name="DEC7 Volume" value="78" /> | |
+ <path name="handset-mic" /> | |
</path> | |
<path name="unprocessed-mic"> | |
<path name="unprocessed-handset-mic" /> | |
+ <ctl name="DEC7 Volume" value="88" /> | |
</path> | |
- <path name="unprocessed-stereo-mic"> | |
- <path name="voice-rec-dmic-ef" /> | |
- <ctl name="DEC7 Volume" value="78" /> | |
- <ctl name="DEC10 Volume" value="79" /> | |
+ <path name="unprocessed-dual-mic"> | |
+ <path name="dmic-endfire" /> | |
+ <ctl name="DEC7 Volume" value="88" /> | |
+ <ctl name="DEC8 Volume" value="91" /> | |
</path> | |
<path name="unprocessed-three-mic"> | |
<path name="three-mic" /> | |
- <ctl name="DEC7 Volume" value="78" /> | |
- <ctl name="DEC10 Volume" value="79" /> | |
- <ctl name="DEC5 Volume" value="77" /> | |
+ <ctl name="DEC5 Volume" value="91" /> | |
+ <ctl name="DEC6 Volume" value="88" /> | |
+ <ctl name="DEC7 Volume" value="91" /> | |
+ </path> | |
+ | |
+ <!-- Added for ADSP testfwk --> | |
+ <path name="ADSP testfwk"> | |
+ <ctl name="SLIMBUS_DL_HL Switch" value="1" /> | |
</path> | |
- <path name="unprocessed-quad-mic"> | |
- <path name="quad-mic" /> | |
+ <path name="afe-proxy-playback afe-proxy"> | |
</path> | |
- <path name="unprocessed-headset-mic"> | |
- <path name="headset-mic" /> | |
+ <path name="afe-proxy-record afe-proxy"> | |
</path> | |
- <!-- Added for ADSP testfwk --> | |
- <path name="ADSP testfwk"> | |
- <ctl name="SLIMBUS_DL_HL Switch" value="1" /> | |
+ <path name="voice-rx"> | |
+ </path> | |
+ | |
+ <path name="voice-tx"> | |
+ </path> | |
+ | |
+<!-- for bt-sco combo path --> | |
+ <path name="deep-buffer-playback bt-sco-and-speaker"> | |
+ <path name="deep-buffer-playback bt-sco" /> | |
+ <path name="deep-buffer-playback" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback bt-sco-and-speaker"> | |
+ <path name="low-latency-playback bt-sco" /> | |
+ <path name="low-latency-playback" /> | |
+ </path> | |
+ | |
+ <path name="deep-buffer-playback bt-sco-and-headphones"> | |
+ <path name="deep-buffer-playback bt-sco" /> | |
+ <path name="deep-buffer-playback headphones" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback bt-sco-and-headphones"> | |
+ <path name="low-latency-playback bt-sco" /> | |
+ <path name="low-latency-playback headphones" /> | |
+ </path> | |
+ | |
+ <path name="deep-buffer-playback bt-sco-and-headphones-and-speaker"> | |
+ <path name="deep-buffer-playback bt-sco" /> | |
+ <path name="deep-buffer-playback headphones" /> | |
+ <path name="deep-buffer-playback" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback bt-sco-and-headphones-and-speaker"> | |
+ <path name="low-latency-playback bt-sco" /> | |
+ <path name="low-latency-playback headphones" /> | |
+ <path name="low-latency-playback" /> | |
+ </path> | |
+ | |
+ <path name="deep-buffer-playback bt-sco-wb-and-speaker"> | |
+ <path name="deep-buffer-playback bt-sco-wb" /> | |
+ <path name="deep-buffer-playback" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback bt-sco-wb-and-speaker"> | |
+ <path name="low-latency-playback bt-sco-wb" /> | |
+ <path name="low-latency-playback" /> | |
+ </path> | |
+ | |
+ <path name="deep-buffer-playback bt-sco-wb-and-headphones"> | |
+ <path name="deep-buffer-playback bt-sco-wb" /> | |
+ <path name="deep-buffer-playback headphones" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback bt-sco-wb-and-headphones"> | |
+ <path name="low-latency-playback bt-sco-wb" /> | |
+ <path name="low-latency-playback headphones" /> | |
+ </path> | |
+ | |
+ <path name="deep-buffer-playback bt-sco-wb-and-headphones-and-speaker"> | |
+ <path name="deep-buffer-playback bt-sco-wb" /> | |
+ <path name="deep-buffer-playback headphones" /> | |
+ <path name="deep-buffer-playback" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback bt-sco-wb-and-headphones-and-speaker"> | |
+ <path name="low-latency-playback bt-sco-wb" /> | |
+ <path name="low-latency-playback headphones" /> | |
+ <path name="low-latency-playback" /> | |
+ </path> | |
+ | |
+ <path name="voice-call bt-sco-and-speaker"> | |
+ <path name="voice-call bt-sco" /> | |
+ </path> | |
+ | |
+ <path name="voice-call bt-sco-wb-and-speaker"> | |
+ <path name="voice-call bt-sco-wb" /> | |
+ </path> | |
+ | |
+ <path name="volte-call bt-sco-and-speaker"> | |
+ <path name="volte-call bt-sco" /> | |
+ </path> | |
+ | |
+ <path name="volte-call bt-sco-wb-and-speaker"> | |
+ <path name="volte-call bt-sco-wb" /> | |
+ </path> | |
+ | |
+ <path name="voicemmode1-call speaker-and-headphones"> | |
+ <path name="voicemmode1-call" /> | |
+ <path name="speaker-and-headphones" /> | |
+ </path> | |
+ | |
+ <path name="voicemmode1-call bt-sco-and-speaker"> | |
+ <path name="voicemmode1-call bt-sco" /> | |
+ </path> | |
+ | |
+ <path name="voicemmode1-call bt-sco-wb-and-speaker"> | |
+ <path name="voicemmode1-call bt-sco-wb" /> | |
+ </path> | |
+ | |
+ <path name="voicemmode2-call bt-sco-and-speaker"> | |
+ <path name="voicemmode2-call bt-sco" /> | |
+ </path> | |
+ | |
+ <path name="voicemmode2-call bt-sco-wb-and-speaker"> | |
+ <path name="voicemmode2-call bt-sco-wb" /> | |
+ </path> | |
+ | |
+<!-- voip loopback --> | |
+ <path name="voip-loopback"> | |
+ <ctl name="SLIM_0_RX_Voice Mixer Voip" value="1" /> | |
+ <ctl name="Voip_Tx Mixer SLIM_0_TX_Voip" value="1" /> | |
+ </path> | |
+ | |
+ <path name="voip-loopback headphones"> | |
+ <ctl name="SLIM_6_RX_Voice Mixer Voip" value="1" /> | |
+ <ctl name="Voip_Tx Mixer SLIM_0_TX_Voip" value="1" /> | |
+ </path> | |
+ | |
+ <path name="voip-loopback bt-sco"> | |
+ <ctl name="AUX_PCM_RX_Voice Mixer Voip" value="1" /> | |
+ <ctl name="Voip_Tx Mixer AUX_PCM_TX_Voip" value="1" /> | |
+ </path> | |
+ | |
+ <path name="voip-loopback bt-sco-wb"> | |
+ <ctl name="AUX PCM SampleRate" value="16000" /> | |
+ <path name="voip-loopback bt-sco" /> | |
+ </path> | |
+ | |
+<!-- incall music begins --> | |
+ <path name="incall-music"> | |
+ <ctl name="Incall_Music Audio Mixer MultiMedia1" value="1" /> | |
+ </path> | |
+ | |
+ <path name="incall-music bt-sco"> | |
+ <path name="incall-music" /> | |
+ </path> | |
+ | |
+ <path name="incall-music bt-sco-wb"> | |
+ <path name="incall-music" /> | |
+ </path> | |
+ | |
+ <path name="incall-music afe-proxy"> | |
+ <path name="incall-music" /> | |
+ </path> | |
+ | |
+ <path name="incall-music usb-headphones"> | |
+ <path name="incall-music" /> | |
+ </path> | |
+ | |
+ <path name="incall-music hdmi"> | |
+ <path name="incall-music" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink"> | |
+ <ctl name="Incall_Music Audio Mixer MultiMedia2" value="1" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink bt-sco"> | |
+ <path name="incall_music_uplink" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink bt-sco-wb"> | |
+ <path name="incall_music_uplink" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink afe-proxy"> | |
+ <path name="incall_music_uplink" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink usb-headphones"> | |
+ <path name="incall_music_uplink" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink hdmi"> | |
+ <path name="incall_music_uplink" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink2"> | |
+ <ctl name="Incall_Music_2 Audio Mixer MultiMedia9" value="1" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink2 bt-sco"> | |
+ <path name="incall_music_uplink2" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink2 bt-sco-wb"> | |
+ <path name="incall_music_uplink2" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink2 afe-proxy"> | |
+ <path name="incall_music_uplink2" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink2 usb-headphones"> | |
+ <path name="incall_music_uplink2" /> | |
+ </path> | |
+ | |
+ <path name="incall_music_uplink2 hdmi"> | |
+ <path name="incall_music_uplink2" /> | |
+ </path> | |
+ | |
+<!-- voice chat for music share begins --> | |
+ <path name="voice-chat"> | |
+ <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia2" value="1" /> | |
+ </path> | |
+ | |
+<!-- for Dual Audio --> | |
+ <path name="dual-audio afe-proxy"> | |
+ <ctl name="AFE_PCM_RX Audio Mixer MultiMedia2" value="1" /> | |
+ </path> | |
+ | |
+ <path name="dual-audio hdmi"> | |
+ <ctl name="HDMI Mixer MultiMedia2" value="1" /> | |
+ </path> | |
+ | |
+ <path name="dual-audio"> | |
+ </path> | |
+ | |
+ <!-- SEC MI2S HEADPHONE begins --> | |
+ | |
+ <path name="audio-ull-playback tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia3" value="1" /> | |
+ </path> | |
+ | |
+ <path name="deep-buffer-playback tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia1" value="1" /> | |
+ </path> | |
+ | |
+ <path name="low-latency-playback tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia5" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia4" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback2 tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia7" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback3 tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia10" value="1" /> | |
</path> | |
+ <path name="compress-offload-playback4 tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia11" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback5 tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia12" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback6 tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia13" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback7 tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia14" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback8 tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia15" value="1" /> | |
+ </path> | |
+ | |
+ <path name="compress-offload-playback9 tert-mi2s-headphones"> | |
+ <ctl name="SEC_MI2S_RX Audio Mixer MultiMedia16" value="1" /> | |
+ </path> | |
+ <!-- SEC MI2S HEADPHONE ends --> | |
+ | |
+ <path name="dop-playback tert-mi2s-headphones"> | |
+ <ctl name="SEC_TDM_RX_0 Audio Mixer MultiMedia1" value="1" /> | |
+ <ctl name="SEC_TDM_RX_0 Data Format" value="Gen-Compr" /> | |
+ </path> | |
+ | |
+<!-- These are LG actual sound device specific mixer settings --> | |
+<!-- LG RX device --> | |
+ <path name="handset-hac"> | |
+ <path name="handset" /> | |
+ <ctl name="RX INT8_1 MIX1 INP0" value="RX0" /> | |
+ <ctl name="RX8 Digital Volume" value="84" /> | |
+ <ctl name="IIR0 INP0 Volume" value="62" /> | |
+ <ctl name="RX INT0 MIX2 INP" value="SRC0" /> | |
+ </path> | |
+ | |
+ <path name="handset-aat"> | |
+ <path name="handset" /> | |
+ </path> | |
+ | |
+ <path name="headset-aat"> | |
+ <path name="headphones" /> | |
+ </path> | |
+ | |
+ <path name="speaker-aat"> | |
+ <path name="speaker-mono" /> | |
+ </path> | |
+ | |
+ <path name="handset-vc-clean"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="84" /> | |
+ <ctl name="EAR PA Gain" value="POS_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="handset-vc-soft"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="84" /> | |
+ <ctl name="EAR PA Gain" value="POS_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="handset-vc-smooth"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="84" /> | |
+ <ctl name="EAR PA Gain" value="POS_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="handset-vc"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="84" /> | |
+ <ctl name="EAR PA Gain" value="POS_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="handset-clean"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="84" /> | |
+ <ctl name="EAR PA Gain" value="POS_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="handset-soft"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="84" /> | |
+ <ctl name="EAR PA Gain" value="POS_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="handset-smooth"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="84" /> | |
+ <ctl name="EAR PA Gain" value="POS_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="speaker-vc"> | |
+ <path name="voice-speaker-protected" /> | |
+ <ctl name="RX7 Digital Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="fake_speaker"> | |
+ <path name="speaker-mono" /> | |
+ <ctl name="RX7 Digital Volume" value="0" /> | |
+ </path> | |
+ | |
+ <path name="headphones-advanced"> | |
+ <path name="headphones" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="79" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="79" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="headphones-aux"> | |
+ <path name="headphones" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="82" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="82" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="voice-headphones-advanced"> | |
+ <path name="voice-headphones" /> | |
+ <ctl name="COMP1 Switch" value="0" /> | |
+ <ctl name="COMP2 Switch" value="0" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="74" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="74" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="voice-headphones-aux"> | |
+ <path name="voice-headphones" /> | |
+ <ctl name="COMP1 Switch" value="0" /> | |
+ <ctl name="COMP2 Switch" value="0" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="74" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="74" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="headphones-advanced-44.1"> | |
+ <path name="headphones-44.1" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="RX1 Digital Volume" value="79" /> | |
+ <ctl name="RX2 Digital Volume" value="79" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="headphones-aux-44.1"> | |
+ <path name="headphones-44.1" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="RX1 Digital Volume" value="82" /> | |
+ <ctl name="RX2 Digital Volume" value="82" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="headphone-24bit"> | |
+ <ctl name="Es9218 Bypass" value="1" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="SLIM RX2 MUX" value="AIF4_PB" /> | |
+ <ctl name="SLIM RX3 MUX" value="AIF4_PB" /> | |
+ <ctl name="SLIM_6_RX Channels" value="Two" /> | |
+ <ctl name="RX INT1_2 MUX" value="RX2" /> | |
+ <ctl name="RX INT2_2 MUX" value="RX3" /> | |
+ <ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" /> | |
+ <ctl name="RX INT2 DEM MUX" value="CLSH_DSM_OUT" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="76" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="76" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="headphone-24bit-advanced"> | |
+ <path name="headphone-24bit" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="79" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="79" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="headphone-24bit-aux"> | |
+ <path name="headphone-24bit" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="82" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="82" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="headphones-hifi-dac"> | |
+ <ctl name="Es9018 Master Volume" value="0" /> | |
+ <ctl name="Es9018 AVC Volume" value="8" /> | |
+ <ctl name="Es9018 HEADSET TYPE" value="1" /> | |
+ </path> | |
+ | |
+ <path name="headphones-hifi-dac-advanced"> | |
+ <ctl name="Es9018 Master Volume" value="0" /> | |
+ <ctl name="Es9018 AVC Volume" value="1" /> | |
+ <ctl name="Es9018 HEADSET TYPE" value="2" /> | |
+ </path> | |
+ | |
+ <path name="headphones-hifi-dac-aux"> | |
+ <ctl name="Es9018 Master Volume" value="0" /> | |
+ <ctl name="Es9018 AVC Volume" value="7" /> | |
+ <ctl name="Es9018 HEADSET TYPE" value="3" /> | |
+ </path> | |
+ | |
+ <path name="headphones-hifi-dacdop"> | |
+ <ctl name="Es9018 Master Volume" value="0" /> | |
+ <ctl name="Es9018 AVC Volume" value="8" /> | |
+ <ctl name="Es9018 HEADSET TYPE" value="1" /> | |
+ </path> | |
+ | |
+ <path name="headphones-hifi-dacdop-advanced"> | |
+ <ctl name="Es9018 Master Volume" value="0" /> | |
+ <ctl name="Es9018 AVC Volume" value="1" /> | |
+ <ctl name="Es9018 HEADSET TYPE" value="2" /> | |
+ </path> | |
+ | |
+ <path name="headphones-hifi-dacdop-aux"> | |
+ <ctl name="Es9018 Master Volume" value="0" /> | |
+ <ctl name="Es9018 AVC Volume" value="7" /> | |
+ <ctl name="Es9018 HEADSET TYPE" value="3" /> | |
+ </path> | |
+ <path name="bt-sco-and-speaker"> | |
+ <ctl name="SLIM_0_RX SampleRate" value="KHZ_8" /> | |
+ <path name="speaker-protected" /> | |
+ </path> | |
+ | |
+ <path name="bt-sco-wb-and-speaker"> | |
+ <ctl name="SLIM_0_RX SampleRate" value="KHZ_16" /> | |
+ <path name="speaker-protected" /> | |
+ </path> | |
+ | |
+ <path name="bt-sco-and-headphones"> | |
+ <ctl name="SLIM_6_RX SampleRate" value="KHZ_8" /> | |
+ <path name="headphones" /> | |
+ </path> | |
+ | |
+ <path name="bt-sco-wb-and-headphones"> | |
+ <ctl name="SLIM_6_RX SampleRate" value="KHZ_16" /> | |
+ <path name="headphones" /> | |
+ </path> | |
+ | |
+ <path name="bt-sco-and-headphones-and-speaker"> | |
+ <ctl name="SLIM_0_RX SampleRate" value="KHZ_8" /> | |
+ <ctl name="SLIM_6_RX SampleRate" value="KHZ_8" /> | |
+ <path name="speaker-and-headphones" /> | |
+ </path> | |
+ | |
+ <path name="bt-sco-wb-and-headphones-and-speaker"> | |
+ <ctl name="SLIM_0_RX SampleRate" value="KHZ_16" /> | |
+ <ctl name="SLIM_6_RX SampleRate" value="KHZ_16" /> | |
+ <path name="speaker-and-headphones" /> | |
+ </path> | |
+ | |
+ <path name="loopback-earpiece"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="79" /> | |
+ <ctl name="EAR PA Gain" value="G_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="loopback-speaker"> | |
+ <path name="speaker-mono" /> | |
+ <ctl name="RX7 Digital Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="loopback-headphones"> | |
+ <path name="voice-headphones" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="84" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="84" /> | |
+ <ctl name="HPHL Volume" value="20" /> | |
+ <ctl name="HPHR Volume" value="20" /> | |
+ </path> | |
+ | |
+ <path name="loopback-bt"> | |
+ </path> | |
+ | |
+ <path name="voip-earpiece"> | |
+ <path name="handset" /> | |
+ <ctl name="RX0 Digital Volume" value="84" /> | |
+ <ctl name="EAR PA Gain" value="POS_6_DB" /> | |
+ </path> | |
+ | |
+ <path name="voip-speaker"> | |
+ <path name="voice-speaker-protected" /> | |
+ <ctl name="RX7 Digital Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="voip-headphones"> | |
+ <path name="voice-headphones" /> | |
+ <ctl name="COMP1 Switch" value="0" /> | |
+ <ctl name="COMP2 Switch" value="0" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="85" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="85" /> | |
+ <ctl name="HPHL Volume" value="15" /> | |
+ <ctl name="HPHR Volume" value="15" /> | |
+ </path> | |
+ | |
+ <path name="voip-headphones-advanced"> | |
+ <path name="voice-headphones" /> | |
+ <ctl name="COMP1 Switch" value="0" /> | |
+ <ctl name="COMP2 Switch" value="0" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="85" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="85" /> | |
+ <ctl name="HPHL Volume" value="15" /> | |
+ <ctl name="HPHR Volume" value="15" /> | |
+ </path> | |
+ | |
+ <path name="voip-headphones-aux"> | |
+ <path name="voice-headphones" /> | |
+ <ctl name="COMP1 Switch" value="0" /> | |
+ <ctl name="COMP2 Switch" value="0" /> | |
+ <ctl name="RX HPH Mode" value="CLS_H_HIFI" /> | |
+ <ctl name="RX1 Mix Digital Volume" value="85" /> | |
+ <ctl name="RX2 Mix Digital Volume" value="85" /> | |
+ <ctl name="HPHL Volume" value="15" /> | |
+ <ctl name="HPHR Volume" value="15" /> | |
+ </path> | |
+ | |
+<!-- LG TX device --> | |
+ <path name="handset-mic-vr"> | |
+ <path name="handset-mic" /> | |
+ <ctl name="DEC7 Volume" value="91" /> | |
+ </path> | |
+ | |
+ <path name="headset-mic-vr"> | |
+ <path name="headset-mic" /> | |
+ <ctl name="DEC0 Volume" value="86" /> | |
+ <ctl name="ADC2 Volume" value="12" /> | |
+ </path> | |
+ | |
+ <path name="submic-1"> | |
+ <path name="dmic3" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="submic-2"> | |
+ <path name="dmic1" /> | |
+ </path> | |
+ | |
+ <path name="qvoice-mic"> | |
+ <path name="dmic-endfire" /> | |
+ <ctl name="DEC7 Volume" value="93" /> | |
+ <ctl name="DEC8 Volume" value="93" /> | |
+ </path> | |
+ | |
+ <path name="vr-mic"> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC0" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="DEC7 Volume" value="109" /> | |
+ <ctl name="DEC8 Volume" value="109" /> | |
+ </path> | |
+ | |
+<!-- depending on dual mic --> | |
+ <path name="camcorder-0"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC2" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC0" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+<!-- depending on dual mic --> | |
+ <path name="camcorder-90"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC0" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+<!-- depending on dual mic --> | |
+ <path name="camcorder-180"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC0" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+<!-- depending on dual mic --> | |
+ <path name="camcorder-270"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC0" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="headset-camcorder-mic"> | |
+ <path name="adc2" /> | |
+ <ctl name="DEC0 Volume" value="84" /> | |
+ <ctl name="ADC2 Volume" value="6" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-0"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC2" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC0" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-90"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC2" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC4" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-180"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC0" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-270"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC4" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-speech-0"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC2" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC0" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-speech-90"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC2" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC4" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-speech-180"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC0" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-speech-270"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC4" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-concert-0"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC2" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC0" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-concert-90"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC2" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC4" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-concert-180"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC0" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="hifi-recorder-concert-270"> | |
+ <ctl name="SLIM_0_TX Channels" value="Two" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC4" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="DMIC" /> | |
+ <ctl name="DMIC MUX8" value="DMIC2" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="voice-memo-8K"> | |
+ <path name="handset-mic" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="voice-memo"> | |
+ <path name="handset-mic" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="headset-voice-memo-8k"> | |
+ <path name="adc2" /> | |
+ <ctl name="ADC2 Volume" value="6" /> | |
+ <ctl name="DEC0 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="headset-voice-memo"> | |
+ <path name="adc2" /> | |
+ <ctl name="ADC2 Volume" value="6" /> | |
+ <ctl name="DEC0 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="headset-voice-memo-hifi"> | |
+ <path name="adc2" /> | |
+ <ctl name="ADC2 Volume" value="6" /> | |
+ <ctl name="DEC0 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="headset-voice-memo-hifi-concert"> | |
+ <path name="adc2" /> | |
+ <ctl name="ADC2 Volume" value="6" /> | |
+ <ctl name="DEC0 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="headset-voice-memo-hifi-speech"> | |
+ <path name="adc2" /> | |
+ <ctl name="ADC2 Volume" value="6" /> | |
+ <ctl name="DEC0 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="bt-sco-mic-nrec-wb"> | |
+ </path> | |
+ | |
+ <path name="bt-sco-mic-nrec"> | |
+ </path> | |
+ | |
+ <path name="voice-speaker-dmic-ef-nxp"> | |
+ <path name="speaker-dmic-endfire" /> | |
+ <ctl name="IIR1 INP1 MUX" value="DEC7" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="voice-headset-mic-fluence"> | |
+ <path name="headset-mic" /> | |
+ <ctl name="DEC0 Volume" value="86" /> | |
+ <ctl name="ADC2 Volume" value="12" /> | |
+ </path> | |
+ | |
+ <path name="loopback-speaker-mic"> | |
+ <path name="dmic3" /> | |
+ <ctl name="SLIM_0_TX SampleRate" value="KHZ_192" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="loopback-headset-mic"> | |
+ <path name="headset-mic" /> | |
+ <ctl name="DEC0 Volume" value="84" /> | |
+ <ctl name="ADC2 Volume" value="8" /> | |
+ </path> | |
+ | |
+ <path name="loopback-handset-mic"> | |
+ <path name="handset-mic" /> | |
+ <ctl name="SLIM_0_TX SampleRate" value="KHZ_192" /> | |
+ <ctl name="DEC7 Volume" value="90" /> | |
+ </path> | |
+ | |
+ <path name="loopback-third-mic"> | |
+ <path name="dmic5" /> | |
+ <ctl name="SLIM_0_TX SampleRate" value="KHZ_192" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="loopback-submic1"> | |
+ <path name="dmic3" /> | |
+ <ctl name="SLIM_0_TX SampleRate" value="KHZ_192" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="loopback-submic2"> | |
+ <path name="dmic5" /> | |
+ <ctl name="SLIM_0_TX SampleRate" value="KHZ_192" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+<!-- speaker loopback use submic3 for h1 --> | |
+ <path name="loopback-submic3"> | |
+ <path name="dmic3" /> | |
+ <ctl name="SLIM_0_TX SampleRate" value="KHZ_192" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="loopback-bt-mic"> | |
+ </path> | |
+ | |
+ <path name="mictest-handset-mic"> | |
+ <path name="dmic1" /> | |
+ <ctl name="DEC7 Volume" value="87" /> | |
+ </path> | |
+ | |
+ <path name="mictest-submic1"> | |
+ <path name="dmic3" /> | |
+ <ctl name="DEC7 Volume" value="95" /> | |
+ </path> | |
+ | |
+ <path name="mictest-submic2"> | |
+ <path name="dmic5" /> | |
+ <ctl name="DEC7 Volume" value="97" /> | |
+ </path> | |
+ | |
+ <path name="mictest-submic3"> | |
+ <path name="dmic3" /> | |
+ <ctl name="DEC7 Volume" value="90" /> | |
+ </path> | |
+ | |
+ <path name="mictest-headset-mic"> | |
+ <path name="headset-mic" /> | |
+ </path> | |
+ | |
+ <path name="mictest-allmic"> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX5" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX6" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX7" value="1" /> | |
+ <ctl name="AIF1_CAP Mixer SLIM TX8" value="1" /> | |
+ <ctl name="SLIM_0_TX Channels" value="Four" /> | |
+ <ctl name="SLIM TX5 MUX" value="DEC5" /> | |
+ <ctl name="ADC MUX5" value="DMIC" /> | |
+ <ctl name="DMIC MUX5" value="DMIC0" /> | |
+ <ctl name="SLIM TX6 MUX" value="DEC6" /> | |
+ <ctl name="ADC MUX6" value="DMIC" /> | |
+ <ctl name="DMIC MUX6" value="DMIC2" /> | |
+ <ctl name="SLIM TX7 MUX" value="DEC7" /> | |
+ <ctl name="ADC MUX7" value="DMIC" /> | |
+ <ctl name="DMIC MUX7" value="DMIC0" /> | |
+ <ctl name="SLIM TX8 MUX" value="DEC8" /> | |
+ <ctl name="ADC MUX8" value="AMIC" /> | |
+ <ctl name="AMIC MUX8" value="ADC2" /> | |
+ <ctl name="DEC5 Volume" value="90" /> | |
+ <ctl name="DEC6 Volume" value="90" /> | |
+ <ctl name="DEC7 Volume" value="90" /> | |
+ <ctl name="DEC8 Volume" value="90" /> | |
+ </path> | |
+ | |
+ <path name="voice-call-handset-mic"> | |
+ <path name="dmic1" /> | |
+ <ctl name="DEC7 Volume" value="85" /> | |
+ </path> | |
+ | |
+ <path name="voice-call-submic1"> | |
+ <path name="dmic3" /> | |
+ <ctl name="DEC7 Volume" value="85" /> | |
+ </path> | |
+ | |
+ <path name="voice-call-submic2"> | |
+ <path name="dmic1" /> | |
+ <ctl name="DEC7 Volume" value="85" /> | |
+ </path> | |
+ | |
+ <path name="voice-call-submic3"> | |
+ <path name="dmic3" /> | |
+ <ctl name="DEC7 Volume" value="85" /> | |
+ </path> | |
+ | |
+ <path name="voip-speaker-mic"> | |
+ <path name="speaker-mic" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+<!-- depending on dual mic --> | |
+ <path name="voip-speaker-dmic-ef"> | |
+ <path name="speaker-dmic-endfire" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+<!-- depending on dual mic --> | |
+ <path name="voip-speaker-dmic-ef-nxp"> | |
+ <path name="speaker-dmic-endfire" /> | |
+ <ctl name="IIR1 INP1 MUX" value="DEC7" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ <ctl name="DEC8 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="voip-handset-mic"> | |
+ <path name="handset-mic" /> | |
+ <ctl name="DEC7 Volume" value="84" /> | |
+ </path> | |
+ | |
+<!-- depending on dual mic --> | |
+ <path name="voip-dmic-ef"> | |
+ <path name="dmic-endfire" /> | |
+ <ctl name="ADC4 Volume" value="12" /> | |
+ <ctl name="DEC3 Volume" value="84" /> | |
+ <ctl name="ADC3 Volume" value="12" /> | |
+ <ctl name="DEC4 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <path name="voip-headset-mic"> | |
+ <path name="headset-mic" /> | |
+ <ctl name="ADC2 Volume" value="16" /> | |
+ <ctl name="DEC0 Volume" value="84" /> | |
+ </path> | |
+ | |
+ <!-- TERT MI2S A2DP OFFLOAD start --> | |
+ <path name="mi2s-a2dp"> | |
+ </path> | |
+ | |
+ <path name="mi2s-a2dp-and-speaker"> | |
+ <path name="speaker-protected" /> | |
+ </path> | |
+ <!-- TERT MI2S A2DP OFFLOAD end --> | |
</mixer> | |
diff --git a/audio/sound_trigger_mixer_paths.xml b/audio/sound_trigger_mixer_paths.xml | |
index 0125371..8939ce1 100644 | |
--- a/audio/sound_trigger_mixer_paths.xml | |
+++ b/audio/sound_trigger_mixer_paths.xml | |
@@ -38,16 +38,12 @@ | |
<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 Input" value="DMIC0" /> | |
<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"/> | |
- <ctl name="CLK MODE" value="EXTERNAL" /> | |
- <ctl name="EC BUF MUX INP" value="ZERO" /> | |
- <ctl name="ADC MUX1" value="DMIC" /> | |
- <ctl name="DMIC MUX1" value="ZERO" /> | |
<path name="listen-voice-wakeup-1"> | |
<ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" /> | |
@@ -91,13 +87,6 @@ | |
<ctl name="CPE AFE MAD Enable" value="1"/> | |
</path> | |
- <path name="listen-cpe-handset-mic-ecpp"> | |
- <ctl name="CLK MODE" value="INTERNAL" /> | |
- <ctl name="EC BUF MUX INP" value="DEC1" /> | |
- <ctl name="ADC MUX1" value="DMIC" /> | |
- <ctl name="DMIC MUX1" value="DMIC0" /> | |
- </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" /> | |
diff --git a/audio/sound_trigger_platform_info.xml b/audio/sound_trigger_platform_info.xml | |
index b92ea48..0da0b74 100644 | |
--- a/audio/sound_trigger_platform_info.xml | |
+++ b/audio/sound_trigger_platform_info.xml | |
@@ -1,5 +1,5 @@ | |
<?xml version="1.0" encoding="ISO-8859-1"?> | |
-<!--- Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. --> | |
+<!--- Copyright (c) 2013-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 --> | |
@@ -26,45 +26,32 @@ | |
<!--- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN --> | |
<!--- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> | |
<sound_trigger_platform_info> | |
- <param version="0x0101" /> <!-- this must be the first param --> | |
- | |
- <common_config> | |
- <param execution_type="CPE" /> <!-- value: "CPE" "APE" --> | |
- <param max_cpe_sessions="1" /> | |
- <param max_ape_sessions="8" /> | |
- <param enable_failure_detection="false" /> | |
- </common_config> | |
- | |
- <acdb_ids> | |
- <param DEVICE_HANDSET_APE_ACDB_ID="100" /> | |
- <param DEVICE_HANDSET_CPE_ACDB_ID="128" /> | |
- <param DEVICE_HANDSET_CPE_ECPP_ACDB_ID="128" /> | |
- </acdb_ids> | |
- | |
- <!-- Multiple sound_model_config tags can be listed, each with unique --> | |
- <!-- vendor_uuid. The below tag represents QTI SVA engine sound model --> | |
- <!-- configuration. ISV must use their own unique vendor_uuid. --> | |
- <sound_model_config> | |
- <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b" /> | |
- <param app_type="2" /> <!-- app type used in ACDB --> | |
- <param library="libsmwrapper.so" /> | |
- <param max_cpe_phrases="6" /> | |
- <param max_cpe_users="3" /> | |
- <param max_ape_phrases="10" /> | |
- <param max_ape_users="10" /> | |
- <param sample_rate="16000" /> | |
- | |
- <!-- Module and param ids with which the algorithm is integrated in firmware --> | |
- <param load_sound_model_ids="0x00012C0D, 0x00012C14" /> | |
- <param unload_sound_model_ids="0x00012C0D, 0x00012C15" /> | |
- <param confidence_levels_ids="0x00012C0D, 0x00012C07" /> | |
- <param operation_mode_ids="0x00012C0D, 0x00012C02" /> | |
+ <device name="DEVICE_HANDSET_APE_ACDB_ID" value="100" /> | |
+ <device name="DEVICE_HANDSET_CPE_ACDB_ID" value="128" /> | |
+ <ctrl name="execution_type" value="CPE" /> <!-- value: "CPE" "APE" --> | |
+ <ctrl name="max_cpe_sessions" value="1" /> | |
+ <ctrl name="max_ape_sessions" value="8" /> | |
+ <ctrl name="enable_failure_detection" value="false" /> | |
+ <!-- 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 --> | |
- <param capture_keyword="PCM_packet, RT, 2000" /> | |
- <param client_capture_read_delay="2000" /> | |
- </sound_model_config> | |
+ <!-- kw_duration is in milli seconds. It is valid only for FTRT transfer mode --> | |
+ <capture_keyword format="PCM_packet" transfer_mode="FTRT" 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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment