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

Commit b57e1630 authored by Jason Hsu's avatar Jason Hsu Committed by Cyan_Hsieh
Browse files

audio: update audio table



Mixer Path:
1.
-Gain change to 0 dB
<path name="handset-mic">
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="PRI_TDM_TX_0 Channels" value="One"/>
        <ctl name="Sto1 ADC MIXL DMIC Switch" value="1" />
        <ctl name="Stereo1 DMIC Mux" value="DMIC1" />
    </path>

2.
-Gain change to 0 dB
-Change 2nd mic from rear mic (mic2) to top mic (mic3)
<!-- Dual MIC devices -->
    <path name="handset-dmic-endfire">
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="1" value="23"/>
        <ctl name="PRI TDM TX Channel Offset" id="0" value="12" />
        <ctl name="PRI TDM TX Channel Offset" id="1" value="8" />
        <ctl name="PRI_TDM_TX_0 Channels" value="Two"/>
        <ctl name="Sto1 ADC MIXL DMIC Switch" value="1" />
        <ctl name="Sto2 ADC MIXR DMIC Switch" value="1" />
    </path>
3.
<path name="camcorder-mic-invert">
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="1" value="23"/>
        <ctl name="PRI TDM TX Channel Offset" id="0" value="12" />              ---> From 8 -> 12
        <ctl name="PRI TDM TX Channel Offset" id="1" value="8" />               --->  From 12 -> 8

ACDB:
1. Recalibrate the camcorder parameters(ID61~66) for R3 EVT stage.

2. For HANDSET_MIC_STEREO (ID34)
  - change on GENERAL_RECORDING app types
  - Set the mic gain and IIR & MBDRC parameters for Stereo mic recording

3. HA EVT+ devibration tuning (test 1.5 version)
   - Volume curve change : NB/WB/SWB  (Generic/Sprint)
   - FM EQ devibration tuning : NB/WB/SWB/FB (Generic/Sprint)
   - TX SLR stable tuning: WB (Generic/Sprint/TMUS)

4. For HANDSET_MIC_MONO (ID4)
  - change the topology to AUDIO_TX_MONO_COPP on GENERAL_RECORDING app types
  - change the CHANNEL_TYPE_INFORMATION to PCM_CHANNEL_C

5. Set the mic gain and IIR & MBDRC parameters for Mono mic recording

Bug: 145244105
Bug: 155358910
Test: test by H/W

Signed-off-by: default avatarJason Hsu <jasonchhsu@google.com>
Change-Id: Ib656d39f4c776ade7b43ae4f477c98ffdf581d2a
parent 57fa8885
Loading
Loading
Loading
Loading
(39.9 KiB)

File changed.

No diff preview for this file type.

+25.5 KiB (1.25 MiB)

File changed.

No diff preview for this file type.

+1.47 KiB (324 KiB)

File changed.

No diff preview for this file type.

+8 −6
Original line number Diff line number Diff line
@@ -2013,7 +2013,7 @@
    </path>

    <path name="handset-mic">
        <ctl name="ADC1 Capture Volume" id="0" value="43"/>
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="PRI_TDM_TX_0 Channels" value="One"/>
        <ctl name="Sto1 ADC MIXL DMIC Switch" value="1" />
        <ctl name="Stereo1 DMIC Mux" value="DMIC1" />
@@ -2214,8 +2214,8 @@
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="1" value="23"/>
        <ctl name="PRI TDM TX Channel Offset" id="0" value="8" />
        <ctl name="PRI TDM TX Channel Offset" id="1" value="12" />
        <ctl name="PRI TDM TX Channel Offset" id="0" value="12" />
        <ctl name="PRI TDM TX Channel Offset" id="1" value="8" />
        <ctl name="PRI TDM TX Channel Offset" id="2" value="0" />
        <ctl name="PRI_TDM_TX_0 Channels" value="Three"/>
        <ctl name="PRI_TDM_TX_0 Format" value="S24_LE" />
@@ -2282,11 +2282,13 @@

    <!-- Dual MIC devices -->
    <path name="handset-dmic-endfire">
        <ctl name="ADC1 Capture Volume" id="0" value="45"/>
        <ctl name="ADC2 Capture Volume" id="0" value="45"/>
        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
        <ctl name="ADC2 Capture Volume" id="1" value="23"/>
        <ctl name="PRI TDM TX Channel Offset" id="0" value="0"/>
        <ctl name="PRI TDM TX Channel Offset" id="1" value="12"/>
        <ctl name="PRI_TDM_TX_0 Channels" value="Two"/>
        <ctl name="Sto1 ADC MIXL DMIC Switch" value="1" />
        <ctl name="Sto2 ADC MIXL DMIC Switch" value="1" />
        <ctl name="Sto2 ADC MIXR DMIC Switch" value="1" />
    </path>

    <path name="speaker-dmic-endfire">