Commit graph

84 commits

Author SHA1 Message Date
Rios Kao
be6bada41f tegu: APMg3 tuning files
note:
     - Update tuning of APMg3 with version 0807
     - Fix crash of channel upmixing correction.

Bug: 343339070
Test: manually test by test build
Flag: EXEMPT voip feature
Change-Id: Id118582f3e560b99395836a9bcb863cac7318f3e
2024-08-07 02:01:03 +00:00
Rios Kao
72eb1ad643 tegu: update libspeechenhancer 0805
note:
     remove leakage words.

Test: build pass.
Bug: 343339070
Flag: EXEMPT update library
Change-Id: I0dd686685e74eed309c9938bb9e041d9c766da7e
2024-08-06 09:22:01 +00:00
Treehugger Robot
c0ca60a59f Merge "tegu: Update xml for recording setting" into main 2024-08-01 07:38:01 +00:00
Yixuan Jiang
971c9743ce tegu: Update xml for recording setting
Bug: 356733590
Change-Id: I3e3e160d00f9987e778963852b9073761010e897
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-08-01 14:54:32 +08:00
Rios Kao
601fdeaab9 tegu: support libspeechenhancer
note: 0731 library which supports handset mode

Bug: 355579656
Test: end-to-end test.
Flag: EXEMPT extend existed feature.
Change-Id: I48d4d2479623b3a75c32d34ee093c4dae260f161
2024-07-31 11:29:02 +00:00
Rios Kao
bd5f3d04c0 tegu: enable HAC
Test: build pass
Bug: 342060192
Flag: NONE bugfix
Change-Id: I21a398b9df58de4c9d84e2628e4f56ec80a323ed
2024-07-30 11:03:15 +00:00
Rios Kao
a89a2911b1 tegu: add incall stream 3 for gsenet uplink
note:
     - Add new use-case for gsenet voip

Test: build pass
Bug: 343339070
Flag: NONE EXEMPT add path for existed feature.
Change-Id: Ibc6f160faedfe799889ae0f1fc0bccab6b832958
2024-07-30 01:34:51 +00:00
Rios Kao
e71e442c6f audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Check in PTCRB setting,
HASWB TX/RX EQ.
HHWB and HHSWB RXEQ and vol gain.
HHSWB TXEQ
HHWB ECNS.

Files from the latest attachment on b/355139309

Bug: 355139309
Test: verified by ntkuo@
Flag: EXEMPT tuning table update
Change-Id: I8fea1f44756c4e3cef8a14509fe1086d8319415d
2024-07-25 00:57:40 +00:00
Treehugger Robot
514770a420 Merge "Audio: Add updated spatializer tuning in Tegu" into main 2024-07-15 17:48:19 +00:00
Rios Kao
849e21af12 Merge "audio: Phase in TG4 fortemedia tuning tables" into main 2024-07-15 06:38:42 +00:00
Rios Kao
2ab0a55965 Audio: Add updated spatializer tuning in Tegu
Bug: 323223919
Bug: 303920722
Bug: 348074352
Test: manual
Flag: com.android.media.audio.stereo_spatialization
Change-Id: Ibbc4f01c0cb4b8dfeeed73a4f5620ce3d7c0af03
2024-07-15 05:48:19 +00:00
Rios Kao
c82bb81b15 audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Check in TIA-5050 EQ for EVT1.1,
Fine-tune HAWB and HASWB RXEQ.
Enable kid voice detection.

Files from the latest attachment on b/352471019

Bug: 352471019
Test: verified by ntkuo@
Flag: EXEMPT update audio table only.
Change-Id: Iff5c38648948a9fe5dedb2b14e002583dd68db04
2024-07-15 05:28:04 +00:00
Akshay Cadambi
797258bb19 Merge "Audio: Enabled stereo spatialization property for Tegu, added opus codec enabled spatializer offload, added CAF config files for offloaded spatializer and updated the audio tables makefile" into main 2024-07-11 18:01:16 +00:00
Nikhil Bhanu
e578df9f2c Audio: Enabled stereo spatialization property for Tegu, added opus codec
enabled spatializer offload, added CAF config files for offloaded
spatializer and updated the audio tables makefile

Bug: 323223919
Bug: 303920722
Bug: 348074352
Test: manual
Flag: com.android.media.audio.stereo_spatialization
Change-Id: Iecfd82a6285ab8e297b19e89f90ef3c018d275cb
2024-07-09 13:15:57 -07:00
Rios Kao
476498f16c audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Check in TIA-5050 EQ, disable low SNR and AMS.

Files from the latest attachment on b/350409258

Bug: 350409258
Test: verified by ntkuo@
Flag: NONE tuning table.
Change-Id: Ie5f01b1207463be9cf1198e5677452f9cafda3ae
2024-07-01 09:18:41 +00:00
Rios Kao
c493d785fd audio: Update recording.gatf
- Update IIR1 settings for camcorder use case
- Update SNS settings for recorder use case

Files from the latest attachment on b/349778367

Bug: 349778367
Test: verified by cartercheng@
Flag: NONE tuning table for existed module
Change-Id: I1310071b2ab96e3927054d305df3c7cda2ae9bd2
2024-06-28 07:51:45 +00:00
Rios Kao
f376ea8b34 audio: Update templete.xml, recording.gatf and audio_platform_configuration
- Update IIR1 and SNS settings for camcorder use case
- Update IIR2 and SNS settings for recorder use case
- Disable MIC COMP feature by removing it on  audio_platform_configuration.xml

Files from the latest attachment on b/348547128

Bug: 348547128
Test: verified by cartercheng@
Flag: NONE update tuning in existed module.
Change-Id: I6ed724baa39c248098fe74db48d28bbd5967d244
2024-06-21 07:40:23 +00:00
Rios Kao
430f242ab6 Merge "audio: Phase in Waves mps in TG4" into main 2024-06-20 11:38:26 +00:00
Rios Kao
1fa091d156 audio: Phase in audio_policy_volume.xml in TG4
1. This audio_policy_volume.xml  with  TG4_EVT_Release_20240618_tune4.mps
2. With above two files, final speaker playback volume curve from 1st~25th is the same as AK3
3. internal file name: audio_policy_volumes_EVT_03.xml

Files from the latest attachment on b/348312267

Bug: 348312267
Test: verified by supery@
Flag: NONE library update for existed feature

Change-Id: I0eeff0af4dca20454a1e350939321d832b0250ff
2024-06-20 08:37:18 +00:00
Rios Kao
387cd61a6f audio: Phase in Waves mps in TG4
1. This mps file version modify Portrait and Landscape 1st~24th volume sound quality.
2. This is the EVT first version to make 1st~24th volume sound quality.
3. This file internal name: TG4_EVT_Release_20240618_tune4.mps

Files from the latest attachment on b/348309503

Bug: 348309503
Test: verified by supery@
Flag: NONE tuning table for existed feature
Change-Id: Ic50d336cab63224e2295727d49c21295138b3502
2024-06-20 07:32:43 +00:00
Rios Kao
988f895191 Merge "audio: Phase in TG4 fortemedia tuning tables" into main 2024-06-19 02:58:43 +00:00
Rios Kao
213d136d9b audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Optimize performance with EVT1.0 HW.

Files from the latest attachment on b/347861392

Bug: 347861392
Test: verified by ntkuo@
Flag: NONE tuning table for existed feature
Change-Id: I7cd37c26c6703658198849673221a5075709020e
2024-06-19 02:18:53 +00:00
Rios Kao
115a582481 Phase in TG4 speaker compensation tuning tables
Test: verify ntkuo@
Bug: 347858646
Flag: NONE tuning table for existed feature
Change-Id: Id3070afe921195d5181cd8893beb452a5c2c0a09
2024-06-19 02:13:13 +00:00
Rios Kao
64f0a0b7b1 audio: Phase in Waves mps in TG4
1.This version modify Portrait and Landscape mode Max volume only.
2.This tuning fit TG4 EVT HW.
3.Internal file name: TG4_EVT_Release_V2_20240613_tune3.mps

Files from the latest attachment on b/347132693

Bug: 347132693
Test: verified by supery@ and pts-audio
Change-Id: I1ca04b53e7f1a8cdefd4942f6aa37e09d810ee61
2024-06-17 01:52:45 +00:00
Rios Kao
4f4d918233 Merge "tegu: sync missing path for incall, voip and hotword tap" into main 2024-06-14 02:37:04 +00:00
Treehugger Robot
36b30c3e39 Merge "audio: add spatializer-offload-playback to sco device" into main 2024-06-13 08:40:32 +00:00
Yung Ti Su
b4b9617e8e audio: add spatializer-offload-playback to sco device
Bug: 330318667
Test: manual

Change-Id: I313c70538cc08d9d31ab8eaf4c86a345f7293a5d
Signed-off-by: Yung Ti Su <andysu@google.com>
2024-06-13 08:07:57 +00:00
Rios Kao
9abedcd622 tegu: sync missing path for incall, voip and hotword tap
Test: build pass
Bug: 345365730
Change-Id: I0b8a59c9252c69c329fc5cf8b203ba547a89b229
2024-06-13 07:51:55 +00:00
Robert Lee
193959cb8b audio: fix PTS audio error
- add initial value for TAS25XX controls
- remove useless control

Bug: 346473597
Test: builds
Change-Id: Ie48a38010df6e7ab31f98fdeb8544033901e2100
Signed-off-by: Robert Lee <lerobert@google.com>
2024-06-13 07:14:12 +00:00
Robert Lee
87a567779b audio: update speaker tuning bin file
Change List:
- EVT Speaker Model Update
- Change TA2 and PAM to fix output noise issue
- add flex cable Re setting

Bug: 345406081
Test: builds
Change-Id: I8127dbba9ad45128cb1e42995c480628bc9df015
Signed-off-by: Robert Lee <lerobert@google.com>
2024-06-11 06:27:02 +00:00
Rios Kao
f07dfa3784 tegu: correct mixer paths location from previous check
note:
     previous cl of mixer table is incorrect due to
     bot wrong path setup.

Bug: 343570040
Test: check the file in the test build.
Change-Id: Ie6e17eab71255c605078bcd6da529e7a818b63db
2024-05-30 02:23:01 +00:00
Treehugger Robot
de87dbfa64 Merge "audio: add sound dose offset curve" into main 2024-05-30 01:45:13 +00:00
Rios Kao
57152fcb1e audio: Update templete.xml, recording.gatf and audio_platform_configuration to leverage RC setting
- Update PGC, AGC and SNS settings for camcorder use case
- Update PGC, AGC and SNS settings for recorder use case
- Add SA-Lite in voice recognition use case for enabling MIC COMP function

Files from the latest attachment on b/343141249

Bug: 343141249
Test: verified by cartercheng@
Change-Id: I57052a1be4992a9a11fc83a67c189d033cb6a0ba
2024-05-29 01:53:51 +00:00
Rios Kao
d59904cedf audio: Phase in TG4 mixer_paths tables
Change List :

mixer_paths:

Disable T-coil Amp

Change from

<path name="speaker-earpiece (VOICE,HAC)">
<ctl name="TAS25XX CODEC PROFILE" value="voice"/>
<ctl name="TAS25XX ASI Switch" value="1"/>
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="58"/>
<ctl name="HAC AMP EN" value="1" />
<ctl name="TAS25XX EM LEFT" value="OFF"/>
<ctl name="TAS25XX EM RIGHT" value="OFF"/>
</path>

to

<path name="speaker-earpiece (VOICE,HAC)">
<ctl name="TAS25XX CODEC PROFILE" value="voice"/>
<ctl name="TAS25XX ASI Switch" value="1"/>
<ctl name="TAS25XX PLAYBACK_VOLUME_LEFT" value="58"/>
<ctl name="HAC AMP EN" value="0" />
<ctl name="TAS25XX EM LEFT" value="OFF"/>
<ctl name="TAS25XX EM RIGHT" value="OFF"/>
</path>

Thanks.

Files from the latest attachment on b/342982889

Bug: 342982889
Test: verified by ntkuo@
Change-Id: I3b20c5f232334a0f0e9d35ab2b4c202837d42ec9
2024-05-28 02:12:56 +00:00
vincenttew
56642aafbd audio: add sound dose offset curve
Bug: 340149054
Change-Id: I705891298651640ff8deb6ae0a33bdb4101b1642
Signed-off-by: vincenttew <vincenttew@google.com>
2024-05-23 14:54:10 +08:00
Treehugger Robot
629a1d9b66 Merge "audio: update mixer table" into main 2024-05-16 04:14:42 +00:00
David Li
ea61fc0c9b audio: Phase in audio_policy_volume.xml in TG4
I put TG4  audio_policy_volume.xml in the attached file.

1. This table all number follow AK3 parameters.
Just use TG4 format.
It will be a good start for TG4 to align AK3.
2. This  audio_policy_volume.xml internal name: audio_policy_volumes(TG4_EVT_1).xml

Files from the latest attachment on b/340373394

Bug: 340373394
Test: verified by supery@
Change-Id: Ifd788a00964117b6eee3289cf136c319efd0eaad
2024-05-15 19:51:43 +08:00
Rios Kao
6f5bea436a tegu: align buildin microphone value for master
note: AOC changes the pdm list to align the value
     to different platform.
Test: build pass
Bug: 330632172
Change-Id: Ifc259aa6d2c82476fee9c1dcfbfb1fd291505fd0
2024-05-08 05:47:04 +00:00
Robert Lee
189a6edc3d audio: update mixer table
Turn off music efficiency mode all for voice call usecase.

Bug: 337151234
Test: manual test
Change-Id: Iec572da6f3b44a46dfdaf2791cb3f63fae0ccb42
Signed-off-by: Robert Lee <lerobert@google.com>
2024-05-06 03:41:30 +00:00
Rios Kao
7de12294a2 Merge "audio: Phase in speaker compensation tuning tables" into main 2024-05-03 09:07:25 +00:00
Rios Kao
194cb87a48 Merge "audio: Phase in fortemedia tuning tables" into main 2024-05-03 09:07:25 +00:00
Treehugger Robot
ec4e3a1733 Merge "audio: remove non-supported analog headset" into 24D1-dev am: 1c5021c651
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tegu/+/27148522

Change-Id: I7dddb445cdeb8c05aecbeb2e7085c745b384100c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 03:08:59 +00:00
Rios Kao
27f734653c audio: Phase in speaker compensation tuning tables
Speaker Compensation

speaker compensation update with proto1.0 HW

Bug: 338351355
Test: Test: verified by ntkuo@
Change-Id: I571d8bbb19f44bea0236eff32a52928070b6d2c0
2024-05-02 09:56:23 +00:00
Rios Kao
2956e98b70 audio: Phase in fortemedia tuning tables
Change List :

Fortemedia:

Optimize handheld mode performance with speaker compensation.
Sync headset and BT setting.

Files from the latest attachment on b/338350788

Bug: 338350788
Test: verified by ntkuo@
Change-Id: Iadc0da4b3c0bc418da5b2fccf717ab71801b5beb
2024-05-02 09:53:32 +00:00
vincenttew
37fb86d18d audio: remove non-supported analog headset
Bug: 329470379
Change-Id: I461952abbb91e0d9fe5911e868fbecdf0b3f2eff
Signed-off-by: vincenttew <vincenttew@google.com>
2024-04-30 18:20:11 +08:00
Robert Lee
7e76bd3067 audio: update speaker firmware bin file
Enable IV sense and disable ME on voice profile

Bug: 335540954
Test: HW manual test
Change-Id: I3fedc01f26bb273b346ba29b280db6dff627807f
Signed-off-by: Robert Lee <lerobert@google.com>
2024-04-29 08:24:37 +00:00
Rios Kao
c10d0f5561 audio: Phase in TG4 fortemedia tuning tables
Change List :

Fortemedia:

Optimize handset and handheld mode performance.

Files from the latest attachment on b/335789169

Bug: 335789169
Test: verified by ntkuo@
Change-Id: I8ef869f33d694962d63989dbc8fcd1c3bc38fadf
2024-04-24 03:44:49 +00:00
Robert Lee
5fed43a35b audio: update speaker tuning table
Change List:
1. first speaker model for proto stage
2. enable ABG function  and set initial parameters in tuning bin for tuning

Bug: 335796812
Test: builds
Change-Id: I7dbeeb5c196b998546f2c9491e1cc4375318d310
Signed-off-by: Robert Lee <lerobert@google.com>
2024-04-19 09:56:51 +00:00
Rios Kao
5ae43ebced tegu: Phase in waves mps.
note:
    1. Based on TI smart parameter to make Proto tuning
    2. Timbre is similar to mid-end phone
       Original Proto ROM mps file is for IMU test purpose.
       That only add 18kHz Low Pass Filter.
       Timbre is not like previous mid-end phone
    3. Internal tuning file name:
       20240329_more_dynamic_modify_Waves_Portrait_Test_20240328_tune1.mps

Test: build pass, verified by HW team.
Bug: 333345405
Change-Id: I3e360aa2f85f852dad6d89c02caf486ba8bf6bf1
2024-04-08 11:49:34 +00:00
Rios Kao
6a45c7e580 tegu: update FM table 0403
note:
     Optimize handset and handheld mode performance for MIC compensation

Test: build pass
Bug: 332624949
Change-Id: Id07cda4d46b7851538c3063c56aa91c38adc8a51
2024-04-08 02:06:50 +00:00