Commit graph

38 commits

Author SHA1 Message Date
Poomarin Phloyphisut
9aa8fd6d35 [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: I8d68a7af2605ea0d34baae0bc2dbdee8d5df3c05
2024-04-17 04:16:22 +00:00
David Li
f8f0f81cb1 audio: refactor spatializer offload playback
Bug: 307842941
Test: manual test
Change-Id: If958261eaf0b79ee2b9256ab9de79ab2943bf7e5
2024-02-05 08:54:29 +08:00
David Li
6928f44460 audio: add path for voice call over BT heaing AID
Bug: 319182435
Test: manual test
Change-Id: Ic1cf2f38eac4971eb7a0e0d85bfbc26102a87ca8
2024-01-21 15:07:27 +08:00
David Li
f248bd1227 Merge "audio: add offloaded spatializer use case to ble devices" into main 2024-01-21 04:31:26 +00:00
David Li
438b123a84 audio: add offloaded spatializer use case to ble devices
Bug: 307842941
Test: n/a
Change-Id: I7684052b3a8371dd51de1799c894d846c103b0e0
2024-01-19 17:52:52 +08:00
Yung Ti Su
5d25fd6017 add immersive output for ble devices
Bug: 320225632
Test: manual

Change-Id: Ic552fcfa3ab7ee45c06a986aebaf093a1256eaa4
Signed-off-by: Yung Ti Su <andysu@google.com>
2024-01-15 09:32:26 +00:00
Treehugger Robot
ee6ea8913a Merge "[HDMI Audio] Add mixer paths for HDMI path." into main 2024-01-04 00:34:00 +00:00
Jasmine Cha
fca432d3c3 audio: use USE_AUDIO_HAL_AIDL instead flag variable
The value of USE_AUDIO_HAL_AIDL is defined in project settings which decide when to use aidl or hidl hal. So, correct audio tables can be included properly.

Bug: 317444263
Test: boot to home, check basic audio functions

Change-Id: I1a9b4b621252be3b5f3046877272150f10b1295d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-12-26 03:01:50 +00:00
David Li
7ef2381f33 audio: add immersive-offloaded-spatializer-playback using EP4
Bug: 307842941
Test: manual test
Change-Id: I838d6e1a029e2ed6b87a7796c25a4b91f2298374
2023-12-19 15:26:14 +08:00
Poomarin Phloyphisut
dd04cad629 [HDMI Audio] Add mixer paths for HDMI path.
Test: Local test.
Bug: 309696512
Change-Id: I62f23a8eb59690bbcc68e0255143ba97db01c7fe
2023-12-11 08:59:04 +00:00
Treehugger Robot
b33db776ff Merge "[USB AIDL] Remove USB configuration from audio_platform_configuration.xml" into main 2023-11-08 11:38:40 +00:00
David Li
2ba52304a1 Merge "audio: replace PRODUCT_COPY_FILES with PRODUCT_PACKAGES and prebuilt_etc" into main 2023-10-30 06:38:17 +00:00
David Li
c514210662 audio: replace PRODUCT_COPY_FILES with PRODUCT_PACKAGES and prebuilt_etc
Bug: 307473885
Test: mm
Change-Id: I62c8fc2c6ff991fe52a5ade08694f09f8e830eae
2023-10-26 17:24:03 +08:00
Poomarin Phloyphisut
06cf12b520 [USB AIDL] Remove USB configuration from audio_platform_configuration.xml
These configs are hardcoded into audio HAL instead because it's very rarely changed.

Bug: 307439907
Test: Local Test.
Change-Id: I83e5e0ecbdc8b766df3da3b81e71d263c179bce9
2023-10-24 03:19:02 +00:00
Jasmine Cha
c8503ebe6c audio: aidl: change tracked thermistor
Bug: 305126466
Test: manual test

Change-Id: I7f902c6fe5ee60b417371db48404bd6747cb94ac
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-16 07:46:20 +00:00
Yung Ti Su
bafe971158 add mixer path for BLE
Bug: 302270637
Test: manual

Change-Id: I18eff383abe01eefc017a6477bf2d75850b44431
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-09-27 10:51:40 +00:00
Jasmine Cha
95b21eaf32 Merge "audio: add runtime tuning dump for bluenote" into udc-qpr-dev 2023-09-13 03:20:53 +00:00
Poomarin Phloyphisut
60b9ce0932 [USB Audio AIDL] Fix wrong capture path on mixer_paths.xml
Bug: 299388175
Test: Local Test
Change-Id: I856e1ad4dc9677b3e06f7c46c7e88b4c5681eed9
2023-09-10 15:56:16 +00:00
Yung Ti Su
f9c8cd244b add mixer path for BT SCO voice call
Bug: 297794937
Test: manual

Change-Id: Ied5cd99dbab9a29a8abe2b7fd35c2e19dc35aba0
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-08-31 10:23:02 +00:00
Jasmine Cha
389a9bc4d1 audio: add runtime tuning dump for bluenote
Bug: 298314391
Test: manual test

Change-Id: I81e8c64c1dfb9e2b34bb05689e5cf83467708d91
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-31 14:08:34 +08:00
Yung Ti Su
9fe8fb10b4 [AIDL] Add mixer paths for BT
Bug: 293221641
Test: manual

Change-Id: I6813b966a65fe9787be911037689e7a2a9d831ed
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-08-28 17:58:03 +00:00
Joey Poomarin Phloyphisut
a5c805dc74 Merge "[USB Audio AIDL] Add mixer_paths for usb audio." into udc-qpr-dev 2023-08-24 05:49:50 +00:00
Poomarin Phloyphisut
01377d8433 [USB Audio AIDL] Add mixer_paths for usb audio.
Test: Local Test
Bug: 274870625
Change-Id: Ic8a587ad9ccf6fb35308f4e8acb58133894117e1
2023-08-23 07:40:39 +00:00
Jasmine Cha
31ea730ca1 audio: support boost mcps for handset swb
Bug:294182291
Test: manual test

Change-Id: I8d5d7d3326ca5bd26ac9557c1629e17150cb21bb
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-15 06:41:55 +00:00
David Li
ddf9fc1741 audio: new AIDL configuration xml
Bug: 206737711
Test: mm
Change-Id: Id3eac7b9f3af897cf6163ecc90b6f07960eb0acd
2023-08-07 13:03:28 +08:00
Rios Kao
6833c3c2bc Merge "aidl: sthal: add support for aec record in mixer table" into udc-qpr-dev 2023-07-18 07:38:47 +00:00
Jasmine Cha
2e2c31cea8 audio: sync cca setting from hidl
Bug: 289859350
Test: build pass

Change-Id: I66c28ced092189fce199eb8c8250c2bf836ac4af
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-07-18 04:38:28 +00:00
Rios Kao
052c18b3e0 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: I3b9e6ca77b70e3a95456c5553d91dbebf4c0ef17
2023-07-14 06:57:41 +00:00
Jasmine Cha
13fbb117f6 audio: move controls for acoustic shock and battey throttle.
Bug: 274373213
Test: manual voip test/ device, host test
 vendor.google.whitechapel.audio.hal.audio.tuner_device_tests
 vendor.google.whitechapel.audio.hal.audio.tuner_tests

Change-Id: I9d0d67beb1e78258f390801b3a4c9ac92bd06bf1
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-28 16:38:54 +08:00
Jasmine Cha
a8b682da80 Merge "audio: control current limit specifically" into udc-qpr-dev 2023-06-15 08:51:09 +00:00
Jasmine Cha
e5c5310a12 audio: control current limit specifically
This value will be changed by battery throttling, so separating this
from reqular path control.

Bug: 274373213
Test: manual test

Change-Id: I19b59d188855e05907e12e8340aadebb47cef9b0
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-06-13 16:33:31 +08:00
David Li
f5bd1f1e7d audio: update audio AIDL config files
- remove audio_policy_configuration.xml
 - add in-call-capture paths
 - add "PCM Soft Ramp" for speaker amp
 - set default "Digital PCM Volume" to 0
 - set "AoC Chirp Enable" in "speaker-earpiece (VOICE)"

Bug: 206737711
Test: mm
Change-Id: Iafedbc05b75b689f2dd3bb55792f282ca39e7c21
2023-06-01 07:19:41 +00:00
Poomarin Phloyphisut
ee227966b2 [USB Audio] Enable 192k support sample rate to hifi usb
related cl: ag/22549253

Test: Local Test.
Bug: 198122814
Change-Id: I3e0648f616a60f2a6e1fe5fadb30faf6c88978f7
2023-04-26 09:19:28 +00:00
Rios Kao
2a375b2ddb shusky: add sound_trigger_tap and hotword_lookback_capture
note: add path for new use-case
      sync diff from P22.

Test: end-to-end test with test apk
Bug: 259455755

Change-Id: Ia4b23782b6e08258450d3c7ca5624ea387add529
2023-04-24 03:39:56 +00:00
Rios Kao
79ada777b9 audio: reorg aidl_config and add voice call paths for shusky
note: sync audio_platform_configuration from P22

Bug: 206737711
Test: mm
Change-Id: I1432bda83eaff5bdb988a6baaf31705b79100575
2023-04-24 03:39:51 +00:00
Jasmine Cha
97b149659a audio: update aidl tables
- move control Mic Spatial Module Enable to code.
- add camcorder mic setting.
- move definition of Waves instance id number to code.

Bug: 206738075
Test: host test
 vendor.google.whitechapel.audio.hal.audio.tuner_tests

Change-Id: Id3dbc4c0d694967421cbc516ff42709876845e16
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-18 12:44:08 +08:00
Jasmine Cha
b1ad440673 audio: update waves/volume tuning.
1. Updates for loudness, bass, stereo, dynamics, distortion
   improvements.
2. Update entire volume curve for competitive listening experience.
3. Tuned to pass power for Pink 13dB CF noise on speaker loads for
   battery and thermals (simulated 40C - 41C skin temp).
4. Update non-media streams(Ringtone/Notification/Alarm/DTMF/
   System sound/CAM shutter) tuning.
5. Update entire volume curve of non-media streams for competitive
   listening experience.

Bug: 277167806
Test: manual test

Change-Id: I3ed219804d4d40cc3e89ff13858f2cc5d1bf9db8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-04-10 10:18:10 +08:00
Jasmine Cha
fc75f338a2 audio: create audio hal aidl config
Bug: 206738075
Test: build pass

Change-Id: Iaa571e7079782eaa0b07bf268f77d6f3e0884c62
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-17 09:54:28 +08:00