This project is mirrored from https://github.com/LineageOS/android_hardware_qcom_audio.
Pull mirroring updated .
- Sep 19, 2023
-
-
Daniel Jacob Chittoor authored
Force usage of SND_DEVICE_IN_VOICE_SPEAKER_MIC in DMIC cases See merge request !1
-
- Jul 31, 2023
-
-
Daniel Jacob Chittoor authored
-
Daniel Jacob Chittoor authored
Fairphone 4 uses a special microphone setup and does not use the same microphone for TX sub-band or external device usecases.
-
Daniel Jacob Chittoor authored
DMIC implementations remain partially broken, until this is fixed by the OEM force offload the usecase to utilise SND_DEVICE_IN_HANDSET_MIC as the input device.
-
Daniel Jacob Chittoor authored
DMIC implementations remain partially broken, until this is fixed by the OEM force offload the usecase to utilise SND_DEVICE_IN_VOICE_SPEAKER_MIC as the input device.
-
- Mar 20, 2023
-
-
* Force usage of SND_DEVICE_IN_VOICE_DMIC & SND_DEVICE_OUT_VOICE_HANDSET on TMUS * Fixes broken mic input on TMUS in voice calls (unless speaker was toggled on and off) Change-Id: I70640d6af6eed10aac45941f46aa2f37faa77d7a
-
- Oct 10, 2022
-
-
Luofan Chen authored
Make the call to audio_amplifier_enable_devices consistent. The call site of the function audio_amplifier_enable_device is inconsistent. It enables the amplifier when the spkr_prot feature is detected and enabled, but disables the amplifier only when the spkr_prot feature is disabled. Normally, the amplifier should be enabled when starting a playback and disabled when the playback stops, meaning that the enable and disable call to the function should be under the same condition. Furthermore, the HAL should always call this function with enough information to let the amplifier module itself decide whether it should proceed or just return. Move both the call site of `amplifier_enable_devices` out of the if guard, such that the call sites are consistent. Signed-off-by:
Luofan Chen <clfbbn@gmail.com> Change-Id: Icb90cb6301b8dc2425561d3c1717d74733807e0e
-
- Sep 17, 2022
-
-
Luofan Chen authored
If the audio_amplifier HAL has the amplifier calibration function defined, call this to allow the HAL calibrate the amplifier right after opening the module. Signed-off-by:
Luofan Chen <clfbbn@gmail.com> Depends-On: I9d497fb5d9716bbcbc6ef9035205ee18da994e72 Change-Id: Ie8fbbb855865b41dafb9f289aaed377bdfe9ffe7
-
- Jul 06, 2022
-
-
Michael Bestas authored
Merge tag 'LA.UM.9.12.r1-14300-SMxx50.0' into staging/lineage-19.1_merge-LA.UM.9.12.r1-14300-SMxx50.0 "LA.UM.9.12.r1-14300-SMxx50.0" # By Anver sadhique (6) and others # Via Gerrit - the friendly Code Review server (5) and others * tag 'LA.UM.9.12.r1-14300-SMxx50.0': configs: xrfusion-ult: add sound card support for xrfusion-ult platform hal: add xrfusion-ult snd card hal: set valid and supported channel mask for earpiece configs: fix copyright audio_hal: correct platform_check_backend_match for in_snd device configs: Remove dynamic attributes from APS config hal: fix bt sco and a2dp concurrency issues configs: Remove dynamic attributes from APS config configs: Add Stereo config channel support to usb surround sound audio_hal : remove voice call type from sco stream in check audio_hal : examine SCO device in the stream list before routing to SCO Change-Id: I5080854146badf071f1896a26b02a115b902cb3e
-
- Jun 30, 2022
-
-
LuK1337 authored
* Doesn't work at all. Change-Id: I8cd6341b240c3820dbbdef497e23e785b6ed99dc
-
- Jun 16, 2022
-
-
Chirayu Desai authored
Change-Id: Ic0538df6feab74df73dab4b9f8c678f83ddc4f34
-
- May 18, 2022
-
-
Linux Build Service Account authored
Change-Id: I62055297af65e1b8c7cf54d5b7b46aa5ef185e08
-
- Apr 20, 2022
-
-
qctecmdr authored
-
- Apr 14, 2022
-
-
Meng Wang authored
Adding sound card support for xrfusion ult platform. Change-Id: I89f99ca02f60001b83f521c7bef4588d22b8a02b
-
- Apr 12, 2022
-
-
Meng Wang authored
Add xrfusion-ult sound card to the platform. Change-Id: Ie351fba5abc0bb0574fdde6c74f312b939f3df81
-
- Feb 25, 2022
-
-
Linux Build Service Account authored
Change-Id: I74211ade361b43881a642d009e1af19b4aca2bbc
-
- Feb 11, 2022
-
-
qctecmdr authored
-
- Feb 10, 2022
-
-
Jeongik Cha authored
Bug: 150578172 Test: m Change-Id: I9714cd4416fe0ce23e57cd7db162bfb45b0f84d5
-
Ricardo Cerqueira authored
Change-Id: I466816af5e1258f61401edf3eaf37ed7a862292e
-
Wei Wang authored
Bug: 154338876 Test: build Change-Id: I93b858a1991b18e281ca488351d2526d5f5dd4d8
-
Wei Wang authored
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
-
Wei Wang authored
Bug: 148798433 Test: Build Change-Id: Ie14d90bf17faad68beb16a9916e2fab9627b1eb4
-
Pig authored
LOCAL_COPY_HEADERS is deprecated, so remove all its usages to avoid build warnings. Change-Id: I4c52508e9109c5f448653fd5613a8991d28bbb2e
-
LuK1337 authored
Change-Id: Ibbcd009333337cd41f2e6bf70391914b75f8a3ba
-
Daniel Hillenbrand authored
* 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
-
Atman authored
* pthread.h include was missing so we add it. * Fixes compilation with BOARD_VNDK_VERSION. Change-Id: I297a0fc0cf4763b3550e1a8d37f2653b77b6e3a8
-
Bruno Martins authored
In case a device uses a prebuilt HAL it is rather likely that the extensions must match it. Change-Id: I0cb05030c9c7619513810362960a2e2a3306b3aa
-
Bruno Martins authored
Change-Id: I23e25aa8e6ae63fcb40a0a1bd3bc68565527d176
-
Ethan Chen authored
Change-Id: If6d270bd92b42df1cdc9719774da768039054753
-
- Feb 09, 2022
-
-
Anver sadhique authored
For earpiece to be properly enumerated as a output device, set valid and supported out_ channel mask. Change-Id: Ic83b009956ff43567b3acbb186d0069b16e91e83
-
- Feb 08, 2022
-
-
qctecmdr authored
-
- Feb 01, 2022
-
-
Anver sadhique authored
Reverting LF copyright year back to original. Change-Id: Ia8b69b705f17727d9ae6ba29c6154b5fef36a292
-
Anver sadhique authored
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
-
- Jan 31, 2022
-
-
Linux Build Service Account authored
Change-Id: If4e808b41683a4f30ae10ee5bed044c45096e03a
-
- Jan 18, 2022
-
-
qctecmdr authored
-
- Jan 10, 2022
-
-
Anver sadhique authored
Remove dynamic attributes from APS config since it is not supported. Change-Id: I48e232b831cfb0aa8ba9ab875aa92119140008ef
-
- Jan 04, 2022
-
-
Ramjee Singh authored
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
-
- Dec 09, 2021
-
-
qctecmdr authored
-
Mingshu Pang authored
Remove dynamic attributes from APS config since it is not supported. Change-Id: I5ad81b67e7b6bb33e245a2620622f1e2e2a76506
-
Lakshman Chaluvaraju authored
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
-