summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-05mm-audio: Fix missing headersumineko-8150tachibana-8150alk3pInjection
Change-Id: Idddb10f4ea515379d9b866aeb43aa2534419301f
2022-09-05mm-audio: Kill redundant omx-testsalk3pInjection
This reverts commit 83382efdec0987d5262c7d3df65f1795b3483254. Change-Id: I87706777e58e1c027b1df9a52f6275d20435bc7a
2022-09-05configs: msmnile: Do not enable dlkm by defaultalk3pInjection
Change-Id: I5c816006dfe87b4331768426b3d9adc4e254444f
2022-09-05Remove ndk_platform backend. Use the ndk backend.Jiyong Park
The ndk_platform backend will soon be deprecated because the ndk backend can serve the same purpose. This is to eliminate the confusion about having two variants (ndk and ndk_platform) for the same ndk backend. Bug: 161456198 Test: m Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547 Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2022-09-05Specify version for aidl_interface explicitlyJeongik Cha
Bug: 150578172 Test: m Change-Id: I9714cd4416fe0ce23e57cd7db162bfb45b0f84d5
2022-09-05Remove log spam when placing power hint callWei Wang
Bug: 154338876 Test: build Change-Id: I93b858a1991b18e281ca488351d2526d5f5dd4d8
2022-09-05Probe PowerHAL HIDL firstWei Wang
Right now AIDL doesn't provide an API for vendor code to query if the AIDL HAL declared. This will lead to 1) long blocking call for device doesn't have the AIDL HAL and also 2) potential problem if the service starts late after 5s timeout. This is a workaround for addressing 1) on devices having HIDL, but still affects device that doesn't have HIDL service. Bug: 149797408 Test: build Change-Id: I60aada1ab1a044db965987bca5f6eee5b6262b20
2022-09-05Support Power HAL AIDL serviceWei Wang
Bug: 148798433 Test: Build Change-Id: Ie14d90bf17faad68beb16a9916e2fab9627b1eb4
2022-09-05audio: Drop LOCAL_COPY_HEADERS usagePig
LOCAL_COPY_HEADERS is deprecated, so remove all its usages to avoid build warnings. Change-Id: I4c52508e9109c5f448653fd5613a8991d28bbb2e
2022-09-05audio: adsprpcd: Drop dependency on proprietary headers and fix build errorsLuK1337
Change-Id: Ibbcd009333337cd41f2e6bf70391914b75f8a3ba
2022-09-05hal: Support the audio amplifier hookDaniel Hillenbrand
* Original legacy HAL commit: Ib236598a5888b2af19bcfb81e285f644a0e84c0d * Example: http://review.cyanogenmod.org/38221 (cyanogen: Refactored to be an audio_extn) Change-Id: Ic944a9f7059c78b79322dae9c787cdd8bb029cff audio: add amplifier stream start/standby operations Change-Id: I5de7ad7a0467e7cf822c9c0870a755c03d05e884 hal: Convert libaudioamp to audio_amplifier HAL Change-Id: I1d0f63a46989d1792d7a5e08d2bdb6344ebafa31 hal: Notify amplifier of device enable/disable Change-Id: Ice808c9b55a9e3bc8bafe5ca3ff555377d38dd8f hal: enable amplifier earlier Change-Id: Id876e8f836e3ce1ee5f8186ca9c0e6ef5f37182c hal: only open the amplifier once Change-Id: Ie9bbff74123e90b71e95809a84dcb3bbe9ba82fe hal: notify amplifier of parameter changes Change-Id: Iecc020c0347ae7c43d27183186e06dcefef7a0dd hal: Clean up audio amplifier usage * Externalize it into an extension file similar to the rest. Change-Id: I03de7efa9bab8870099028170fa471dfffe1ce84 audio: add amplifier hooks for stream parameter manipulation hal: Use log/log.h instead of cutils/log.h Change-Id: I6e52524cc650eea234fbcf64ed17104dd8a3f001 [Pig]: Clang-format audio_amplifier: Add new hook for setting amp feedback Change-Id: I6de5e9c9dbbb6214b166f30628734aeb406c8a2a Change-Id: I16a76475cb58a710d229648d77024379bfc499d5
2022-09-05hal: Add missing includesAtman
* pthread.h include was missing so we add it. * Fixes compilation with BOARD_VNDK_VERSION. Change-Id: I297a0fc0cf4763b3550e1a8d37f2653b77b6e3a8
2022-09-05audio_extn: Allow skipping compilation of audio HAL extensionsBruno Martins
In case a device uses a prebuilt HAL it is rather likely that the extensions must match it. Change-Id: I0cb05030c9c7619513810362960a2e2a3306b3aa
2022-09-05audio: Skip libhdmipassthru on OSS buildsBruno Martins
Change-Id: I23e25aa8e6ae63fcb40a0a1bd3bc68565527d176
2022-07-15Merge 4ae72025dbd96ff5ff34d2e8aa2fea23f45498ee on remote branchLinux Build Service Account
Change-Id: I93663b2ac9562a9206ccc033dfbf54a80bf53c97
2022-06-13Merge "hal: add support for trinket facepay device"qctecmdr
2022-06-13Merge "configs: Adding new facepay xml files"qctecmdr
2022-06-10hal: add support for trinket facepay deviceArungopal Kondaveeti
Add soundcard support for trinket facepay device Change-Id: Iebb77da93f1fccd5dd0a43a2070bd7c4f7f6525a
2022-06-10configs: Adding new facepay xml filesArungopal Kondaveeti
Adding new platform and mixer files for facepay Change-Id: I16c6844ba09ff168ad35656c44f1a4999d4a768d
2022-05-04Merge 134af4f134d1980f77216440b993418390014f1c on remote branchLinux Build Service Account
Change-Id: Ib6fbf567fd259de936503de5f22787e6f253bbce
2022-04-26hal: select correct platform info for xrfusion deviceMeng Wang
Select correct platform info file for xrfusion device. Change-Id: Ide7dcbb601cea7ac25adc46ec9151e05b351f003
2022-04-20Merge "configs: xrfusion-ult: add sound card support for xrfusion-ult platform"qctecmdr
2022-04-14configs: xrfusion-ult: add sound card support for xrfusion-ult platformMeng Wang
Adding sound card support for xrfusion ult platform. Change-Id: I89f99ca02f60001b83f521c7bef4588d22b8a02b
2022-04-12hal: add xrfusion-ult snd cardMeng Wang
Add xrfusion-ult sound card to the platform. Change-Id: Ie351fba5abc0bb0574fdde6c74f312b939f3df81
2022-02-25Merge 8fb0a256568abf903bf1e3b3e1a712b717e3ff84 on remote branchLinux Build Service Account
Change-Id: Iba0f921e1ec7a7c9ef69939b2b843da1a315ba4c
2022-02-11Merge "hal: set valid and supported channel mask for earpiece"qctecmdr
2022-02-09hal: set valid and supported channel mask for earpieceAnver sadhique
For earpiece to be properly enumerated as a output device, set valid and supported out_ channel mask. Change-Id: Ic83b009956ff43567b3acbb186d0069b16e91e83
2022-02-08Merge "configs: fix copyright"qctecmdr
2022-02-01configs: fix copyrightAnver sadhique
Reverting LF copyright year back to original. Change-Id: Ia8b69b705f17727d9ae6ba29c6154b5fef36a292
2022-01-31audio_hal: correct platform_check_backend_match for in_snd deviceAnver sadhique
When voice recording is active and start voice call on usb headphone voice rec and voice call with usb headphone use same backend in_snd device. when call is moved to speaker and back to usb headphone tx mute observed due to current active in_snd device not disabled and enabled again during device switch. platform_check_backend_match only check out_snd_device so passing in_snd_device always return false. Fix made to use platform_check_all_backend_match for in_snd device backend match check. Change-Id: Ia4761996641f711713cfa36762861978a1b94337
2022-01-31Merge 604e437f6f1615172baf9b18e3e2dfe779597723 on remote branchLinux Build Service Account
Change-Id: Id8126d1d1a278ff50e432df87e7dd34dc98e87dc
2022-01-17Merge "configs: Remove dynamic attributes from APS config"qctecmdr
2022-01-10configs: Remove dynamic attributes from APS configAnver sadhique
Remove dynamic attributes from APS config since it is not supported. Change-Id: I48e232b831cfb0aa8ba9ab875aa92119140008ef
2022-01-03hal: fix bt sco and a2dp concurrency issuesRamjee Singh
When sco mic device is already active and SND_DEVICE_OUT_BT_A2DP is enabled, then route is switched to A2dp, but sco mic can still keep active which means the BE is already active, causing the slimbus configuration of feedback path for A2dp to be ignored. To fix this, tear down the input stream to disable bt sco mic before enabling a2dp path. Change-Id: I42e37e7b192d374401406cfa6dff4b97dca36697
2021-12-09Merge "configs: Remove dynamic attributes from APS config"qctecmdr
2021-12-08configs: Remove dynamic attributes from APS configMingshu Pang
Remove dynamic attributes from APS config since it is not supported. Change-Id: I5ad81b67e7b6bb33e245a2620622f1e2e2a76506
2021-12-08configs: Add Stereo config channel support to usb surround soundLakshman Chaluvaraju
Adding stereo config channel support to usb surround sound proflle to address CTS-V failure issue seen due to mismatch in channel mask support for record usecase Change-Id: Ib50511d2fa6df24b3aa4764553cd48726129b2c2
2021-11-02Merge b545d0cf648e1e1c9bce9fc7fa8632a11214466d on remote branchLinux Build Service Account
Change-Id: I9ddf9e699f75b61ec39433aae669a91b1396725a
2021-09-21audio_hal : remove voice call type from sco stream in checkAnver sadhique
During voice call, device switch from speaker to bt a2dp we are seeing crash in audio_hal due to invalid addrress passed to is_sco_in_device_type which cause voice call failed in bt a2dp. All voice call usecase routing request made based on stream output device, input device does not play any role hence removing voice call check from sco stream in check. Change-Id: Icaa71c8e461f26c913c0c637504824b848d87e95
2021-08-30audio_hal : examine SCO device in the stream list before routing to SCOAnver sadhique
when BT_SCO=ON arrive we are routing all usecase to SCO device but sometime SCO device not updated to stream list,so again device switched to previous device. To avoid that we check SCO device availability in the stream list then routing to SCO. Change-Id: I599e07b56527f0e087bb59254b16fcc9ca278520
2021-08-23Merge af30f0103a50df510a71a12047b5c68b4e3b8a72 on remote branchLinux Build Service Account
Change-Id: I49fe6a129867d3935776ae8398f95f01d9f465da
2021-08-04hal: Fix CFI errorsSujin Panicker
CFI check is failing due to difference in function signature during CVE-2019-10581 POC test. Fix the issue by matching the function signature in header file and function pointer type. Change-Id: I92ccb0871b09f5757195844984519d51367ed35f
2021-07-29Merge a540c9909548251cf6a5bd8cbe78027f7e9f1d2d on remote branchLinux Build Service Account
Change-Id: I01622ee2912d5dc611a8854337689aeffcd11466
2021-07-22configs: holi: change pcm id for afe proxy record-2Zhou Song
Change the pcm id of afe proxy record-2 to match the same in driver. Change-Id: I9b21d71b7231405cd04b19d7e8bb66f0ad861a08
2021-07-12Merge "hal: typecasting variable to avoid multiplication overflow error"qctecmdr
2021-07-11configs: New attribute in sound trigger xml to know support for second stage ↵Shalini Manjunatha
detection -> Introducing new attribute to know if second stage detection supported on given target -> By default it is supported on all targets -> Define only on those targets with value false where no support Change-Id: I1df2bc6bc7cb8e2f26077fbc1905fcc96978fa23
2021-07-11hal: typecasting variable to avoid multiplication overflow errorShalini Manjunatha
-> typecasting variable in order to avoid mul overflow leading to SIGABORT Change-Id: I58ccdd55908f4844d5228d1723f86bf569cbd4aa
2021-07-07a2dp : pcm prepare fail for input during a2dp suspend and reconfigLakshman Chaluvaraju
Start input is failing due to race condition in a2dp suspend and a2dp connection/disconnection. If a2dp suspend params are and then a2dp disconnection comes, reseting the suspended flag can cause a2dp_is_ready function return invalid value during start input and hence pcm prepare fails. Avoid setting a2dp suspend state to false if sco is still on. Change-Id: I83950ddd0d4d3bbe6f30846cba48f6eb88c14690
2021-06-27Merge 2cc132a765140dd64412d9f6578a449322e0dfc5 on remote branchLinux Build Service Account
Change-Id: I644654fca5ff49cf8cf35e908302df4afdaedd52
2021-06-16Merge "hal: Select same Tx device as voice call for VA after device switch."qctecmdr