Per Åhgren
733cea1ebd
Update APMg3 and tuning configs to version 6
...
This CL updates the APMg3 tunings to version 6 (previous version was version 4, and version 5 was skipped).
The tunings are available at
https://drive.google.com/drive/folders/12x0vnEtbDcFyqCKkT7iJISYhOcKmMN2R?usp=sharing . Complexity and memory figures are basically the same as for https://docs.google.com/spreadsheets/d/1ZtPoIw3SGPKErR8xURvp3gyDvNNl7bISCzLFH_HDOIc/edit?usp=sharing&resourcekey=0-q7s7VtDqDSf762Lvb4d7gA
Bug: 292144567
Test: Manual test calls on Tangor using Meet, together with TAP-points recordings for verification, as well as lab benchmarking in the STO audio lab.
Change-Id: I26fe9b8ce430e8cb2143d7b6e0d5e1c80b2c2556
2023-09-05 17:12:59 +00:00
Yung Ti Su
11ea16adff
add mixer path for BT SCO voice call
...
Bug: 297794937
Test: manual
Change-Id: I6901afda339a85d1ce1892dcca823ae4829bde74
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-09-01 02:30:52 +00:00
Yung Ti Su
b8b40df7a8
[AIDL] Add mixer paths for BT
...
Bug: 293221641
Test: manual
Change-Id: Iedf51795a3330d89982bd7b573eee617541a44b2
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-08-28 17:57:50 +00:00
Carter Hsu
bfbcf919df
Merge "audio: enable apmg3 feature" into udc-qpr-dev
2023-08-25 07:05:20 +00:00
Joey Poomarin Phloyphisut
7fe23e40b5
Merge "[USB Audio AIDL] Add mixer_paths for usb audio." into udc-qpr-dev
2023-08-24 05:49:50 +00:00
Poomarin Phloyphisut
7662732086
[USB Audio AIDL] Add mixer_paths for usb audio.
...
Test: Local Test
Bug: 274870625
Change-Id: Iaee8eef36164ec126eda0d205115b26ae9305160
2023-08-23 09:22:23 +00:00
Jasmine Cha
4dfbfbaa57
audio: spatial audio on spk
...
- Enable EP4 (dev1 = 3)
- Change Stereo Spatialier component id to 26
- Enable spatial audio on speaker
- Add one more parameter for waves custom action.
(OM=1, SM=3)
Bug: 295577176
Test: manual test
Change-Id: I7e14776b34571eed5a632a7b5769d1ea784fa8ee
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-22 06:19:13 +00:00
Per Åhgren
04570db34b
Update APMg3 and tuning configs.
...
This CL updates the APMg3 tunings to version 4.
The tunings are available at
https://drive.google.com/drive/folders/1wbYVjMkirbOcdV37DIeT5oipXfGrx1YT?usp=drive_link
and complexity and memory figures for the tunings are available at https://docs.google.com/spreadsheets/d/1ZtPoIw3SGPKErR8xURvp3gyDvNNl7bISCzLFH_HDOIc/edit?usp=sharing&resourcekey=0-q7s7VtDqDSf762Lvb4d7gA
Bug: 292144567
Test: Manual test on Tangor with Meet call.
Change-Id: Id2f5cec85a2b5436b15cbe2981c5b272211d10e6
2023-08-15 14:20:43 +00:00
Viktor Grönroos
846117a234
Install APMg3 external module and tuning configs.
...
Bug: 292144567
Test: Manual test on Tangor with Meet call.
Change-Id: I1516875745b6ad3696eb5c179866646af0ea5981
2023-08-02 07:49:41 +00:00
Carter Hsu
0932277fe0
audio: enable apmg3 feature
...
Bug: 292144567
Test: verified on test build
Change-Id: I7898494cfe8b52b901d4d61de7a17234cc8a579a
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-08-02 14:22:43 +08:00
Carter Hsu
dcf54dff3a
audio: Enable multiple USB Audio support
...
Bug: 289334178
Test: verified USB Audio on test build
Change-Id: I4675165a62f6779b33511c1a3f4e55cdfe7dd9cf
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-07-19 03:16:02 +00:00
Rios Kao
2492cb2726
Merge "aidl: sthal: add support for aec record in mixer table" into udc-qpr-dev
2023-07-18 07:39:36 +00:00
Rios Kao
b8a4dae740
aidl: sthal: add support for aec record in mixer table
...
note: This table is only used by AIDL Sthal.
Bug: 291186942
Test: end-to-end enable path by quick phrase.
Change-Id: I01242fbddb04961cdf6a4bab50ce733e4ab64ae0
2023-07-14 06:54:16 +00:00
Tom Huang
9b1613385c
Merge "Add audio Spatializer and support OPUS codec" into udc-qpr-dev
2023-07-10 09:24:13 +00:00
Rios Kao
0d465cac83
aidl: tangorpro: add audio table for aidl hal
...
Test: end-to-end testing
Bug: 289328594
Change-Id: If71b70057dd80136bc49df516c4d9bd5d9ed16e7
2023-07-04 06:16:09 +00:00
kuanyuhuang
edce5a7940
Add audio Spatializer and support OPUS codec
...
Add spatializer, immersive playback and OPUS codec at audio config.
Enable Spatializer and Bluetooth OPUS codec.
Bug: 261660037
Test: play dynamic spatial audio content
Change-Id: I8b25eacdd804017a882b26cab13be69d403b6dc9
2023-06-30 03:04:48 +00:00
Anoush Khazeni
b9e91e66d4
[T6pro] Updating the volume table for the assistant.
...
Updating the volume table for the assistant stream.
Also adding a property override for the miniumum
volume setting for the assistant.
Bug: 277829235
Test: Build only
Change-Id: Ia2bd51f7a5cac528f84f0e081f411b0f5b220f19
2023-05-12 11:36:21 -07:00
Rios Kao
3f769dbbe6
audio: add smartfeature table for chre tuning
...
note: add smartfeature.gstf that only used for Hotword
pipeline in AoC which is sharing to chre usage too.
On WHI_PRO
CHRE PDM Gain(gain=158)
CHRE AEC Gain(gain=-42)
CHRE SRC AEC Timeout(timeout=0)
This table also contains hotword gain control as
(Undocked)
Non Eraser gain (gain=220)
Eraser Pre gain (gain=220)
(Docked)
Non Eraser gain (gain=356)
Eraser Pre gain (gain=170)
Eraser Post gain (gain=186)
Test: end-to-end verify by CHRE
using aoc_audio_cfg to query gain as below
adb shell aoc_audio_cfg hotword_get_non_eraser_gain
adb shell aoc_audio_cfg hotword_get_eraser_post_gain
adb shell aoc_audio_cfg hotword_get_eraser_pre_gain
Bug: 271078701
Change-Id: I4e3416af224742d939c0928c6623705a01924581
2023-04-25 05:10:05 +00:00
Carter Hsu
75b7e49503
audio: disable raw for USB Dock
...
Bug: 277806508
Test: build pass
Change-Id: Iecb4ce699f6c5a42b3833d8e168fc5142b3f2975
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-04-20 21:07:28 +00:00
Poomarin Phloyphisut
1d12d453cb
[USB Audio] Enable 192k support sample rate to hifi usb
...
related cl: ag/22549253
Test: Local Test.
Bug: 198122814
Change-Id: Ic40638a9bd9e341c6f1e0ccf4d43e6d852a4d357
2023-04-18 13:08:35 +00:00
Anoush Khazeni
f6df809336
[T6pro] Updating the Waves tuning. am: 199fb48c62
am: 912b001f9b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22200586
Change-Id: If5fe0c12d3e67a70df8bf481b71e7c1323dedc0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-23 07:07:33 +00:00
Anoush Khazeni
199fb48c62
[T6pro] Updating the Waves tuning.
...
Updating the Waves tuning to Google internal tuning #47 .
Bug: 274698580
Test: Build only
Change-Id: Ic8c8f2f3fe82bdab9474df1fb74e486ec929310a
2023-03-22 09:53:38 -07:00
Anoush Khazeni
75f39b8cb5
Merge "[T6pro] Updating the ForteMedia tuning files." into tm-qpr-dev am: 8da0f13689
am: e65bffba04
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/21989351
Change-Id: I41094cebff43fe18050325c2f517facfcf1c82d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 22:33:16 +00:00
Anoush Khazeni
744d5952e4
Merge "[T6pro] Updating the volume table for voice calls." into tm-qpr-dev am: ce28ff9ee7
am: eab3cab380
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/21914930
Change-Id: I491c8cf52965752ff71d91f430f21acae94926a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 22:33:15 +00:00
Anoush Khazeni
8da0f13689
Merge "[T6pro] Updating the ForteMedia tuning files." into tm-qpr-dev
2023-03-15 20:56:13 +00:00
Anoush Khazeni
ce28ff9ee7
Merge "[T6pro] Updating the volume table for voice calls." into tm-qpr-dev
2023-03-15 20:56:13 +00:00
Anoush Khazeni
ee927d8562
[T6pro] Updating the ForteMedia tuning files.
...
Updating the tuning files to improve the volume tables.
Bug: 241557578
Test: Build only
Change-Id: Ie48d1dee642a24f3ab89f75321b176d894cfd78f
2023-03-14 00:35:43 +00:00
Anoush Khazeni
b09d970a42
[T6pro] Updating the volume table for voice calls.
...
Updating the voice call volume table for the speaker device category.
Bug: 241557578
Test: Build only
Change-Id: I71aaf7486e54f4c3721e5d8e2c0dbacf86c640c5
2023-03-08 17:52:47 -08:00
Anoush Khazeni
c107e818ec
Merge "[T6pro] Updating the Waves tuning." into tm-qpr-dev am: 40f0a39358
am: 27dbc5ea0a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/21451608
Change-Id: Ide7978db105ccc7c8af3b305af5e1b352e3e5c9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-27 22:46:26 +00:00
millerliang
3b73d6bb4f
audio:enable mmap and raw on BT
...
AoC can support mmap on BT both playback and recording
after gpar/322484.
Bug: 232205959
Test: OboeTester
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I2aedb0c19e9d0911f775de2da3beac0e0dc92db3
2023-02-24 15:43:17 +08:00
Anoush Khazeni
6578828fce
[T6pro] Updating the Waves tuning.
...
Updating the Waves tuning to Google internal tuning #45 (Anvil).
Bug: 269352708
Test: Build only
Change-Id: Ib5925a4c8bdac40e0e575d42f8ab74151daf9d1b
2023-02-15 13:56:05 -08:00
Carter Hsu
724c317273
Update speaker-mic-post setting for increasing gain
...
Change gain from 0 to 22
<path name="speaker-mic-post">
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
Bug: 267236421
Test: verified by tuning team, b/267236421#comment5
Change-Id: I62bb4f61f690c7ea1649783ab6a00eb39a69aa03
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-02-02 15:15:40 +08:00
Anoush Khazeni
54d79ee89c
Merge "[T6pro] Updating the volume tables." into tm-qpr-dev
2023-01-17 22:01:05 +00:00
Anoush Khazeni
1ea2931d74
[T6pro] Updating the volume tables.
...
Updating the volume tables for the speaker device category.
Bug: 262004820
Test: Build only
Change-Id: Ib406cf93b44b4fb64f834d6d489a16a6b4b9fbc5
2023-01-13 12:22:20 -08:00
Anoush Khazeni
c832852a9e
[T6pro] Updating the Waves tuning.
...
Updating the Waves tuning to T6K6 REV25
(Google_T6K6_REV25_T6-v19_K6-v17_20230107_43-Madonna)
Bug: 263304645
Test: Build only
Change-Id: I6ad98e2159241573f9e99101b8efa201d0020eb1
2023-01-13 04:59:02 +00:00
Jasmine Cha
322e3e1506
Merge "waves: shift subtype since new rotation reporterd" into tm-qpr-dev
2023-01-05 00:19:43 +00:00
yixuanjiang
9d767c69d1
audio: support ultrasonic capture 3 ch
...
Bug: 258685440
Test: local
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ic3b02292ddd74a875b3f0a29f27ae9835864c7a5
2023-01-04 14:19:38 +08:00
Jasmine Cha
8006d103ee
waves: shift subtype since new rotation reporterd
...
Bug:263695396
Test: LR swap/ manual test
Change-Id: Ie515d49e60af7aa54296a30f45d37d161ad8f9d9
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-28 09:06:09 +08:00
millerliang
c3a8473e64
audio: adjust the latency for camcorder av sync
...
Adjust the dsp_latency for camcorder with BT to sync the
audio and video.
Bug: 260712719
Test: manual test passed
Change-Id: I5270ed6202b5476105eca0e63f437430ce778a8c
Signed-off-by: millerliang <millerliang@google.com>
2022-12-20 17:41:41 +08:00
Anoush Khazeni
81a3ac576d
Merge "[T6pro] Updating the Waves tuning." into tm-qpr-dev
2022-12-16 03:51:11 +00:00
Jasmine Cha
4b45975d18
audio: update handsfree AEC
...
- optimize the stability of AEC during double talk
- Supported Usecases:
HANDSFREE-HANDFREE-RESERVE2-SWB
HANDSFREE-HANDFREE-CUSTOM1-SWB
HANDSFREE-HANDFREE-CUSTOM2-SWB
HANDSFREE-HANDFREE-RESERVE1-SWB
HANDSFREE-PORTRAIT-RESERVE2-SWB
HANDSFREE-PORTRAIT-CUSTOM1-SWB
HANDSFREE-PORTRAIT-CUSTOM2-SWB
HANDSFREE-PORTRAIT-RESERVE1-SWB
HANDSFREE-REVERSED_LANDSCAPE-RESERVE2-SWB
HANDSFREE-REVERSED_LANDSCAPE-CUSTOM1-SWB
HANDSFREE-REVERSED_LANDSCAPE-CUSTOM2-SWB
HANDSFREE-REVERSED_LANDSCAPE-RESERVE1-SWB
HANDSFREE-REVERSED_PORTRAIT-RESERVE2-SWB
HANDSFREE-REVERSED_PORTRAIT-CUSTOM1-SWB
HANDSFREE-REVERSED_PORTRAIT-CUSTOM2-SWB
HANDSFREE-REVERSED_PORTRAIT-RESERVE1-SWB
HANDSFREE-CHARGING_ONLY-RESERVE2-SWB
HANDSFREE-CHARGING_ONLY-CUSTOM1-SWB
HANDSFREE-CHARGING_ONLY-CUSTOM2-SWB
HANDSFREE-CHARGING_ONLY-RESERVE1-SWB
Bug: 262322091
Test: manual test (b/262322091#comment10)
Change-Id: I1632d31edc26394d93bb6a868b5bcde64f3c8399
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-16 01:03:10 +00:00
Anoush Khazeni
89d4a4b269
[T6pro] Updating the Waves tuning.
...
Updating the Waves tuning to T6K6 REV18
(Google_T6K6_REV18_T6-v13_K6-v10_20221213)
Bug: 262400333
Test: Build only
Change-Id: I08439e8452adc0ab44305695cadfe92c0c20df96
2022-12-13 13:29:53 -08:00
millerliang
a913e088df
audio: add missed camcorder be_cfg in dsp latency
...
Some 3rd party app may use one or three microhpne(s)
to do the camera recording.
Add these two configurations to UC_AUDIO_RECORD to sync
the audio and video of the recoreded video.
Bug: 260824124
Test: Reporter verified
Change-Id: Ib08e69a1f7ccffc4bdb0ef8965c391126c15ced3
2022-12-06 15:45:49 +08:00
TreeHugger Robot
e9a0530ff2
Merge "audio: update speaker firmware tuning bin files" into tm-qpr-dev
2022-12-02 09:36:30 +00:00
Robert Lee
65582a5a50
audio: update speaker firmware tuning bin files
...
Remove 17kHz-LPF.
Bug: 241320167
Test: builds
Change-Id: I5b4116d8f847ffd82bcb2eb855aa872806bf049a
Signed-off-by: Robert Lee <lerobert@google.com>
2022-11-30 06:35:16 +00:00
Jason Hsu
622aac9298
audio: Update Fortemedia tuning
...
Change list:
3dB higher level when docked vs undocked
Vol-6 0x0066
Vol-5 0x0033
Vol-4 0x0024
Vol-3 0x001A
Vol-2 0x0012
Vol-1 0x000D
Vol-0 0x0009
Bug: 258386115
Test: local build pass
Change-Id: I5b27b1f9f67713ebee20130796664abfd216cbc6
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2022-11-29 10:38:56 +08:00
TreeHugger Robot
21a469e4a5
Merge "audio: enable gapless offload flag" into tm-qpr-dev
2022-11-18 10:29:51 +00:00
yixuanjiang
4533d1c7d4
audio: enable gapless offload flag
...
Enable gapless support on compressed_offload w/o trimming delay and padding.
Test: local verify
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ia9e52f665ae84a94719550ca7b48a3cb74b433f1
2022-11-17 14:43:04 +08:00
Jasmine Cha
4a6e85e4aa
waves: update mps with LR swap
...
Bug: 257002893
Test: manual test b/257002893#comment20
Change-Id: Ia759117d9a6cfab50103c716009bdbff0f326fc2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-17 10:16:05 +08:00
Roger Fang
ab96bc8473
audio: amcs: add 4 speaker numbers into arguments
...
amcs suez speaker requires init index numbers to support
products who has numbers more than two.
Bug: 248451580
Test: manually test passed
Change-Id: I06ca95d4dd7f0f35f5108bbf2256b1cd447f9ecb
Signed-off-by: Roger Fang <rogerfang@google.com>
2022-11-10 12:35:01 +08:00