Commit graph

35 commits

Author SHA1 Message Date
Yung Ti Su
df7373e194 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:
Handset HAC:
Update EVT tuning for HAC mode T-coil signal testing FR failure


Handheld mode:
Sync Reserve 2 SWB setting to custom 1 (VoIP-EC-off) / custom 2 (VoIP-NR-off) / reserve 1 (VoIP-NREC-off) and disable NREC for related setting.

Files from the latest attachment on b/244539071

Bug: 244539071
Test: verified by hardware engineers
Change-id: I0b131b7e2afe69ff24bb30dfbf18812d4329d32e
2022-09-01 12:00:17 +00:00
Yung Ti Su
4a05db1b89 audio: 1. Re0 range modification
1. change Re0 range from Typical+/- 15% to +/-10% for factory build

Files from the latest attachment on b/243387067

Bug: 243387067
Test: verified by hardware engineers
Change-id: Ife86a6093d6e87224f432cb9b89c8f0c593cfe37
2022-08-23 09:36:02 +00:00
Yung Ti Su
b85cfe1614 audio: Phase in fortemedia tuning tables and platform configuration file
Change List :

Fortemedia:
Handset :
Optimal performance to meet 3GPP requirement for NB/WB/SWB/Reserve2 SWB (RLR/SLR)
CCA light FNS to generic/TMOUS  NB/WB
Sync generic setting to TMOUS
Sync TX setting to HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Optimal performance to meet 3GPP requirement for NB/WB/SWB/Reserve2 SWB (RFR/RLR/ECDT)
CCA light FNS to NB/WB
Sync TX setting to
- BT-HAC / Condor-Headphone / TTY-VCO (NB/WB)
- BT-HAC SWB / BT-HAC Reserve2 SWB / Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB
Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB
SS to Reserve2 SWB (FFP off, stereo on, RX setting to RX2)

Headset :
sync P10 20220818 version

Bluetooth :
sync P10 20220818 version

Platform configuration :
Add for CCA
<intf id="BE_VIRTUAL_CRYSTAL_CLEAR_AUDIO_TUNING" block_id="138"/>
<module libname="audio_cca_aoc.so"/>
Modify for SS
<module libname="audio_fortemedia_aoc.so" argu="DL_CH=y VoIP_DLCHs=SPK:2,USB:2 VoIP_Rate=32000"/>

Files from the latest attachment on b/243344253

Bug: 243344253
Test: verified by hardware engineers
Change-id: I57e897a1ee9c8dab2ace0051d148c36639911bd6
2022-08-22 08:41:07 +00:00
David Li
1db103ba10 audio: Phase in Waves mps file and volume curve audio_policy.xml file
I put L10 EVT tuning files in the attached file.

L10 EVT HW modify Proto speaker.
I need to re-tune mps file.
I base on EVT speaker make this mps file tuning.


And slightly lower volume step 21th to let volume curve smoothly.
So, I modify audio_policy.xml file.

Files from the latest attachment on b/242521368

Bug: 242153654
Bug: 242521368
Test: verified by hardware engineers
Change-id: Ide63f88ee7aa55f4b79c53de2d70314bc20ab285
2022-08-16 10:05:27 +00:00
Yung Ti Su
5c1334c7d6 audio: [L10] Recording tuning table update 8/5 - EVT Ver. For 1st assessment
Change list :
1. adjust IIR1 as main filter for flat FR in camcorder path.
2. for camcorder path, implement all 6 scenarios with same parameters except linear gain module, and use linear gain to swap channels.
3. fine tune and swap the channels in mic path.

Files from the latest attachment on b/241720915

Bug: 241498250
Bug: 241720915
Test: verified by hardware engineers
Change-id: Iea93f2d118c30bcd83c44c2227ce68a3bfa8074d
2022-08-08 06:28:07 +00:00
Yung Ti Su
fb9da3e3b5 add support for BLE Broadcast output
Bug: 210987580
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I544636e4fac94142b06aa38d4c0957de36f0ebea
2022-08-04 03:38:21 +00:00
Yung Ti Su
684e46c4cf audio: update speaker bins
Change list:
1. Bot spekaer model for EVT version

Bug: 223513454
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I9b0e79d296328e790b01e33f84d86aa18b572d8f
2022-08-03 04:36:51 +00:00
Yung Ti Su
a8d6785778 audio: update speaker bins
Change list
1. modify Rtrace in cali/diag.bin

Bug: 223513454
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ia6f0c6346b58f6e149a7fbe41f360d4ac92d99f9
2022-08-03 04:36:51 +00:00
Yung Ti Su
cd8e8f7a36 update fortemedia tuning table
Change List :

Handset :
Sync P10 20220712 TX setting
Optimal performance to meet 3GPP requirement for EVT NB/WB/SWB
Sync generic setting to TMOUS
Sync TX setting to HAC / TMO-HAC /  HAC Reserve 2 SWB

Handheld :
Sync P10 20220712 TX setting
Optimal performance to meet 3GPP requirement for EVT NB/WB/SWB
Sync TX setting to
- BT-HAC / Condor-Headphone / TTY-VCO (NB/WB)
- BT-HAC SWB / BT-HAC Reserve2 SWB / Condor-Headphone SWB / TTY-VCO SWB / Condor-Headphone Reserve2 SWB / TTY-VCO Reserve2 / Reserve2 SWB
Sync RX setting to
- TTY-HCO (NB/WB)
- TTY-HCO SWB / TTY-HCO Reserve2 SWB / Reserve2 SWB

Headset :
Sync P10 20220712 setting

Bluetooth :
Sync P10 20220712 RX setting

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id9bfb7e7d47840e7cf06ad7d98aecf9750ec1685
2022-08-01 11:03:49 +08:00
Jasmine Cha
6f3b7806be audio: enable BAACL (amp only)
Bug: 227715448
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I4f86f3744a7aeaaf67764d8db7f9c2641ca62a83
2022-07-26 02:09:52 +00:00
Yung Ti Su
068108f9ee Recording tuning table update
Change list:

 1)2048 FFT size WNR
      mid(17) pid(31) param(COHERENCE_END_BIN)
      5 ==> 10

      mid(17) pid(37) param(SP_GAIN_MAX_BIN)
      8 ==> 18

      mid(17) pid(46) param(GMIN_LINEAR_SPLIT_MID_POINT_BINR)
      27 ==> 55
 2)AGC pumping
      rmsTav
      200 ==> 1000

Bug: 236802184
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I2c1a373d38dc0f63dc015f050af589378a1dc367
2022-07-21 11:40:18 +00:00
Yung Ti Su
6706afc0bc add the missing audio_policy_configuration_le_offload_disabled.xml back
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I28286331bcbff5cff2ecdd772eb564dfde554217
Merged-In: I04fc1306eb15ea2ae102f65b59c1b1cca2070dd1
2022-07-15 11:27:32 +08:00
Yung Ti Su
e4dd1d78a2 Recording tuning table update 6/22 - Initial Ver.
Change list :
  1. adjust IIR for flat FR in camcorder and mic path.
  2. check in the latest parameters from C10/P10

Bug: 236802184
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I1038eae584efa9209f6ba28d4783457e35aa7757
2022-06-28 09:03:09 +00:00
Yung Ti Su
390a3384e6 update fortemedia tuning table
Change List :

Handset :
Sync TX setting to HAC / TMO-HAC / SWB Reserve 2 HAC

Handheld :
Optimal performance to meet 3GPP requirement for NB/WB/SWB
Sync HH TX setting to
- Condor-Headphone / TTY-VCO / BT-HAC
- SWB Reserve 2 / Condor-Headphone Reserve 2 / TTY-VCO Reserve 2 / BT-HAC Reserve 2
Sync HH RX setting to
- TTY-HCO
- SWB Reserve 2 / TTY-HCO Reserve 2

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I9c0fd7c2cf633062216be82a138b26efa07c8907
2022-06-27 20:15:29 +08:00
Yung Ti Su
fd83fe7c6d correct mic id capture list
Bug: 236579372
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ia6f2a1e3ffefb5d69fb791a4b8612ba741965346
2022-06-22 06:49:06 +00:00
Yung Ti Su
59db776134 add EP ID settings for mfg
ag/18185767 corresponding to the change in mixer command

Bug: 235866657
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I4417096aa337f07d5bd526c51db6b2da7d2068db
2022-06-17 06:18:57 +00:00
Yung Ti Su
8a2868771d audio: update speaker fw and bins
Change list:
L10 proto 1.1 tuning with 0520 FIR filter

Test: manual
Bug: 223513454

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Iad5c01a9e2593abe764e9e996073783127b60a8a
2022-06-09 08:48:31 +00:00
Yung Ti Su
a14291738e sync the audio_policy_configuration with P10
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I6120c69a27611c62000f6921bcb08e3a70860152
2022-06-07 12:30:44 +00:00
Yung Ti Su
f97834d593 L10 initial tuning for Waves
Change list:
For waves_preset.mps
It increases top speaker excursion and reduce temperature to get better performance.

For audio_policy_volumes.xml
It changes volume curve to accompany with waves_preset.mps, which helps to get linear volume curve.
I also change DTMF, Ringtone, System sound volume curve to satisfy user expectation.

Bug: 234094724
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I085089de96d366480c70da6d86e6d7983033a631
2022-05-30 13:30:19 +08:00
Yung Ti Su
6a6b49367d update fortemedia tuning table
Change List :

- Handset
Optimal performance to meet 3GPP requirement for NB/WB/SWB
HAC: Modify DL FDEQ subband number for further tuning

- Handheld
Modify 3MIC solution to 2MIC solution

Bug: 230558942
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id84bf3f8bbe94c888201a65b28d6cd61f19fb00e
2022-05-23 04:49:41 +00:00
Yung Ti Su
e1b4869cd8 update Boost Peak Current Limit
Due to BAACL not turned on as default

Test: manual
Bug: 232059631

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I0414e20bf6e2d1ca24d5462e66a34a888cb40496
2022-05-20 16:30:58 +08:00
Carter Hsu
a9efd4fcfe audio: update Fortemedia VoIP condition to reserve2
Bug: 226869868
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib8e5662258636c5ceffa9664f94a6adcd60c097a
2022-05-12 17:11:38 +08:00
Carter Hsu
55508dcd79 audio: allow mmap-record to set dsp volume
Bug: 231630423
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ide33b33103165f8af7ed57cd033f7ee499a7edc8
2022-05-11 03:00:58 +00:00
Yung Ti Su
bfbc6e2545 L10 1st version of fortemedia tuning table
Change List :
sync P10 20220422 version

Bug: 230558942
Test: build pass

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I15774cf0f5dc689a10c334025f3b120ebec62b85
2022-05-06 09:42:46 +08:00
Tai Kuo
1b93fdd730 haptics: enable hapitcs sink and slot setting
Bug: 220068530
Test: trigger audio coupled haptics via sound picker app
Change-Id: I08885ae97e6f47a2840680481c3f9fb56cbe3c47
2022-05-03 16:17:19 +00:00
Yung Ti Su
9c46438429 audio: update speaker fw and bins
Change list:
1. speaker model for proto stage
2. enable PICL function

Bug: 223513454
Test: build pass

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Id5312b1932343c8f75fd9a9935cd9330c26d62ec
2022-04-14 02:49:24 +00:00
Rios Kao
41683348a8 audio: sync mixer table for Eraser capture
Bug: 227697054
Test: build pass.
Change-Id: I13f4a95ebc5323e67c6e488c87b468c6800452f0
2022-04-01 07:22:49 +00:00
Patty
66503277b6 Add LE audio policy file
Bug: 224661734
Test: Connect with LE audio device and play music
Change-Id: I3f2b2d3dd04b492e8ecc800000fe62ac02796674
2022-03-29 09:15:20 +00:00
Yung Ti Su
f6939a76f0 audio: update speaker fw and bins
Change list:
1. Created a conservative speaker model for factory
2. Set an initial Re0 range for factory
3. Update firmware 29.65.0

Bug: 223513454
Test: build pass

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Iaf9213915d6d2b3258c59d361ff999e1d0da3c09
2022-03-09 16:37:23 +08:00
Yung Ti Su
98d195091f audio: Switch 96K to 48K TDM speaker playback
Bug: 215443626
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ie96eebbdce08f4092989466508a5001918a363c9
Merged-In: Ie96eebbdce08f4092989466508a5001918a363c9
(cherry picked from commit 8d2eb86893)
2022-02-23 02:30:54 +00:00
Yung Ti Su
c08b889498 factory: add usb_headset_mic support for MFG_API
Bug: 214585271
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ieba43e651dbc06778849a03768d256f75a10ebef
2022-01-25 05:38:53 +00:00
Robert Lee
d943b39116 audio: enable default 96k
Enable default 96k sample rate to fix the noise issue when enabling
96k speaker protection with 48k sample rate setting.

Bug: 206060532
Test: audio normal after device boot with speaker protection enabled
Change-Id: I6a62984c25497b38544a8463a86c30cae0a37098
Signed-off-by: Robert Lee <lerobert@google.com>
2022-01-05 09:42:34 +00:00
Yung Ti Su
8b94566230 Lower the speaker AMP Gain for 96k ASP mode
Bug: 210927949
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I41fd333c7969e91f29efb74b605fcbec46650faa
2021-12-23 08:49:35 +00:00
Yung Ti Su
b28a37c992 audio: enable 96K speaker playback & correct mic2 id
Bug: 210927949
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ie1e4537176f6df53780f258cd9924913df476f50
2021-12-16 02:15:11 +00:00
Cyan_Hsieh
2aa4ba2268 Add device lynx
based on panther 0e0ae4dd4045e00dd50826d5c411351d47949d92
No-Typo-Check: based on above commit

Bug: 202250383
Change-Id: I7dbcba9fc0644cf8e547c59b14a544701adc484b
2021-10-29 16:55:09 +08:00