Commit graph

33 commits

Author SHA1 Message Date
David Li
c60e000daf audio: remove sidetone on handset to avoid glitches
Bug: 379892922
Test: n/a
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:73b3afba01cee8264dcbed45d5eeadcb3e8a6d83)
Merged-In: Ibfb3d02530c9f53ace8badfcd231ba69c7d0fca6
Change-Id: Ibfb3d02530c9f53ace8badfcd231ba69c7d0fca6
2024-12-11 10:43:36 +00:00
Robert Lee
794d627d42 audio: update mixer_paths.xml
Change List:
1. Disable ME mode for all scenario to avoid iv data missing to impact OKG

Bug: 376582951
Test: hw verified
Flag: EXEMPT update table
Signed-off-by: Robert Lee <lerobert@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7375f118dfdfd4c23cfc7846b721da2a248e8019)
Merged-In: Iefb062051f6ccd9c6ae59dad1627d99e46e3c1c5
Change-Id: Iefb062051f6ccd9c6ae59dad1627d99e46e3c1c5
2024-11-05 03:30:21 +00:00
Robert Lee
ab9e3a1fa7 audio: add default re value for speaker
Change List:
      <argument name="DefaultReValues" value="5.669,6.91" />
      <argument name="DefaultTemperature" value="25" />

Bug: 370416914
Test: manual test
Flag: EXEMPT update table
Signed-off-by: Robert Lee <lerobert@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c7f8041fb4c8bf51e6c3c1572735a371da4311f1)
Merged-In: I42e8ff0d49106f53dbd3971f20aaf3765c0cd3ec
Change-Id: I42e8ff0d49106f53dbd3971f20aaf3765c0cd3ec
2024-10-08 02:01:32 +00:00
Yung Ti Su
2b759dae82 add support for bluetooth-low-energy-broadcast
Test: manual
Flag: EXEMPT bugfix

Change-Id: Ibc1594ec61c8bb584092b3dfe3972768c6413cb4
Signed-off-by: Yung Ti Su <andysu@google.com>
2024-09-11 09:14:56 +00:00
Rios Kao
a3d1650d31 audio: Phase in Waves mps and audio_policy_volume.xml in TG4
I put Waves mps and audio_policy_volume.xml in the attached file.

This mps file refine EVT tuning to get overall better objective measurement result.
And add Thermal Linklaw parameter to fix Thermal T-mobile 47 degree C test.
And fix some AQTI subjective listening feedback.

This Waves mps file internal file name: TG4_EVT_Test_Full_tune8_20240828
This audio_policy_volume file internal file name: audio_policy_volumes_EVT_05.xml

Files from the latest attachment on b/363102973

Bug: 359127482
Bug: 359126707
Bug: 359125898
Bug: 359125489
Bug: 354679007
Bug: 343100737
Bug: 343099017
Bug: 363102973
Test: verified by supery@
Flag: EXEMPT tuning table update
Change-Id: I64df0954275fa864a266bf2f723bf8e391c55323
2024-08-30 01:53:57 +00:00
Rios Kao
d65f111bd1 Merge "tegu: Enable FmAPMg3 hybrid mode" into main 2024-08-23 07:12:23 +00:00
Treehugger Robot
1876d6c972 Merge "audio: remove speaker power linklaw" into main 2024-08-19 03:24:50 +00:00
Rios Kao
e3de57c080 audio: Update recording.gatf and audio_platform_configuration.xml
- Update IIR1 settings for camcorder use case
- Update SNS, gain settings for recorder use case
- Enable "MIC COMP" feature

Files from the latest attachment on b/360278398

Bug: 360278398
Test: verified by cartercheng@
Flag: EXEMPT tuning table update
Change-Id: Icf79835c9a89d4e3658e6a89e9868ebf28ab85e1
2024-08-16 07:02:15 +00:00
Jasmine Cha
fe7f0df9d7 audio: remove speaker power linklaw
Flag: EXEMPT update resource
Bug: 360269810
Test: build pass

Change-Id: I619a66b6224ed50d458a6963446febbc82e71cad
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-08-16 06:00:44 +00:00
Rios Kao
e9dd9fcfdb tegu: Enable FmAPMg3 hybrid mode
Test: end-to-end validation
Bug: 343339070
Flag: EXEMPT enable existed feature.
Change-Id: Ibe3174d0e290de02ca77f9a5b564b3049a6732c9
2024-08-13 02:31:41 +00: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
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