Commit graph

25 commits

Author SHA1 Message Date
Carter Hsu
8e8d9e5c7a audio: allow Fortemedia to notify setting to CCA
Bug: 237720492
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9946644bbf213dc9dc7226cc684923ac7eb53351
2022-09-23 02:53:09 +00:00
vincenttew
afbec8c62b audio: extand the period number of hifi usecase
extend this to prevent alsa trigger stop playback
and causing pop

Bug: 238056484
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: If9866a5755178a7c76b22dcbd75b9b9e1dc87620
2022-09-20 15:20:09 +00:00
Carter Hsu
04d3f9c903 audio: enable USB clock boost on SWB voice-call
Bug: 245421488
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I57f4b31c4afdbeede7556abc1a65adab66a7541a
2022-09-14 01:05:30 +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
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
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
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
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
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
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
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
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