Commit graph

222 commits

Author SHA1 Message Date
Grzegorz Kolodziejczyk (xWF)
eb25e489aa Merge "audio: enable software encoded Bluetooth broadcast" into main 2024-10-01 12:30:35 +00:00
David Li
0fe1b5ee54 Merge "audio: add uninisialized mixer control" into main 2024-09-23 01:53:40 +00:00
Grzegorz Kołodziejczyk
f3fe769cac audio: enable software encoded Bluetooth broadcast
Bug: 345372436
Test: manual
Flag: EXEMPT, trivial change
Change-Id: Ibf998bd3194bb704dfa50e876f449687040f2c8c
2024-09-20 08:29:16 +00:00
David Li
106dbcf1d0 audio: add uninisialized mixer control
Bug: 362904466
Test: mm
Flag: build.RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA
Change-Id: I29c18e1c6433aebfd4e8760ccb8f184708c41b06
2024-09-19 02:57:43 +00:00
David Li
736fcf07f4 Merge "audio: update AIDL configs and add spatializer configs" into main 2024-09-12 07:47:25 +00:00
Miller Liang
d006e63e11 Merge "audio: fix the noise of raw-playback in 16kB page mode" into main 2024-09-12 01:26:14 +00:00
David Li
29af2213b3 audio: update AIDL configs and add spatializer configs
Bug: 362904466
Test: mm
Flag: build.RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA
Change-Id: I24d380399882023a63d8c651bad3fee2eb4f8240
2024-09-03 03:09:54 +00:00
JJ Lee
80d1365e54 audio: power optimization for deepbuffer playback
Bug: 249436330
Test: build pass, cts pass, regression test pass
Flag: EXEMPT bugfix
Change-Id: Iacf4ad1ade7148491b24e7bd0f1e423f0a6d34de
Signed-off-by: JJ Lee <leejj@google.com>
2024-08-28 08:21:55 +00:00
millerliang
23497f9244 audio: fix the noise of raw-playback in 16kB page mode
To fix the noise of raw-playback in 16KB page mode,
we change to use non-mmaped mode.

Bug: 355285548
Flag: EXEMPT : bugfix
Test: Local test, ABTD
Change-Id: I21cca03b5ceff10c014675bd2465d5fc051e8250
2024-08-24 08:39:59 +00:00
vincenttew
ef1a3cc698 audio: add sound dose offset curve
Bug: 313395588
Test: boot to home, HIDL/AIDL w/wo xml configuration
Change-Id: I5d5b2e74f46eb0ca6d1f21b29e22019d9b3f25fa
Signed-off-by: vincenttew <vincenttew@google.com>
2024-06-14 02:38:15 +00:00
Carter Hsu
07abb4dd58 audio: remove unused device
Bug: 337191827
Test: build pass
Change-Id: I6380c8feb03475133f25829a571cb2d3c83eaa22
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-04-27 02:07:04 +08:00
Treehugger Robot
ae15605e66 Merge "audio: update opus support format" into main 2024-04-17 18:09:26 +00:00
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
Juyu Chen
e442d42a04 audio: update opus support format
Bug: 329872757
Test: cts tests

Change-Id: Ie2dd241a1d104028a0ebacc77efc12b6972e226b
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-04-16 04:11:12 +00:00
vincenttew
4dbadce5a3 audio: remove non-supported analog headset
Bug: 329470379
Change-Id: Ie18313b750086481b2fcad9194d55dabed0cdd8f
Signed-off-by: vincenttew <vincenttew@google.com>
2024-03-27 11:24:55 +08:00
Rios Kao
26080f1132 shusky: bluetooth configuration source incorrect.
Test: build pass.
Bug: 327547346
Change-Id: Ifb01dcef086f81a6fa863677a97925005f443f8a
2024-02-29 07:53:09 +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
Treehugger Robot
fea9547bb2 Merge "audio: use USE_AUDIO_HAL_AIDL instead flag variable" into main 2023-12-28 01:48:33 +00:00
Carter Hsu
397cab2166 Merge "audio: support incall capture dl/ul concurrent recording" into main 2023-12-26 09:56:17 +00:00
Treehugger Robot
5f3e60c70a Merge "audio: add HIDL SoundDose libraries & framework config" into main 2023-12-26 05:31:36 +00:00
vincenttew
8ce7e53cff audio: add HIDL SoundDose libraries & framework config
Test: build pass, playback pass
Bug: 315916092
Change-Id: Id851229b31a5d1ddcac30e3e92010fd2a55b76a4
Signed-off-by: vincenttew <vincenttew@google.com>
2023-12-26 03:46:20 +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
Carter Hsu
bfa3513cdc audio: support incall capture dl/ul concurrent recording
Bug: 317726514
Test: Verified by test build
Change-Id: I6095545e001cdc1f38e5303d5f28d699c6e8f02f
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-26 00:59:21 +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
Carter Hsu
145f10c929 audio: Update Fortemedia tuning
1. Optimize kid's voice parameter for HA NB/WB/SWB and HH WB/SWB
DR_RESRV_5: 0x0064
DR_RESRV_6: 0x1000
2. Apply HA/HH to TX co-use user cases: BT-HAC, Cust1, Cust2, Reserve1, Headphone, TTY-VCO

Bug: 315755480
Test: Verified by test build
Change-Id: Iced6eb56144bdb100fa0db64e11cba305da68b00
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-12-11 18:09:59 +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
351a4a7fd1 Merge "audio: add opus support for decoded offload" into main 2023-12-07 02:59:18 +00:00
Rios Kao
1507578c2f audio: update smartfeature table for chre tuning
note:
      On ZUMA
        CHRE PDM Gain(gain=158)
        CHRE AEC Gain(gain=-42)
        CHRE SRC AEC Timeout(timeout=0)
      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: 307463238

Change-Id: I886f0307641726b0ed714ffc5718a39a3aa34bb2
2023-11-16 10:07:43 +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
Carter Hsu
74f94def6a audio: add opus support for decoded offload
Bug: 307837960
Test: see the bug
Change-Id: Ic059da601ef23d6e2fa3b62f70abba001560ee78
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-10-26 01:52:04 +00: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
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
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
Carter Hsu
01e067a7ab audio: FM table check for UDC QPR1
#HK3/SB3 (Ricky/Duncan)
  1. Modify kid's voice parameter for all band all usercases
    DR_RESRV_7: 0x122E
    DR_RESRV_8: 0x1100

Bug: 300422978
Test: verified by acoustic team
Change-Id: Ifb331a8d16b5bd76ead68141cc6f74c4d0458d8f
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-09-15 00:09:09 +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
Carter Hsu
e1b0928b2a Merge "audio: using Fortemedia mcps table" into udc-qpr-dev 2023-09-07 01:16:43 +00:00
Carter Hsu
270debe4aa audio: using Fortemedia mcps table
Bug: 295415355
Test: Verified at b/295415355#comment4
Change-Id: Ia5027a73af93db3f77acb96d236b828760dc2d3d
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-09-04 05:18:14 +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
Treehugger Robot
d19c9efb98 Merge "audio: FM table check in (2023/08/28) for telephony." into udc-d1-dev am: 7766aab2a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24495631

Change-Id: I5227860cb44c334aa359fc37b894bbe91ad9213a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 04:56:14 +00: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