Commit graph

13 commits

Author SHA1 Message Date
Rios Kao
26080f1132 shusky: bluetooth configuration source incorrect.
Test: build pass.
Bug: 327547346
Change-Id: Ifb01dcef086f81a6fa863677a97925005f443f8a
2024-02-29 07:53:09 +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
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
Rios Kao
463c9ea113 aidl: Using RELEASE_PIXEL_AIDL_AUDIO_HAL for shusky.
Bug: 301180586
Test: build with flag enable

Change-Id: I807396f16745eba8f56d35bcbc27ad14ad2527f7
2023-10-06 07:39:17 +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
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
Rios Kao
8a2a6b6435 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 ZUMA
        CHRE PDM Gain(gain=10)
        CHRE AEC Gain(gain=-22)
        CHRE SRC AEC Timeout(timeout=300000)
      This table also contains hotword gain control as
      Non Eraser gain (gain=220)
      Eraser Post Gain (gain=220)

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
Bug: 271078701

Change-Id: I8355563141b86c59e0c9115a64b787ac92f5aadd
2023-04-25 05:23:45 +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
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
Yung Ti Su
81f4134629 add support for BLE offload case in audio policy
Bug: 257377746
Test: manual

Change-Id: Id9a2c528fd51898d59c3234b05cd606d7ebd9dc2
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-12-16 16:09:58 +08:00
Jasmine Cha
7023b26da0 audio: update volume curve for power budget
Bug: 262473484
Test: manual test

Change-Id: I98ea8ffa08a7d7fee3c48df936dee2640072c2b2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-12-15 01:55:12 +00:00
Yung Ti Su
082d1b6417 Enable the spatial audio function
Bug: 254771189
Test: manual

Change-Id: I8fa9864103879efc10362695254e887629c46e10
Signed-off-by: Yung Ti Su <andysu@google.com>
2022-12-05 05:57:51 +00:00
Robin Peng
fd0859e694 Initialize device folder
from: 858c0f08e332220d80a9eef8ddcd39ef4d5296ee
with updated device path

Bug: 248399843
Change-Id: I215a40a4f4719d5432e87401f4a3214c5189ba20
2022-10-30 16:03:17 +00:00