Commit graph

155 commits

Author SHA1 Message Date
Carter Hsu
8c5fbef7ed Merge "audio: disable Fortemedia MCPS table" into udc-d1-dev am: c80c66cb25
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24211589

Change-Id: I85fc3e1c93c7f6b5e58a7a0fed4d00275f848f8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 01:39:57 +00:00
Carter Hsu
559f36c30a audio: disable Fortemedia MCPS table
Use the HAL code to control the MCPS and boost
the handset MCPS on SWB scenario

Bug: 292154162
Test: verified on test build
Change-Id: I6418e13a37d9b9d796f726218ce9b5de2534efa9
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-08-01 07:06:26 +00:00
Carter Hsu
ea872f8172 audio: adding HDMI to all policy configurations
Bug: 264508873
Test: build pass
Change-Id: I3a55089732bee260817ea28874a92d8ae5b9b4f3
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-07-26 00:39:04 +00:00
TreeHugger Robot
1507520185 Merge "audio: Recording tuning table update - 9th Ver." into udc-d1-dev am: 4885381964
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24140783

Change-Id: Ia1113cc61e4258d109edcd45b77544ddc8429dc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 15:22:41 +00:00
yixuanjiang
7c382dd43b audio: Recording tuning table update - 9th Ver.
DVT1.0 table check-in for DVT1.0-DM04 RC Exit
Change list of new table:

Camcorder path
1. remove all AZ gain in surround module
2. MBDRC
   gain_dB low/mid/high  24/24/24
   Min_Gain_dB low/mid/high  -29/-29/-29
   threshold_dB[0] low/mid/high  -85/-85/-89
   threshold_dB[1] low/mid/high  -33/-33/-33
   kneeWidth[0] 6/6/6
   kneeWidth[1] 6/6/6
   attackTime[0] 100/100/100
   attackTime[1] 10/10/10
   attackTime[2] 20/20/20
   releaseTime[0] 300/300/300
   releaseTime[1] 20/20/20
   releaseTime[2] 100/100/20
   limiter: gain_dB: 3, threshold_dB: -3.3, atrt fix in 5

Mic path
1. MBDRC
   limiter: gain_dB: 3, threshold_dB: -3.3, atrt fix in 5

Test: verify by HW darren
Bug: 291942899
Bug: 292018225
Change-Id: I62e7459be6017c8d86c0534af19e07ee968eb828
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-07-20 11:02:58 +00:00
Rios Kao
6833c3c2bc Merge "aidl: sthal: add support for aec record in mixer table" into udc-qpr-dev 2023-07-18 07:38:47 +00:00
Jasmine Cha
2e2c31cea8 audio: sync cca setting from hidl
Bug: 289859350
Test: build pass

Change-Id: I66c28ced092189fce199eb8c8250c2bf836ac4af
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-07-18 04:38:28 +00:00
Carter Hsu
3ca4e03015 Merge "audio: FM table check in (2023/07/14) for telephony." into udc-d1-dev am: 3978e8ea38
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24069199

Change-Id: I2f7d5627abad2f3f5b57a32fcb805cac0ee97cad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 11:20:02 +00:00
Carter Hsu
299ee78dda audio: FM table check in (2023/07/14) for telephony.
- SB3 HE
Turn on FENS on Condor V21 WB

Files from the latest attachment on b/291188480

Bug: 291188480
Test: verified by genewang@
Change-Id: Ib7b23277c04d736b9d9435a1831ab6f5a58b5513
2023-07-14 07:36:29 +00:00
Rios Kao
052c18b3e0 aidl: sthal: add support for aec record in mixer table
note: This table is only used by AIDL Sthal.

Bug: 291186942
Test: end-to-end enable path by quick phrase.
Change-Id: I3b9e6ca77b70e3a95456c5553d91dbebf4c0ef17
2023-07-14 06:57:41 +00:00
Robert Lee
7339e8dbe1 Merge "audio: add hdmi path" into udc-qpr-dev 2023-07-13 03:30:43 +00:00
Robert Lee
eed6b38128 Merge "audio: add HDMI device handler" into udc-qpr-dev 2023-07-13 03:30:43 +00:00
Carter Hsu
0e2c6ba5c4 Merge "audio: FM table check in (2023/07/07) for telephony." into udc-d1-dev am: 34809d551f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23971004

Change-Id: Ib152cf28e0dff1d84186a798297799d32a0846ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-12 08:53:02 +00:00
Carter Hsu
e9da29391b audio: FM table check in (2023/07/07) for telephony.
//fortemedia
- SB3 Handset.dat (Duncan/Ricky)
1: Fine tune RFR WB/SWB for Orange mask
2: Reduce RLR 0.5dB for NB/WB
3. AMS fine tuning v2

-SB3 Speaker (Ricky)
1. HHSWB ECDT performance optimization
2. AMS all bands performance optimization
3. Sync parameter from Generic to Custom1/2 and Reserve1

-SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

- SB3 BT (Gene)
- Make RX Stereo process for VoIP call (RESERVE2-SWB)

//audio platform (Chilin)
1. Stereo processing enabled for BT

Files from the latest attachment on b/290297333

Bug: 290297333
Test: verified by rickycheng@
Change-Id: Icb2544d37cd063abd9cb700f7a9f95cc3deb435f
2023-07-07 07:37:29 +00:00
Carter Hsu
9b8a75be44 Merge "audio: FM table check in (2023/06/29) for telephony." into udc-d1-dev am: 221ec64db0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23844658

Change-Id: Ia7b6e5a66b175ba8cf2e742392fc1cab3b8fb5cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-03 02:33:44 +00:00
Carter Hsu
56150ab028 audio: FM table check in (2023/06/29) for telephony.
- SB3 Handset.dat (Duncan)
1: Update NB/WB/SWB PREEQ1/2 for DVT
2: NS outward 60 degree update
3: NB/WB/SWB SLR fine tune

- SB3 Headset (Gene)
1. Enable FENS for HEADSET-GOOGLE_CONDOR_CERTIFICATION1-VOICE_GENERIC-NB

Files from the latest attachment on b/289338520

Bug: 289338520
Test: verified by rickycheng@
Change-Id: Id4c1ccec2d8c9228eaaf35ec8f2ec577fada6bf8
2023-06-29 12:34:52 +00:00
Jasmine Cha
13fbb117f6 audio: move controls for acoustic shock and battey throttle.
Bug: 274373213
Test: manual voip test/ device, host test
 vendor.google.whitechapel.audio.hal.audio.tuner_device_tests
 vendor.google.whitechapel.audio.hal.audio.tuner_tests

Change-Id: I9d0d67beb1e78258f390801b3a4c9ac92bd06bf1
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-28 16:38:54 +08:00
Treehugger Robot
9fb00d6bb4 Merge "audio: Recording tuning table update - 8th Ver." into udc-d1-dev am: 673c663a19
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23759586

Change-Id: I8c7b190411ded061c2dc5fcd5c567f0a6433b8e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-26 08:54:03 +00:00
Treehugger Robot
673c663a19 Merge "audio: Recording tuning table update - 8th Ver." into udc-d1-dev 2023-06-26 08:07:29 +00:00
Jasmine Cha
a986f7352d audio: update playback tuning am: f1a154e316
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23810083

Change-Id: Ic3a35259a681c3c55ca552706390c17b195c8e8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-26 06:59:59 +00:00
Jasmine Cha
f1a154e316 audio: update playback tuning
- Fixed cracking piano issue
- Improve vocal muddiness issue
- Updated stereo balance
- Maintain as much of previous timbre as possible
- Reworked volume curve to match previous tuning
- Added improved BAACL tuning
- Added thermal throttle (2nd linklaw) tuning for 580mW
  bottom speaker limit @ 46.5degC

Bug: 288460371
Test: tested by hardware team
 - Basic MPS functionality / glitch checks
 - Acoustic Objective measurements (MTV and GTW).
 - Perceptual testing (PTE)
 - UX MTV 30 users
 - Thermal (vmon/imon): Pass
 - Battery (vmon/imon): Pass
 - Battery (Monsoon internal): Pass

Change-Id: Ie03c3124535a7c5ebb86540475827829f8dfc0f7
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-26 10:43:27 +08:00
yixuanjiang
be3f3955f5 audio: Recording tuning table update - 8th Ver.
HK3 DVT1.0 Beta-DM04 Exit recording tuning table update
change recording.gatf and template.xml this time.
DVT1.0 table check-in for DVT1.0 Beta-DM04 Exit
Change list of new table:

Camcorder path
1. AGC ideal:-34 minGain:-29
2. Fine tune IIR1
3. Fine tune Surround/AZ parameters, compensate low frequency for AZ
4. MBDRC threshold low/mid/high  -85/-84/-84, -33/-33/-33
5. SNS parameters update and the template update -> bin threshold(173/202/254/364/513)

Mic path
1. disable AGC module on mono/stereo mode

Test: verify by HW darren
Bug: 288210161
Bug: 288210947
Change-Id: Ifcd69430da41f89b5e8022535c1984ab49038680
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-06-26 01:59:19 +00:00
Carter Hsu
1cfda0e043 audio: add hdmi path
Bug: 264508873
Test: verified on test build
Change-Id: I85a5df9e4f3404219c1c7f33ebe368063b3a9706
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-06-20 00:24:09 +00:00
Carter Hsu
b2b86f9338 audio: add HDMI device handler
Bug: 264508873
Test: verified on test build
Change-Id: I9ab084232f0dcaa03546de11d134c28f82a8f232
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-06-20 00:23:45 +00:00
Carter Hsu
eab30c11ca audio: FM table check in (2023/06/15) for telephony. am: 1bde106759
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23696608

Change-Id: Ibface08ce9c61c3cd3d8db82e340950580ee66b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 03:56:05 +00:00
Carter Hsu
1bde106759 audio: FM table check in (2023/06/15) for telephony.
- SB3 Handset (Duncan)
1. HA update with mic health parameter in all bands

- SB3 Handsfree (Ricky)
1. Enable AMS with v1 fine tune parameter in all bands
2. Fix long distance speech intermittent in WB
3. DVT fine-tuning - includes TX Pre-EQ, RFR, volume curve in all bands.

Files from the latest attachment on b/287412815

Bug: 287412815
Test: verified by rickycheng@
Change-Id: Ieb41ea6dc9c2bc9c335a1681dc1c670e65737e0d
2023-06-15 09:32:38 +00:00
Jasmine Cha
a8b682da80 Merge "audio: control current limit specifically" into udc-qpr-dev 2023-06-15 08:51:09 +00:00
Jasmine Cha
e5c5310a12 audio: control current limit specifically
This value will be changed by battery throttling, so separating this
from reqular path control.

Bug: 274373213
Test: manual test

Change-Id: I19b59d188855e05907e12e8340aadebb47cef9b0
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-13 16:33:31 +08:00
Carter Hsu
bed0f8b3dd Merge "audio: FM table check in (2023/06/08) for telephony." into udc-d1-dev am: 9374da492f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23599965

Change-Id: I700e4f2457d5c984d55f138ab3f1d3dcd2eed56f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 07:17:22 +00:00
Carter Hsu
2a80f2641d audio: FM table check in (2023/06/08) for telephony.
-SB3 Handset (Duncan)
1: fine tune VoiceGeneric NB RLR/ SLR/SFR
2: VoiceGeneric WB RLR/RFR/SFR
3: VoiceGeneric SWB SLR/RLR
4: Reserved2 SWB SLR/RLR

-SB3 Handsfree (Ricky)
1. SWB: Modify DR_RESRV_5 & 6 for kid's voice improvement

-SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/286350810

Bug: 286350810
Test: verified by rickycheng@
Change-Id: Ib2ab7a4531085b7e27bc207354c1b62f236ea750
2023-06-08 08:41:52 +00:00
David Li
346697140d Merge "audio: enable offloaded DPE" into udc-d1-dev am: 987e3a91a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23580098

Change-Id: I776bf7998a924ed139a5728187c35cdda155f1b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-07 03:15:08 +00:00
David Li
987e3a91a8 Merge "audio: enable offloaded DPE" into udc-d1-dev 2023-06-07 02:29:53 +00:00
Yixuan Jiang
53bfb21b7b Merge "Recording tuning table update - 7th Ver. For EVT1.1" into udc-d1-dev am: e35cfe6253
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23275538

Change-Id: I3e2130c09a0be1db0c9b81f240996e6f731732a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 10:32:02 +00:00
David Li
d3a89c3893 audio: enable offloaded DPE
Bug: 278812541
Test: Adaptive sound and Juno app
Change-Id: I98890f0aded57fb1724472b52e97a47e9168ffd6
2023-06-06 10:10:09 +00:00
yixuanjiang
9281eea960 Recording tuning table update - 7th Ver. For EVT1.1
Add AGC in SA-lite.
Related aoc has merged: b/259648456

Test: Hw verified
Bug: 282918858
Bug: 282916925
Change-Id: I3bcd60a4176c8d54cd9a8ea9e3233615e437ab93
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-06-06 05:12:46 +00:00
David Li
1073c0a490 Merge "audio: update audio AIDL config files" into udc-qpr-dev 2023-06-06 01:04:29 +00:00
Jasmine Cha
aa189ef3ef Merge "audio: update waves tuning for phone call" into udc-d1-dev 2023-06-02 08:43:55 +00:00
Jasmine Cha
e5dc65c64a audio: update waves tuning for phone call
waves_config.ini
 - support phone call mode w/ new OM and preset name
waves_preset.mps
 - add lite tuning preset in OM9 (only using PEQ non-discrete +
   MaxxVolume limiter)

Bug: 285360691
Bug: 285361118
Test: manual test

Change-Id: Ia3d1d6e5dba1f8cfa445a0744b3c5597e47a95f2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-02 09:48:07 +08:00
Carter Hsu
acc3575027 audio: FM table check in (2023/06/01) for telephony.
- SB3 Headset (Gene)
Fine tune 3rd party USB-C adaptor by using Samsung EE-UC10.

- SB3 Handset (Duncan)
1: Fine tune TMOUS WB SLR
2: Noisy environment up eye improve on VoIP/VOICE_GENERIC NS
3: TMOUS NB/SWB RLR fine tune
4: VoiceGeneric/TMOUS WB TX enable CNG
5: Update VOICEGENERIC/TMOUS NB/WB/SWB TX  PREEQ1/PREEQ2 for EVT1.1 setting

- SB3 Handsfree (Ricky)
1. Fine tune NS_type 3 to mitigate noise pumping in SWB (b/279143103)
2. Fine tune low-freqency to improve power consumption in WB

Files from the latest attachment on b/285255101

Bug: 279143103
Bug: 285255101
Test: verified by rickycheng@
Change-Id: Ibd4bdc48aa0e046e028fde50d485c5687f137926
2023-06-01 09:08:40 +00:00
David Li
f5bd1f1e7d audio: update audio AIDL config files
- remove audio_policy_configuration.xml
 - add in-call-capture paths
 - add "PCM Soft Ramp" for speaker amp
 - set default "Digital PCM Volume" to 0
 - set "AoC Chirp Enable" in "speaker-earpiece (VOICE)"

Bug: 206737711
Test: mm
Change-Id: Iafedbc05b75b689f2dd3bb55792f282ca39e7c21
2023-06-01 07:19:41 +00:00
Treehugger Robot
9305489bee Merge "Revert "haptics: update hapitcs sink and slot setting"" into udc-d1-dev 2023-05-30 16:12:09 +00:00
Carter Hsu
29dc1462f8 audio: FM table check in (2023/05/25) for telephony.
- SB3 Handset(Duncan)
Update PREEQ1/PREEQ2 for EVT1.1 VOICE_GENERIC NB/WB/SWB and RESERVED2 SWB

- HK3 Headset (Gene)
1. Apply ultra low latency mode for Google Condor V21 and F821 for Field and Certification test.
2. Parameter change:
a.  V21:
a-1) Enable Ultra low latency on RX
a-2) Disable TX EQ to make TX EQ flat
b.  F821:
b-1) Copy New_V21 to F821
b-2) Add NB RX gain for field NB test
c.  3rd party adaptor:
b-1) Copy old_V21 to HEADSET-RESERVE1
b-2) Tune TX EL WB EQ to pass the HD-Voice mask
b-3)Reduce TX loudness 1dB for NB WB SWB
d. Globle
Copy Condor RX to Condoer Headphone RX

1. Back to 0428 -> Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Back to 0428 -> Handsfree RX setting to HCO-RX

Files from the latest attachment on b/284255632

Bug: 284255632
Test: verified by rickycheng@
Change-Id: I2035f2be8fc71fa1665ffb5e1fb698fb25061b61
2023-05-25 08:38:00 +00:00
Carter Hsu
94d900d933 audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony.
1. Mixer_path: Modify L/R PCM volume for voice-speaker from 801 to 817

2. FM table
- SB3 HANDSET.dat (Duncan)
1: VoIP SWB improve NS distortion under quiet environment
2: Adjust the RLR NOM/MIN for PTCRB certification
3: Align NS B_POST_FILT_0 to 4000/1000/1000 as P10 for TMOUS position T-MOS/POLQA unstable
4: Fine tune WB SFR for better TX POLQA MOS
5: Copy VOICE_GENERIC SWB -> RESERVED2 SWB
6: Copy VOICE_GENERIC NB/WB/SWB TX -> HANDSET_HAC TX

- SB3 Headset (Gene)
1. Enable mixer for voice call on RX1 and RX2
2. Disable Mixer for VoIP call on RX1 and RX2
3. Enable SWB RX low delay for Voice and VoIP call  on BB, Condor V21, Condor F821, 3rd party adaptor, Condor V21 Headphone

-SB3 Spekaer (Ricky)
1.RX fine tuning - all bands with RLR 5.5dB
2. TX fine tuning for EVT1.1 - all bands SFR/SLR
3. TX performance unstable problem fixed
4. all bands Volume curve fine tune

- SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/283214955

Bug: 283214955
Test: verified by rickycheng@
Change-Id: I5e52733076ea3845795846f7f5ee166cbe83bcef
2023-05-18 12:30:28 +00:00
Treehugger Robot
6c294bd68e Merge "Revert "audio: FM table check in (2023/04/13) for telephony."" into udc-d1-dev 2023-05-17 08:19:43 +00:00
Jasmine Cha
391464076e Merge "audio: use VIRTUAL-SKIN-SPEAKER for playback throttle" into udc-d1-dev 2023-05-17 05:39:02 +00:00
Jason CH Hsu
55915c839b Revert "audio: FM table check in (2023/04/13) for telephony."
This reverts commit 95e65ad4c8.

Reason for revert: remove temp WA and requires aoc ag/23243138

Bug: 277993237
Change-Id: Ie87648482160edffd29e3548402e887b166a43d4
2023-05-17 04:13:50 +00:00
Tai Kuo
12c436b395 Revert "haptics: update hapitcs sink and slot setting"
This reverts commit be92d60ec5.

Bug: 278018625
Test: Check audio coupled haptics at the sound preview app.
Change-Id: I35d52c31015c13670fc6d4e8ef57a3d0ea641391
2023-05-16 16:00:53 +08:00
Jasmine Cha
cc7f844429 audio: use VIRTUAL-SKIN-SPEAKER for playback throttle
Bug: 282062889
Test: manual test

Change-Id: I30fcb91c4f8dc8d9208389f551034e829166afda
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-15 03:42:31 +00:00
Treehugger Robot
3590c2c131 Merge "audio: add mute duration for primary output" into udc-d1-dev 2023-05-15 02:19:24 +00:00
Jasmine Cha
e82522ec9d audio: add mute duration for primary output
- beginning of previous notification is cut off.

Bug: 282118346
Test: preview notification

Change-Id: I914bee1db3a88883e52f8196382f64622744e1df
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-12 15:53:12 +08:00