Commit graph

40 commits

Author SHA1 Message Date
Carter Hsu
6bfef6ec31 audio: Update Fortemedia tuning for QPR1
1. HH:
      a) fine-tune FFP parameter in NB/WB/SWB
      b) Align same parameter:  Handsfree RX to HCO RX

Bug: 247914164
Test: Acoustic team verified b/247914164#comment4
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia1bac933cd2998c76316c3a599a23c4d5dced04c
2022-09-23 00:49:01 +00:00
Jasmine Cha
bd90823a92 audio: update FM table
1. Handset : Sync SU0 setting to QPR
2. Headset :
    a) Modify RX DRC to compress the noise floor which is coming from 8 bit process on CCA
         for all of BT modes with NB/WB
    b) Consistent mixer setting for RX1 and RX2:
         BT disable mixer on RX2
         Headset disable mixer on RX2
    c) Low RX FENS on BT
         #CASE_NAME        BLUETOOTH-BTNB-RESERVE2-SWB
    d) Enable RX low latency to compensate the long delay
         For Headset modes
3.Handsfree :
    a) modify Light NS for cust2
    b) sync SU0 setting to QPR

Bug: 245658052
Test: manual test b/245658052#comment4

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ia833a0e63c85503cec8af8ec3864c588e6414e6a
2022-09-14 00:52:47 +00:00
Carter Hsu
d1e2c603d0 audio: FM table check in for SU0 am: 307211b372
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19594852

Change-Id: I5ea15ac206ae5ba7de4a625bdfa6d69eaa719de1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-01 12:35:18 +00:00
Carter Hsu
307211b372 audio: FM table check in for SU0
[Change list]
1. fix AMS mistriggering problem in SU0

Bug: 241723468
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I367166a0637e0071a1ef16f654f4b74bc0408854
2022-09-01 09:08:55 +00:00
Carter Hsu
ac1b92c374 audio: fix VoIP call volume steps am: e031c2000c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19499321

Change-Id: Id4d0958bb63d5ccc23400c7a672839a9db2c5360
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-05 02:22:22 +00:00
Carter Hsu
e031c2000c audio: fix VoIP call volume steps
Bug: 240743392
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I53156f61f3cb3e00be888ab29079babc4c12a7e8
2022-08-05 02:00:03 +00:00
Carter Hsu
43f28e3dd0 audio: update Fortemedia FRC table am: 8d3533f9d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19375854

Change-Id: I0571a7b95ea956cec51fc351aa37822e9dd533a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-22 04:14:23 +00:00
Carter Hsu
8d3533f9d2 audio: update Fortemedia FRC table
1. HA Generic/TMOUS AMS fine tuning for DT
2. HA Generic/TMOUS BVE fine tuning
3. HH TX TDC fine tuning
4. Align same parameter : Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX

Bug: 239784758
Test: Verified at b/239784758#comment4
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Icaea25d152cdb9dadac04714b14b184ef918543b
2022-07-22 03:49:33 +00:00
Carter Hsu
5c6b79d4a3 audio: media recording tuning tables for FRC am: 87befd5edd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/19293024

Change-Id: I9fd455b810abbc182966abdf0b45cdac4916b989
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-22 01:45:49 +00:00
Carter Hsu
87befd5edd audio: media recording tuning tables for FRC
Change list:
  1. Merely one change:  change AGC param(rmsTav) from
     200 to 1000
Bug: 239342425
Test: Verified at b/239342425#comment9
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I90a16f61ac063833af413c4daf3703289d67ae06
2022-07-22 01:28:57 +00:00
Carter Hsu
26c0da4f2b audio: separate Fortemedia Stereo VoIP tuning
1. In case the Fortemedia CL conflict between tm-qpr
   and tm-d1, separate the Fortemedia tuning.
2. Enable stereo VoIP on speaker and usb path
3. Reserved 2(VoIP use case) in handsfree and headset mode
   changed to stereo processing.
4. FNS for NB/WB across all modes changed to fulfill CCA settings.

Bug: 237230890
Test: Verified at b/237230890#comment14
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I10303abdce6ef56414db0ce7b457efcd415bd786
2022-07-19 08:39:46 +08:00
Jasmine Cha
b8c2d052d3 audio: update waves table for frc
Bug:238680468
Test: manual test (b/238680468#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I9ca63593e5ea4a34b83a429815ac006bfb99f474
2022-07-18 15:22:06 +00:00
Carter Hsu
9abd1bcddf Audio: update Fortemedia tuning 20220616
FM table change list:
  1. HA
    1) Fine tune P10C10 TMOUS tuning for DVT stage
    2) Fine tune P10C10 NB NS performance
  2. HE
    1) Align the same setting between Rx1 to Rx2
    2) Align the same setting between HEADSET-USB_BLACKBIRD-VOICE_GENERIC-SWB
       and HEADSET-USB_BLACKBIRD-VOICE_RESERVE2-SWB
  3. BT
    Enable RX low latency mode

Bug: 236210273
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I3c347bb740a447cb1fb78b3391acaa3247107220
2022-06-17 09:07:11 +00:00
Carter Hsu
b7b953903e audio: Update Waves tuning
Change list
  For C10 mps:
    - Fix sparkle/sibilance/shrill sound of previous MIX3500M
      release mention in AQTI C10 speaker quality report.
    - Improve volume curve for soft vol levels(Mute+1 ~ Mute+15)
    - Sha1sum: 7095454e3cea59eed5f89da5e87de7815a0f6c0d

  For P10 mps:
    - Fix sparkle/sibilance/shrill sound of previous MIX2000
      release.
    - Sha1sum: e6d4cbc1912a48f059c5767d788f0544a580ba4b

Bug: 235925350
Bug: 235926607
Test: Audio tuning team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I263b581f63a2fd87246e5ee6a74db23dd097567e
2022-06-17 09:07:02 +00:00
Carter Hsu
314998feb2 audio: P10/C10 Media Record tuning update for RC
change list :
    1) mic_path : IIR fine tune on both mono and stereo mode
    2) mic_path : mic swap in stereo mode, top mic in ch1,
       bot mic in ch2
    3) camcorder_path : zoom gain set as "1" in surround
       module in selfie mode
Bug: 236236611
Test: Audio tuning team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I079d57cb16337482994ae5ba2b2a00a143d22f26
2022-06-17 09:06:48 +00:00
Jasmine Cha
d31bca5d0e audio: update c10 p10 RC tuning
For C10_LL_Pt_Ls_mix3500M_volCurve_allModes_Speaker_Safe_ONEAL_V2.mps:
- Non media, update the speaker-safe preset for
  Ringtone/Notification/Alarm stream
- sha1sum:  b813efb994561b71715c075c0d34ad8c1a009ade
  /vendor/etc/waves_preset.mps

For  P10_LL_Pt_Ls_mix2000_volCurve_allModes_Speaker_Safe_ONEAL.mps:
- Non media, update the speaker-safe preset for
  Ringtone/Notification/Alarm stream
- sha1sum: 32a42b5ad6f2c2b3b79b2a33d3f53329edf61047
  /vendor/etc/waves_preset.mps

For audio_policy_volumes_C10_Update.xml:
- Revision for low volume to be compatible with the speaker-safe
  preset mentioned above.
- Revision of full volume curve to be compatible with MIX3500M preset
  for below stream type DTMF, System Sound, Enforced Audible.
- sha1sum: 918ebfef1da80f8caca117cc1da00f0a7eade6c1
  /vendor/etc/audio_policy_volumes.xml

For audio_policy_volumes_P10_Update_V2.xml:
- Revision for low volume to be compatible with the speaker-safe
  preset mentioned above
- Revision of full volume curve to be compatible with MIX2000 preset for
  below stream type DTMF, System Sound, Enforced Audible
- sha1sum: 9333ef3a4359b6c5e5b29a3beb40c677f8961c5d
  /vendor/etc/audio_policy_volumes.xml

Bug: 234590302
Bug: 234464916
Test: manual test
      b/234464916#comment4
      b/234590302#comment8

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I9fcaa0ac6f50af7f0728eb5a686b9866317a49d8
2022-06-07 09:45:02 +08:00
Carter Hsu
5d30102080 audio: update FM tuning 20220602
FM table change list:
1. HE
    a)  Fine tune HE BB SWB FFP, BVE, NS, ECDT
    b) Fine tune HE BB NB/WB/SWB RX volume curve
2. HA
   1) fine-tune C10 TMOUS tuning for DVT stage
   2) fine-tune P10/C10 NB robustness tuning
   3) fine-tune P10/C10 NB acoustic shock for generic
3. HH
    a)  P10/C10 fine tune NS performance
4. AMS : P10/C10 HA/HH/HE all enable AMS.

Bug: 234676284
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9328b8c72c9b4799634bf3d6b63db6a4102fe571
2022-06-06 08:38:57 +08:00
Carter Hsu
ee6a5a5e72 audio: update FM tuning 20220527
FM table change list:
1. HE
    a) Enble BVE for BB on NB,WB, SWB
    b) Fine tune BB RX EQ on NB, WB.
2. HH
    a) Fine Tune RX for dual speaker
    b) Polishing SWB NS performance
3. HA
   a) Update TMOUS tuning for P10/C10 on NB/WB/SWB
   b) Fine tune C10 tuning setting for Generic on NB/WB/SWB
   c) Fine tune P10 tuning setting for Generic on NB
   d) Fine tune NS tuning for P10/C10 on SWB

Bug: 234079372
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If380495da1e94fff33a2bdc9980f0e546d167e7f
2022-05-27 10:01:49 +00:00
Carter Hsu
05bec92030 audio: update Fortemedia VoIP condition to reserve2
1. P10 HA Generic tuning optimize for EVT1.1
2. C10 HH NB/WB/SWB mic hardware adjustment for EVT1.1
3. P10C10 HH/HE:
    (1) Modify to mono channel in reserve2
4. Align same parameter
     (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
     (2) Handsfree RX to HCO RX

Bug: 232349071
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib1db35a5f7526c2dcb2c73997a92f0e9bc9966fa
2022-05-13 09:04:41 +00:00
Carter Hsu
f0264e1130 audio: update camcorder tuning
Refine AZ and Surround recording parameters and related IIR2 tuning

Bug: 232162570
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I2cc34f9fd106578a4e2693b5183aa8879cf70465
2022-05-12 01:44:54 +00:00
Carter Hsu
6715af9b17 audio: update Fortemedia tuning 0415
FM table Changelist:
1. P10 HA NB/WB/SWB : FFP parameter update(enable)
2. P10C10 HH NB/WB/SWB:
     (1) TX/RX fine tune for phone call quality
     (2) FFP parameter update (enable)
     (3) Enable Stereo spk in reserve2
3. P10C10 HE NB/WB/SWB:
    (1) Enable Stereo spk in reserve2
4. Align same parameter
     (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
     (2) Handsfree RX to HCO RX

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I50ec916280b96d631f1b656d6c1a0a96d324408f
2022-04-15 17:45:06 +08:00
Jasmine Cha
ae824a50b7 audio: update FM table
FM table Changelist:

C10P10
1. Parameter version update from 1.2.0 to 1.2.1
2. Headset BB
    Disable FFP for NB/WB to avoid low RLR issue (ST solution)
3. Headset TTY Full and HCO
    Set AEC_NUM_CH to be 0x0001 (Original is 0x0000) to make TX work properly.
4. BT
    Disable low latency mode on BTNB-NB and BTNB_NREC-NB to avoid TX clipping/distortion issue (ST solution)
5. HHNB/WB/SWB  NS parameter update for v603
6. HHNB/WB/SWB RX fune tuing for power consuming
7. Align same parameter
   (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
   (2) Handsfree RX to HCO RX

Bug: 216258666
Test: b/216258666#comment19

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I583bda3772be7a667aed2b0c8fb34249b3223c9e
2022-04-01 07:59:19 +00:00
Carter Hsu
cc9519a3cb audio: update FM tuning 0324
FM table Changelist:

C10P10
1. Table form 20220309 version
2. HE disable FFP on Blackbrid NB WB
3. BT disable low latency mode on NB

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib1641bfd0c42cfcf3636c69c81f8bf5d55202199
2022-03-29 03:37:52 +00:00
Jasmine Cha
63c82ed9e5 audio: update waves preset
Change List & Tuning Notes
1. Iteration to mitigate the subjective difference between
   2.5A & 1.8A(BAACL throttle) waves tunings.
2. Speaker-safe mode is updated accordingly.

Bug: 203794965
Test: manual test (b/203794965#comment13)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I1a1ebd5a3080c7ea93d5592d82d78533d01103cc
2022-03-23 05:08:51 +00:00
Carter Hsu
185ba5d4b4 audio: update w spatial and mic MBDRC mode tuning
Bug: 221964481
Bug: 214337696
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia6eae5d830b16cfa587b85003cbe968f6061e1b3
2022-03-15 09:47:15 +00:00
Jasmine Cha
3e00fd613b audio: waves: correct ini for LR swap
Bug:223341194
Test: manual test (b/223341194#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib29ce35fd303c8f0cd011363ff3277ef5031dca5
2022-03-14 08:50:51 +00:00
Carter Hsu
36d1681e4f audio update FM tuning 0309
FM table Changelist:

1. C10P10 HA optimization tuning for EVT1.1
2. P10 Modify HH volume parameter to fix b/223103615

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1dddf764788a44613f2a00c5a0acb703e54ba3b1
2022-03-10 07:00:37 +00:00
Carter Hsu
cd9c935da4 audio: update voice tuning for EQ setting in HAWB
Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ic8f0e696280c87412f0f52657ae26360f00c29e5
2022-03-09 01:34:04 +00:00
Jasmine Cha
22fe48b297 audio: waves: update BAACL mps and ini
Bug: 203794965
Test: manual test
 P10: b/203794965#comment7
 C10: b/203817007#comment10

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I758791e6311ac1e33c1dd2aa16ad40bd636d9c7f
2022-03-04 10:02:32 +00:00
Carter Hsu
7585c7545a Revert^2 "audio: Update voice tuning 20220224"
fd3cebfa22

Change-Id: I161570a9f52f7586ab674c675b5fdaaad5457741
2022-03-02 13:09:51 +00:00
Carter Hsu
b8102093c5 Revert^2 "audio: iS900 table release of Fortemedia"
a0982ca489

Change-Id: If70327187c71a6df3c2dc05823ba6d5a08a83eef
2022-03-02 13:09:51 +00:00
Carter Hsu
a0982ca489 Revert "audio: iS900 table release of Fortemedia"
Revert submission 16996078-voip_speaker_separation-master-table-tm-dev

Reason for revert: <AoC is reverted by b/222138584>
Reverted Changes:
I85c654319:audio: voip downlink to stereo
Iac83ae74c:audio: iS900 table release of Fortemedia

Change-Id: I5bb1d1a0ba11b130f2ff56e8babf5402a135e8f4
2022-03-02 12:00:42 +00:00
Carter Hsu
fd3cebfa22 Revert "audio: Update voice tuning 20220224"
This reverts commit cbb9f05e5a.

Reason for revert: <AoC is reverted by b/222138584>

Change-Id: I4125a61c1142e0c6733f121b227d9ec652191a4b
2022-03-02 12:00:42 +00:00
Carter Hsu
cbb9f05e5a audio: Update voice tuning 20220224
FM table Changelist:
1. P10/C10 Based on iS900 : HA / HH / HE tuning setting for EVT1.1

Mixer changelist:
1. P10/C10 Change PCM Gain for Handset mode

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I5bfd1334f949540b2c87ea5b3aaed4c47eb6fb93
2022-03-02 02:04:31 +00:00
Carter Hsu
eb39103cd8 audio: iS900 table release of Fortemedia
Bug: 208951314
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iac83ae74ce2db1372bd0e2daeab93e96698a2ad7
2022-03-01 06:31:49 +00:00
Jasmine Cha
8002465010 audio: update baacl configuration
Bug: 204271308
Test: build pass
      adb shell audio_waves_custom_action_tests
      adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp"
      adb shell "echo 80 > /dev/thermal/tz-by-name/soc/emul_temp"

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6d32f82df45d80dfe2d1d16aad979b6277138402
Merged-In: I6d32f82df45d80dfe2d1d16aad979b6277138402
2022-02-24 11:40:47 +08:00
Carter Hsu
0947bfb59f audio: Update audio recording tuning
Bug: 216206051
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ic76a5c7deafb0a6a5c2390be5c1de2fcdb917ca2
2022-02-14 08:19:56 +00:00
Carter Hsu
c355b3bf5c audio: init Fortemedia table for 895
Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia67f75c4945117dab59d769c762e7867fcf1ac2d
2022-01-26 06:26:09 +00:00
Jasmine Cha
cb88a232bf audio: waves: enable battery throttle(action 258)
- use the same sound mode since preset file isn't ready

Bug: 204271308
Test: lr swap/mixed, mute, bypass
 Enable throttle:
 adb shell "echo 24000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 91 > /dev/thermal/tz-by-name/soc/emul_temp"
 Disable throttle:
 adb shell "echo 26000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 79 > /dev/thermal/tz-by-name/soc/emul_temp"

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iab25f082210d7f43e3439b010754332f6a48e511
2022-01-25 05:25:46 +00:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00