Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d256b754 authored by Xiaoyu Ye's avatar Xiaoyu Ye Committed by Gerrit - the friendly Code Review server
Browse files

configs: Update userspace audio config files and XML changes on SDM845

Update userspace audio config files and XML changes to tip from MSM8998
to SDM845.

Change-Id: Ie48a9469161836b3d1134ca246ab751dfff86ca4
parent 4b544a29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@
        <param key="mono_speaker" value="right"/>
        <!-- In the below value string, first parameter indicates size -->
        <!-- followed by perf lock options                             -->
        <param key="perf_lock_opts" value="4, 0x101, 0x704, 0x20F, 0x1E01"/>
        <param key="perf_lock_opts" value="4, 0x40400000, 0x1, 0x40C00000, 0x1"/>
        <param key="native_audio_mode" value="src"/>
        <param key="input_mic_max_count" value="4"/>
        <param key="true_32_bit" value="true"/>
+42 −0
Original line number Diff line number Diff line
@@ -149,3 +149,45 @@ ANC Slot:0
SLIM RX0 MUX:ZERO
RX INT7_1 MIX1 INP0:ZERO
ANC Function:OFF

#RAS_TEST_SPKR_PHONE_SPKR_STEREO
acdb_dev_id:136
!Playback
Rxdevice:0

enable
SLIM RX0 MUX:AIF1_PB
SLIM RX1 MUX:AIF1_PB
CDC_IF RX0 MUX:SLIM RX0
CDC_IF RX1 MUX:SLIM RX1
SLIM_0_RX Channels:Two
RX INT7_1 MIX1 INP0:RX0
RX INT8_1 MIX1 INP0:RX1
COMP7 Switch:1
COMP8 Switch:1
SpkrLeft COMP Switch:1
SpkrRight COMP Switch:1
SpkrLeft BOOST Switch:1
SpkrRight BOOST Switch:1
SpkrLeft VISENSE Switch:1
SpkrRight VISENSE Switch:1
SpkrLeft SWR DAC_Port Switch:1
SpkrRight SWR DAC_Port Switch:1
SLIMBUS_0_RX Audio Mixer MultiMedia1:1

disable
SLIM RX0 MUX:ZERO
SLIM RX1 MUX:ZERO
RX INT7_1 MIX1 INP0:ZERO
RX INT8_1 MIX1 INP0:ZERO
COMP7 Switch:0
COMP8 Switch:0
SpkrLeft COMP Switch:0
SpkrRight COMP Switch:0
SpkrLeft BOOST Switch:0
SpkrRight BOOST Switch:0
SpkrLeft VISENSE Switch:0
SpkrRight VISENSE Switch:0
SpkrLeft SWR DAC_Port Switch:0
SpkrRight SWR DAC_Port Switch:0
SLIMBUS_0_RX Audio Mixer MultiMedia1:0
+2 −2
Original line number Diff line number Diff line
@@ -78,9 +78,9 @@ PRODUCT_COPY_FILES += \
    hardware/qcom/audio/configs/sdm845/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
    hardware/qcom/audio/configs/sdm845/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \
    hardware/qcom/audio/configs/sdm845/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml \
    hardware/qcom/audio/configs/msm8998/mixer_paths_skuk.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_skuk.xml \
    hardware/qcom/audio/configs/sdm845/mixer_paths_skuk.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_skuk.xml \
    hardware/qcom/audio/configs/sdm845/mixer_paths_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_i2s.xml \
    hardware/qcom/audio/configs/sdm845/aanc_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/aanc_tuning_mixer_tavil.txt \
    hardware/qcom/audio/configs/sdm845/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \
    hardware/qcom/audio/configs/sdm845/audio_platform_info_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_i2s.xml \
    hardware/qcom/audio/configs/sdm845/sound_trigger_mixer_paths_wcd9340.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths_wcd9340.xml \
    hardware/qcom/audio/configs/sdm845/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@

    <adm_config>
        <param adm_cfg_profile="FLUENCE" />
        <param app_type="69943" />
        <param app_type="69944" />
        <param sample_rate="16000" />
        <param bit_width="16" />
    </adm_config>