Commit graph

125 commits

Author SHA1 Message Date
Carter Hsu
01e067a7ab audio: FM table check for UDC QPR1
#HK3/SB3 (Ricky/Duncan)
  1. Modify kid's voice parameter for all band all usercases
    DR_RESRV_7: 0x122E
    DR_RESRV_8: 0x1100

Bug: 300422978
Test: verified by acoustic team
Change-Id: Ifb331a8d16b5bd76ead68141cc6f74c4d0458d8f
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-09-15 00:09:09 +00:00
Jasmine Cha
95b21eaf32 Merge "audio: add runtime tuning dump for bluenote" into udc-qpr-dev 2023-09-13 03:20:53 +00:00
Poomarin Phloyphisut
60b9ce0932 [USB Audio AIDL] Fix wrong capture path on mixer_paths.xml
Bug: 299388175
Test: Local Test
Change-Id: I856e1ad4dc9677b3e06f7c46c7e88b4c5681eed9
2023-09-10 15:56:16 +00:00
Carter Hsu
e1b0928b2a Merge "audio: using Fortemedia mcps table" into udc-qpr-dev 2023-09-07 01:16:43 +00:00
Carter Hsu
270debe4aa audio: using Fortemedia mcps table
Bug: 295415355
Test: Verified at b/295415355#comment4
Change-Id: Ia5027a73af93db3f77acb96d236b828760dc2d3d
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-09-04 05:18:14 +00:00
Yung Ti Su
f9c8cd244b add mixer path for BT SCO voice call
Bug: 297794937
Test: manual

Change-Id: Ied5cd99dbab9a29a8abe2b7fd35c2e19dc35aba0
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-08-31 10:23:02 +00:00
Jasmine Cha
389a9bc4d1 audio: add runtime tuning dump for bluenote
Bug: 298314391
Test: manual test

Change-Id: I81e8c64c1dfb9e2b34bb05689e5cf83467708d91
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-31 14:08:34 +08:00
Treehugger Robot
d19c9efb98 Merge "audio: FM table check in (2023/08/28) for telephony." into udc-d1-dev am: 7766aab2a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24495631

Change-Id: I5227860cb44c334aa359fc37b894bbe91ad9213a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 04:56:14 +00:00
Yung Ti Su
9fe8fb10b4 [AIDL] Add mixer paths for BT
Bug: 293221641
Test: manual

Change-Id: I6813b966a65fe9787be911037689e7a2a9d831ed
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-08-28 17:58:03 +00:00
Carter Hsu
4471e22a8d audio: FM table check in (2023/08/28) for telephony.
Change list:
- SB3 Handset (Duncan/Ricky)

1: Fine tune RFR above 10KHz(max vol and max-1 vol) for EVS SWB to get
   better echo loss performance during AMS ON  | Voice_Generic to fix b/290324911
2: Merge 1 to Handset/ RX FDEQ to TMO-US/CUSTOM1/CUSTOM2/RESERVE1/RESERVE2 SWB FDEQ
3: Adjust VoIP volume table to reduce minimal volume 1.5dB to fix dogfood
   report issue b/296222629
4. Optimized AMS parameter for all bands

-HK3 Handset (Ricky)
1. Optimized AMS parameter for HANB

Bug: 290324911
Test: verified by duncanlee@
Change-Id: Iec5065359a950ab55c81df3ec7c43e7de2b0cfb9
2023-08-28 16:17:48 +00:00
Joey Poomarin Phloyphisut
a5c805dc74 Merge "[USB Audio AIDL] Add mixer_paths for usb audio." into udc-qpr-dev 2023-08-24 05:49:50 +00:00
Poomarin Phloyphisut
01377d8433 [USB Audio AIDL] Add mixer_paths for usb audio.
Test: Local Test
Bug: 274870625
Change-Id: Ic8a587ad9ccf6fb35308f4e8acb58133894117e1
2023-08-23 07:40:39 +00:00
Treehugger Robot
1ef1991110 Merge "audio: FRC Exit recording tuning table update" into udc-d1-dev am: dc9acd635c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24442048

Change-Id: I2a6ac61139b853f552b0eb4fdbcc43eb5b2478ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 01:32:26 +00:00
yixuanjiang
7333c95f5f audio: FRC Exit recording tuning table update
DVT1.0 table check-in for DVT1.0-DM04 FRC Exit
It's the mitigation tuning aim for sound drop issue when there's high SPL heavy bass

Change list of new table:
Camcorder path
1. AGC
   GainApplied 0 -> -10
   minGain -29 -> -18
   longGainAtRt 20000 -> 100000
   GainAtRt 20000 -> 100000
   rmsTav 1000 -> 1500

Test: Verify by HW darren
Bug: 291402279
Change-Id: I18840c8f5a0afafbc671136a9ff25d790e6cd878
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
2023-08-17 06:30:57 +00:00
Jasmine Cha
31ea730ca1 audio: support boost mcps for handset swb
Bug:294182291
Test: manual test

Change-Id: I8d5d7d3326ca5bd26ac9557c1629e17150cb21bb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-15 06:41:55 +00:00
David Li
ddf9fc1741 audio: new AIDL configuration xml
Bug: 206737711
Test: mm
Change-Id: Id3eac7b9f3af897cf6163ecc90b6f07960eb0acd
2023-08-07 13:03:28 +08:00
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
Carter Hsu
d97b0e4c79 Merge "audio: FM table check in (2023/07/21) for telephony." into udc-d1-dev am: 015674ed13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24156931

Change-Id: I00012429554503a46a7ed403210de278ab0a4d8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 16:36:04 +00:00
Carter Hsu
98d37c17af audio: FM table check in (2023/07/21) for telephony.
HK3 Handset mode only

1. Modify SWB Tx NS in Handset | Voice_Generic to fix b/290052584
- TX_B_LESSCUT_RTO_WTA: 7FFF => 400
- TX_B_POST_FILT_3: 6000 => 800
2. Merge 1. to Handset | T-MOBILE-US/RESERVE2 and Handset_HAC | Voice_Generic/T-MOBILE-US/RESERVE2

Files from the latest attachment on b/292202012

Bug: 292202012
Test: verified by owenwu@
Change-Id: I91c225bd39b019f91186cdce4c42858959fa0f0e
2023-07-21 09:44:45 +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
ef6c063e05 audio: FM table check in (2023/07/14) for telephony. am: 27b3848fd2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24059489

Change-Id: I22c826494b1c3349ac14aa94198a6ab8802db9ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 11:19:40 +00:00
Carter Hsu
27b3848fd2 audio: FM table check in (2023/07/14) for telephony.
- HK3 HE
Turn on FENS on Condor V21 WB

Files from the latest attachment on b/291188539

Bug: 291188539
Test: verified by genewang@
Change-Id: Ia714954f58d32e3d6a95c88c28ada4d1c081e911
2023-07-14 07:33:59 +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
8a159ed3dc Merge "audio: FM table check in (2023/07/07) for telephony." into udc-d1-dev am: dd351182b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23971006

Change-Id: I4ce4523c2b57657df76fef0a96d152a399287086
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-12 08:52:53 +00:00
Carter Hsu
f0ea01a145 audio: FM table check in (2023/07/07) for telephony.
//fortemedia
- HK3 Speaker (Ricky)
1. Fixed HHSWB initial echo(b/287683435)
2. AMS HHWB performance optimization
3. Sync parameter from Generic to Custom1/2 and Reserve1

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

- HK3 Handset (Owen)
1. Merge latest SWB Tx settings of Vocie Generic to Custom1/2 and Reserve1
2. AMS

- HK3 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/290297588

Bug: 290297588
Test: verified by rickycheng@
Change-Id: I7b28d1af11ef7e830a8d46e0c1bbc549eda02805
2023-07-07 07:40:09 +00:00
Carter Hsu
0c967faf5a Merge "audio: FM table check in (2023/06/29) for telephony." into udc-d1-dev am: 32b5552fc7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23844657

Change-Id: I83af7a7e6e3a87488c8a53dff0b6335b4e6c593e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-03 02:33:54 +00:00
Carter Hsu
5cf39193fe audio: FM table check in (2023/06/29) for telephony.
- HK3 Handset.dat (Owen)
1. Modify WB Rx FDEQ(v0615), SPK_Vol, and DRC Gain(10dB) for POLQA-MOS/VolCurve in Handset | T-MOBILE-US
2. Enable WB CNG in Handset | Voice_Generic/T-MOBILE-US and Handset_HAC | Voice_Generic/T-MOBILE-US
3. Modify SWB Rx FDEQ(v0628) and SPK_Vol for POLQA-MOS/VolCurve in Handset | T-MOBILE-US
4. Modify WB Rx FDEQ(v0628), SPK_Vol, and DRC Gain(9.3dB) for POLQA-MOS/Orange FR in Handset | Voice_Generic
5. Modify SWB Rx MaxVol,Max-1,Max-2 FDEQ(v0628) for Orange FR in Handset | Voice_Generic
6. Turn off AMS for all Handset mode use case and merge AMS 2nd tuning parameter in Handset | Voice_Generic NB/WB/SWB

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

- HK3 Speaker (Ricky)
1. DVT fine-tuning - includes TX Pre-EQ, RFR, volume curve in all bands.

Files from the latest attachment on b/289337353

Bug: 289337353
Test: verified by rickycheng@
Change-Id: Ie05b7e414943bc338bbfb6c67c571b2969b81cd7
2023-06-29 12:27:03 +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
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
ed44ad0a05 Merge "audio: FM table check in (2023/06/15) for telephony." into udc-d1-dev am: 28c9cda2d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23696610

Change-Id: Ia5a208295306484da7308f31ce0b3adda85b1986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 03:56:42 +00:00
Carter Hsu
0d26816a73 audio: FM table check in (2023/06/15) for telephony.
- HK3 Handset.dat (Owen)
1. Modify WB Rx DRC Gain to 8.5dB and Tx DRC Gain to 14dB for DVT device in Handset | Voice_Generic
2. Modify SWB Tx DRC Gain to 15dB for DVT device in Handset | Voice_Generic
3. Modify NB Rx FDEQ(v0607), SPK_Vol, and DRC Gain(10dB) for T-MOS/VolStrp in Handset | T-MOBILE-US
4. Modify SWB Tx NS version to v0218 for b/286507869 in Handset | Voice_Generic
5. Copy item 4 to Handset | T-MOBILE-US & RESERVE2 and Handset_HAC | Voice_Generic, Tmobile-US, RESERVE2
6. Modify TX FDDRD DEADMIC_SILENCE_TH to 0x0006 and MIC_DEGRADE_TH to 0x2800 for all Tx

- HK3 Handsfree (Ricky)
1. Enable AMS with v1 fine tune parameter in all bands

Files from the latest attachment on b/287412136

Bug: 287412136
Test: verified by rickycheng@
Change-Id: Ia1f2c7349eee98bdaa75892793ee5b87c421b058
2023-06-15 09:35:01 +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
089c30d196 Merge "audio: FM table check in (2023/06/08) for telephony." into udc-d1-dev am: 3ec8480176
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23599964

Change-Id: I80cb5495e0e509b9c05951a537ca8d07b803da31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-09 07:17:29 +00:00
Carter Hsu
6495f821eb audio: FM table check in (2023/06/08) for telephony.
-HK3 Handsfree (Ricky)
1. SWB: Modify DR_RESRV_5 & 6 for kid's voice improvement

- HK3 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/286350695

Bug: 286350695
Test: verified by rickycheng@
Change-Id: I3c1b2c61ee92261827c2b5125b569f7bec3470a9
2023-06-08 08:39:20 +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