Commit graph

23 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Treehugger Robot
39a1e47a16 Merge "audio: enable speaker protection" into main 2024-04-02 06:28:25 +00:00
Robert Lee
424edfea35 audio: update speaker driver tuning bin file
- File is from b/313341617#comment63
- New current limit setting range is from 0 ~ 36 (1.5A ~ 5.1A)
- Current limit value = 1.5A + index * 0.1A

Bug: 313341617
Test: manual test
Change-Id: I7203017bdc10f549312c42a307cff7548ef0d2c7
Signed-off-by: Robert Lee <lerobert@google.com>
2024-03-19 11:55:13 +00:00
Robert Lee
c81ec2fa7d audio: enable speaker protection
Change back the digital volume from 47 to 55.

Bug: 313341617
Test: manual test
Change-Id: I274625317c3b256a7ac7bc9de4b8ce7f79fca59f
Signed-off-by: Robert Lee <lerobert@google.com>
2024-03-19 03:12:18 +00:00
Robert Lee
08254de772 tegu: audio: sync aidl setup from caimito.
note:
     - Basically sync everyhing from caimito
     - But keep builtin_mic setup for tegu.
     - Sync waves_config.ini from caimito
     - Sync volume curve from caimito
     - Enable HAC and gain control.
Bug: 313341617
Test: builds pass
Change-Id: I2f891d943056c05762acdbffdd1b3b6da0c03c8d
Signed-off-by: Robert Lee <lerobert@google.com>
2024-03-18 07:02:39 +00:00