Commit Graph

20 Commits

Author SHA1 Message Date
Jason Hsu
8ad4040ef2 audio: Update ACDB table
Changelist:
1. HANB/WB Fine tune for carrier requirement
     FM: FDEQ @max-2 vol
2. HAWB Fine tune
    FM: FDEQ @ nom vol
    VOL: nom vol.
3. Update AGC tuning parameters in use case ID 61~66

Bug: 165875970
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ifaf96ce2b87a21e3f5b64a37dec952c0d548732d
2020-08-21 10:43:07 +08:00
Jason Hsu
692b8e6c31 audio: update ACDB table
Change list is as below:
 - Update the SURREC / MicGain / IIR / AGC / MBDRC in CAMCORDER use case ID 61~66

Bug: 162490183
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I3f75d3edb5ee5d1e1bb8b558348e902670c17ae7
2020-07-30 21:04:03 +08:00
Jason Hsu
e6390c19de audio: update ACDB table
Change list is as below:
1. HAFB  SFR fine tune
2. De-vibration tuning on concurrency (playback + call volume)
3. Verizon Handset adjustment
      HANB RFR (CDMA only)
      HHNB SFR (CDMA only)
4.  Camcorder parameters updates
     - Update the SURREC parameters in camcorder use case 61~63
     - Update the IIR parameters in camcorder use case 61~63
     - Update the MBDRC parameters in camcorder use case 61~66

Bug: 161427466
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I9b762491cf7aa9efee3df6a4ba3cea316003ded3
2020-07-17 02:45:55 +08:00
Jason Hsu
f07e4d4ad0 audio: update acdb table
Change list is as below:
1. Handsfree SWB
    - RX modify DRC
    - BVE on
2. BTNB / BTNB-NREC / BTWB / BTWB-NREC Uplink
    - WB IIR: modify for SFR
3. Handset Smoothing tuning Downlink
    - HANB: max-1 / max-2
    - HAWB: max / max-1 / max-2
    - HASWB: max-1 / max-2
4. Camcorder
   - Upgrade the WNR version from 1.0.2 to 1.0.6
   - Update the WNR parameters in camcorder use case ID 61~66
   - Update the SURREC parameters in camcorder use case ID 61~66
   - Update the IIR parameters in camcorder use case ID 61~66
   - Update the Mic Gain parameters in camcorder use case ID 61~63

Bug: 159768812
Bug: 156513851
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I663d41fe87e528aa2ec478744142806aee2086ba
2020-06-29 14:14:23 +08:00
Jason Hsu
3b13583bb5 audio: update audio tables
1. acdb's change list is as below
  - Handset NB/WB/SWB/FB EPD-Offset to fine tune EC performance
  - Handheld WB EPD-offset to fine tune EC performance
  - Ringback tone: MBDRC modification
  - Handheld FB: update tuning for DT & EC
  - Handheld NB/WB: optimize BVE parameters

2. mixer's changelist
  *** The mixer modification was based on b/145244105 comment #63.
  - change the EC reference from TDM-RX to TDM-TX (align with B5S5) in Handheld voice call & VoIP. Details is as below.

    <ctl name="ASPTX1 Slot Position" value="1" />
    <ctl name="R ASPTX1 Slot Position" value="0" />

    <path name="echo-reference">
        <ctl name="AUDIO_REF_EC_UL1 MUX" value="QUIN_TDM_TX_0" />
        <ctl name="EC Reference Channels" value="Two"/>

    <path name="echo-reference speaker">
        <ctl name="AUDIO_REF_EC_UL10 MUX" value="QUIN_TDM_TX_0"/>
        <ctl name="EC Reference Channels" value="Two"/>

    <path name="voicemmode1-call speaker">
        <ctl name="VOC_EXT_EC MUX" value="QUIN_TDM_TX" />
        <ctl name="QUIN_TDM_RX_0_Voice Mixer VoiceMMode1" value="1"/>
        <ctl name="VoiceMMode1_Tx Mixer PRI_TDM_TX_0_MMode1" value="1"/>
    </path>

Bug: 158623210
Bug: 156513851
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I3ddd419a1d7da76841dd58889de36769e48c1f74
2020-06-10 09:42:57 +00:00
Jason Hsu
bbd22edaf1 audio: update acdb file
The change list is as below:
1. Enable BVE at HANB/WB/SWB
2. Adjust HASWB Nom FDEQ for RFR
3. Adjust HAC FB
4. Recording (HA_Tri_Mic id46)
    - disable all effect
5.Camcorder
   - Import the WNR module into ACDB.
   - Add the WNR module in the camcorder use case ID 61~66.
6. optimize PTL MPPS  in id 513

Bug: 158043299
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ia3bb5766e216419090b15549b140c3372a7178ed
2020-06-08 17:19:22 +08:00
Jason Hsu
207f444255 audio: update acdb table
Changelist:
- update the IIR parameters for ACDB ID 61~66
- update Mic gain for ACDB 61~63
- update the MBDRC parameters for ACDB ID 61~66

Bug: 157112078
Test: Verified by H/W

Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ib38e5eeb06460df326df88d771e00bd5b59dd34b
2020-05-29 21:22:43 +08:00
Jason Hsu
ea0d0e4cd2 audio: update acdb table
Change list:
1. WAV PTL topology added in id 513
2. No mic HE volume table update
3. HANDSET_TRI_MIC (ID46)
     - change TOPO into AUDIO_TX_MONO_COPP on GENERAL_RECORDING app types
     - Set the mic gain and IIR & MBDRC parameters for three mic recording
4. For HANDSET_MIC_STEREO (ID34)
     - keep preGain_settings[0] & preGain_settings[1] in IIR module as "1" and set others as "0"
5. HA WB/SWB/FB Robustness
6. HAFB (voip) NS optimization

Bug: 156719506
Test: Verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: I18e217de12336dddcb3c9d61ec7a9dfc933544f9
2020-05-29 21:22:38 +08:00
justinweng
13f7ecaf13 audio: apply thermal listener config
- apply PTL in acdb for speaker path
- add thermal listener configuration
- enable thermal listener

Bug: 143265000
Test: manual

Signed-off-by: justinweng <justinweng@google.com>
Change-Id: I7426e9febf678b1e50f511fdd89ded6902347175
2020-05-29 21:22:30 +08:00
Jason Hsu
3db17d1eb1 audio: update acdb files
1. Update Mono recording parameter
2. Update the IIR parameters for camcorder use case ID 61-66
3. Update BT tuning setting (NB/WB/SWB)

Bug: 155358910
Test: verified by H/W
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ie7896c8aaf3b6ff2fa810ddd0f8830419dd894ab
2020-05-29 21:22:20 +08:00
Jason Hsu
9579405603 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: Jason Hsu <jasonchhsu@google.com>
Change-Id: Ib656d39f4c776ade7b43ae4f477c98ffdf581d2a
2020-05-29 21:22:16 +08:00
Jason Hsu
2bb9f0368f acdb: update acdb files
1. Handset NB/WB/SWB/FB  for P1.1 panel speaker tuning
2. ID 61~66
   - Remove sampling rate 8kHz, 16kHz, and 32kHz.
   - Change the TOPOLOGY in APPTYPE - COMPRESS_OFFLOAD_24BIT
from GTW_SURAZ to AUDIO_TX_STEREO_COPP
   - Change the TOPOLOGY in APPTYPE - RECORD_24BIT & RECORD_32BIT
from AUDIO_TX_STEREO_COPP to GTW_SURAZ
   - Update the parameters in TOPOLOGY - GTW_SURAZ

Bug: 151387242
Change-Id: Iff958b27f93847e6362fc9f23c7c0eed400872d6
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
Test: verified by H/W
2020-05-29 21:21:23 +08:00
yixuanjiang
797bb58dc3 acdb: update acdb files
1. modify the topology for recording path
2. adjust the mic degrade/dead threshold parameters
3. speakerphone mode SWB TX tuning update
4. update BVE tuning for speaker phone mode
5. update mic distance calibration

Bug: 150747438
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I5c2d38c64b86d17c9421ba8b524cc522f791b1c5
2020-05-29 21:21:13 +08:00
HW Lee
4ce6cae214 audio: acdb for FM mic break detection
Bug: 149715971
Test: build pass
Change-Id: I040819e9b18d9ef3f1789a6f7cc13c939f8c15cd
Signed-off-by: HW Lee <hwlee@google.com>
2020-05-29 21:20:49 +08:00
Jason Hsu
d2feabe6cd acdb: update acdb files
Changelist:
1. Handset Tuning: NB/WB/VoIP
2. Handsfreee Tuning: NB/WB

Bug: 147334935
Test: built pass
Change-Id: Id54ace2541262e6628457ebb10607d431469bd9e
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2020-05-29 21:20:01 +08:00
BubbleFang
4f9b9df985 audio: update ACDB tables
1. Camcorder update : ID 61~66  (Modify by Chilin and Darren)
- remove the sampling rate 96k & 192k
- Add a new topology named GTW_SURAZ
- GTW_SURAZ includes IIR-->MicGain-->SURREC-->IIR-->AGC-->MBDRC
- Change the apptype : general recording & compreeed offload 24 bits from Audio TX Stereo to GTW_SURAZ
- change the channel# from 2 to 3
2. Waves version update (v3.1.1050209.2.12.0)
3. Remove VOIP audio stream IIR module : fixed right channel no sound issue

Bug: 146316348
Test: Local test

Change-Id: I67f87a4a9c5f8fca0752cb496c88f648bef9efd4
Signed-off-by: BubbleFang <bubblefang@google.com>
2020-05-29 21:18:48 +08:00
Yung Ti Su
85937a1e63 update acdb: 20191128_baseon1127_test_2_4_modify_HA_thisversion
fix RTC cannot set parameter problem

Bug: 143509879

Test: manual

Change-Id: I54644c1e171fa94908cd6e25c9bad632eb4338c0
Signed-off-by: Yung Ti Su <andysu@google.com>
2019-11-28 17:38:42 +08:00
Yung Ti Su
d6933bc9a8 acdb: B5_ACDB_V0_20191031
including Waves effect and Fortemedia effect module

Bug: 143509879

Test: manual

Change-Id: I61392e92d2b79bce6de757e76092b14d927d890c
Signed-off-by: Yung Ti Su <andysu@google.com>
2019-11-19 07:54:46 +00:00
BubbleFang
d8d5a2bb1f draft acdb for temporarily enable speaker
changing the default acdb device id 15 & 124(dec)
AFE topology from v3 to NONE

Bug:  142388386
Test: manual

Signed-off-by: BubbleFang <bubblefang@google.com>

Change-Id: Ie5869a39f0569f479a184a25351f679781973bb9
2019-10-14 16:16:33 +08:00
Jason Hsu
fa7007acad audio: copy audio table from qcom default and remove unuse file No.3
Test: load audio hal
Bug: 140216758
Test: Manual built
Change-Id: I7365fabb3535e627b7f64618647f791e32270abe
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2019-09-16 12:25:46 +08:00