"LA.UM.9.14.r1-24200-LAHAINA.QSSI13.0"
* tag 'LA.UM.9.14.r1-24200-LAHAINA.QSSI13.0':
hal: disable unused feature to reduce memory footprint
configs:rb3gen2: add speaker-and-hdmi path for low-latency-playback
configs: create blocklist for audio to load different framework ko files
configs:removed unsupported sched_boost param for perf opt
hal: fix libadm.so right path in LE platform
hal: rb3gen2: Enable use of hdmi for voip/voice
primary-hal: Fix stability issues
audio-hal: Enable AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT for msmnile_gvmq_vcu
configs: rb3gen2: modified format for mixer_paths_yupikidprb3
configs : rb3gen2: added support for HDMI In backend interface
configs : rb3gen2: added support for HDMI backend interface
config: activate AUDIO_USE_STUB_HAL for audiolite
hal: add support for rb3gen2 specific audio platform xml
HAL: Fix for crash due to structure mismatch during st deinit
hal: sndmonitor: Fix for Code vulnerability
hal: disable unused feature to reduce memory footprint
Conflicts:
configs/lahaina/lahaina.mk
hal/Android.mk
Change-Id: I77e701d2bf4e52d94b40a1e2e495df6b4995e144
/usr/lib64 not exists in LE, ADM_LIBRARY_PATH
change to /usr/lib.
if libadm.so unavailable, caused below chains:
1. struct stream_in::real_time will be false
2. will not attach flag PCM_MMAP while pcm_open
if we now use ULL_NOIRQ(FE: MultiMedia8) device to
open capture, mmap func will not called, and
pcm_prepare failed.
Change-Id: I02baa9df0491a508163dd70ba34ed9634ea0ed93
"LA.UM.9.14.r1-23600-LAHAINA.QSSI14.0"
* tag 'LA.UM.9.14.r1-23600-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/hardware/qcom/audio:
audio-HAL: Fix for KW static analysis issues
audiohal: fix right audio platform xml file for rb3 gen2
Removed not used audio properties from audio-hal.
audio-hal: Fix kw issue
hal: add support for hfp on qcs6490
configs: rb3gen2: add support for HDMI out on rb3gen2 platform
hal: add support of HDMI external display for rb3gen2
hal: Extract source track meta data for 2mic
configs: rb3gen2: add support for 2/3/4 mic on rb3gen2 platform
hal: update mixer path files for Rb3Gen2 IOT with FV13 tuning
configs: RB3Gen2: add support for dual mic on RB3Gen2 platform.
hal: add support for rb3gen2 specific mixer xml
audio-hal: modify out_set_mmap_volume sequence
configs: msmsteppe_au: Update audio hal to 7.0
msmnile-tb bringup change.
config: 64bit suppor for msmsteppe auto
Change-Id: Ib536a3c77ee22d4d3f0a922f7a45c3b4b3734311
- add support for HDMI external display
- add stereo channel support for hdmi
- add mechanism to get controller and stream index for hdmi display
Change-Id: I12d60fd6cb3bfcd1d8264fbcdc4bdac808403eca
"LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0"
* tag 'LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0': (24 commits)
audio-hal: select right input device while enable fluence
hal: update copyrights in DOA source track files
hal: Add HDMI-in mixer_paths for RB3gen2
hal: update copyrights in DOA source track files
audio-hal: fixes for VTS hal v7.0
hal: Update audio hal to 7.0
configs: Update audio hal to 7.0
hal: KW fixes for NULL checks and invalid index
configs: Rb3Gen2: enable support for stt meta test app
hal: Extract source track meta data
hal: Update 64-bit vendor HAL path
configs: Rb3Gen2: Install STT meta test app
hal: update copyrights in acdb files
configs: RB3Gen2: add support for handset mic FNN on RB3Gen2
Enable MMAP Exclusive attributes to support MMAP usecase for AAudio.
hal: use list_for_each_safe instead of list_for_each
hal: add support for 3 mic and 2 mic for FNN model
config: Add NN models required for Fluence v13
config: Enable 64-bit lib for extension features
HAL: Support Mute and Unmute feature for compress offload path
...
Conflicts:
configs/msmsteppe_au/msmsteppe_au.mk
Change-Id: I95b41d5ba9db6786aa9669f9761d54bc445bc0a3
Changes to support 64-bit libs path used across audio
extensions and also in effect conf for 64-bit platform feature.
Change-Id: I80cc7bf64e90ce001b755ba4f16f2e9fe45ecdf1
"LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0"
* tag 'LA.UM.9.14.r1-22000-LAHAINA.QSSI12.0':
Revert " config: msmnile_au: Correct VA audiopolicy config path"
hal: Add check for compress-offload streams in open
hal: Audio elite make card_state path compatible for 5.4/5.15
config: msmnile_au: Correct VA audiopolicy config path
msmnile_au: Enable audiocontrol service for Android U
hal : update copyright markings
hal: fix sound leak when receiving voip call
audio: hal: add channel count check for channel mask update
audio-hal: enable low latency support for playback usecase and primary output support for HFP
audio-hal: enable app type cfg sampling rate support for nav_guidance, and alert bus
audio-hal: skip get_priority_input for record usecase
audio-hal: Incorrect ACDB device selected for capture usecases.
audio-hal: Add carplay low latency concurrent playback and record usecase support
audio-hal: enable low latency support for playback and record usecase with voice comm usage
Revert "Audio-HAL:Disable the mmap for HQX because, there is no support for mmap"
configs: add libacdbloadersocketclient
Conflicts:
configs/msmnile_au/msmnile_au.mk
Change-Id: If2efdb65985f1f53d45afa66e328815513544e7d
Enable low latency support for phone bus playback and record usecase
with voice comm usage for 8, 16, 24, 32 and 48KHz sample rates
Change-Id: I11c85989176dd6db71f56399f0f17acef99ebca8
Signed-off-by: Kogara Naveen Kumar <quic_nkogara@quicinc.com>
"LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0"
* tag 'LA.UM.9.14.r1-21200-LAHAINA.QSSI13.0': (22 commits)
hal: msm8974: Add speaker protection for qcs6490
hal : prevent buffer mute for fm usecase
HAL: Restrict calls to ADM for low-latency and ultra low-latency usecase
hal : enable tinyalsa from vendor path
configs: remove direct flag for VOIP RX
configs: remove direct flag for VOIP RX
audio: hal: update proper return value
hal: enable audio hal for qcs6490
audio-hal: AudioEffect reply overflow
hal: Fix compile issues for android U.
configs: msmnile_au: enable mmap for more bus
msmnile_au_ar : lunch combo changes
audio: hal: Avoid deallocated memory access
Audio-HAL:Disable the mmap for HQX because, there is no support for mmap
Configs: include audio control hal service
configs: lahaina: Marking added
msmnile_au_km4 : lunch combo changes
sdmsteppe: New audio config for qcs610 ODK
configs: lahaina: Add missing QuIC Clear BSD marking
HAL: Converting PCM enum to AUDIO FORMAT enum
...
Conflicts:
configs/msmnile_au/msmnile_au.mk
Change-Id: I53930272f7ac3137d0d1a27a90b72795960ab4d6
Add function for PCM FORMAT enum to AUDIO FORMAT enum conversion.
Change-Id: I0fc3c1adfe3aec6b309b790db8be537d50cee0ae
Signed-off-by: Raghu Bankapur <quic_rbankapu@quicinc.com>
"LA.UM.9.14.r1-20500-LAHAINA.QSSI13.0"
# By Krishna Kishor Jha (5) and others
# Via Gerrit - the friendly Code Review server (14) and others
* tag 'LA.UM.9.14.r1-20500-LAHAINA.QSSI13.0': (25 commits)
audio-hal: changes for fm tuner
configs: Add support for Qti AudioControl HAL
audio-hal: skip source priority for fm usecase
configs: Add card-defs-dummy.xml for elite and ar co-exit
hal: Adding support for AudioControl HAL's mute and duck features
audio-hal: changes to fix in-call volume issue
audio: hal: Avoid input device check for playback use case
ahal: removing unused libs
audio-hal: fix build error
audio: hal: Avoid input device check for playback use case
audio-policy: adding new mix port
audio: hal: correction in hex_mic enum value
configs: new mixer control for enabling/disabling paired rx port
configs: modify PLATFORM_VERSION to 13
audio-hal: fix for kw issue
configs: Remove unused "libvolumelistener.so" lib in audio_effects
audio: hal: add support for combo backend capture
audio-hal: Disable non automotive features
[AUDIO-HAL] Enable VA flag and libqti-tinycompress
configs: set ENABLED_AUDIO_PARSERS
...
Conflicts:
hal/audio_hw.c
Change-Id: Iabd6cf29589e84f955fc45fb7e5a1a3104d53860
"LA.UM.9.14.r1-19800-LAHAINA.QSSI13.0"
# By Kogara Naveen Kumar (4) and others
# Via Gerrit - the friendly Code Review server (28) and others
* tag 'LA.UM.9.14.r1-19800-LAHAINA.QSSI13.0': (38 commits)
primary-hal: Fix double free of fds
configs: set ENABLED_AUDIO_PARSERS
primary-hal: Fix issues found in static analysis
HAL: Restrict calls to ADM for low-latency usecase
hal: Add clear_devices to avoid memory leakage
audio-hal/primary-hal: Enable snd card monitor
primary-hal: BT a2dp build error fix
ahal: RTD improvement
audio-hal: Fix for the Voip TX usecase getting muted
hal: add support for hfp on qcs610 platform
audio-hal: Enable compilation of parser for QCS610
audio-hal: configs: enable value-added feature
hal: enable audio hal for kona
K5.15 Audio Techpack, fix for compilation issues.
configs: msmsteppe: enable sound trigger hidl hal 2.3
configs : Add support for AAC multichannel
audio-hal: add tinycompress soong build flags
hal: Add SpkrMono WSA support
hal: msm8974: Add speaker protetion on bengal
hal: Add speaker protetion support on LE
...
Change-Id: Iacb69a37363ca5ce43064c3465c9ff05b9502b6f
-Add support to capture 10 channel audio from two backends
6 channel from SLIM_0_TX and 4 channel from TERT_MI2S_TX.
-add support for SOURCE_DEC_TYPE to support 10 channel
generic mic capture.
Change-Id: I4fdfb7fa07d916426a0f11d88506039d0556bac7
- Adds snd device, acdb id, and
usecase for new alerts output bus
- Sets alerts output bus to use
pcm device 59 (MM31)
- Alerts bus will only be used
by automotive
Change-Id: I8932dfb646d301eec2d830a560f98a194e1e59fb
* 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
* Close existing streams during power policy disable callback
* Stop new streams from starting if current policy is in disabled state
Signed-off-by: Shubhasini Sugumaran <quic_c_shubsu@quicinc.com>
Change-Id: I4960e336f03086d1322708e155a4a4f02098b3fb
set/get soft step volume control params values dynamically
for each usecase. each usecase can set different params values.
these values are set to module through mixer command.
Change-Id: I8ae200046ca5ab1ce253fc43e241d794fbb52183
Signed-off-by: Krishna Kishor Jha <quic_kkishorj@quicinc.com>
Enable three concurrent record support in audio hal
Suggested-by: Karthik D K <kdk@qti.qualcomm.com>
Change-Id: I1d3fd3c50bbe6c92fb968af13b65ac98a940c66d
Signed-off-by: Krishna Kishor Jha <quic_kkishorj@quicinc.com>
Add API to allow FNN usecase status to be passed to
acdb-loader allowing persist cal block to be set
based on the FNN usecase status.
Change-Id: Ib9ce1c627eff26e873e1fd88fa2e19e6635a38e1
- Enables echo ref audio source and audio device
- Opens a separate echo reference stream for auto
- Captures echo reference from codec loopback
Change-Id: I95cbd85296ad647149fcf00a297c729ab22ef272
Remove in_get_stream and out_get_stream and
add in_ctxt and out_ctxt members to stream_in/out
structs to track and directly access stream contexts.
Mitigate race conditions with the active_in/outputs_list
when in/out_get_stream reads the list.
Change-Id: Iefc77d3c862b16dce8086e1afba15cf0210155b4
During A2DP to SCO transition, in order to avoid audible
PCM data pumping to BT SoC during suspend, mute stream
from DSP and switch to speaker to tear down slimbus to
avoid glitches heard after SCO connection is established.
Change-Id: Iabe2216e574b462cfc179369e75007998a576480
Add primary capture, front passenger capture and
rear seat capture support for multi-zone audio
support on automotive platform.
Change-Id: I36c9776381b4e08a237fd70efaa9c7475c3700a0
Signed-off-by: Huicheng Liu <huicliu@codeaurora.org>
* Add ICC library functionality in icc.c
* Add support in audio_extn to open and initialize icc library
* Add platform changes for device selection in ICC usecase
* Add support for sending ICC audio calibration/app type cfg
Suggested-by: Tahir Dawson <dawson@qti.qualcomm.com>
Change-Id: I26937da282fcdd31d59a54b180dca5d7740fbfb0
Device lock is released during a2dp suspend and re-config scenario,
which results into race condition.
Introduce a latch lock for the following reasons.
- We don't have to hold the out->lock that is too large granularity,
if we only care about certain fields in stream structure.
latch lock is of small granularity.
- out->lock can only be held after adev->lock, which makes it impossible
to loop through the adev->usecase_list and operate on usecase streams.
latch lock can be held after out->lock and adev->lock.
CRs-Fixed: 2770070
Change-Id: I58584820f924ce4c7e723899cb2595aa3adfd5b3
Check if a2dp path start failed and do retry from
out_write to recover the path is possible, which
can avoid blocking write if path set up failed.
Bug: 148926518
Change-Id: I479386e1760b214c1be31d34449a068e41ff5ced
Add bus stream for front passenger zone playback
on automotive platform.
Primary zone -> Mercury
Front passenger zone -> A2B1 (8CH DAC1) (ALL)
Rear seat zone -> A2B2 (16CH DAC1&2) (SA81x5)
A2B1 (8CH DAC2) (SA6155)
Change-Id: Ib288f84c94d33f2f49d45b32d6810e0b91db967f
if one recording is ongoing then currently second open_input_stream
takes uc for compress record.However, if this input is opened for
call recording then it changes the usecase in-between for
call recording leading to a state where inputs are configured
at c_in but not reset because of this in-between change of usecase.
for virtual sources like uplink, downlink, which actually don't record
form hardware input source, don't assign a compress usecase.
Change-Id: I154446fe867af63f0f6e0cb0de6d4a567658050f
Update audio patch in automotive HAL extension
to support device to device patch only.
Remove playback or capture patch as they are
supported at audio hw level.
Change-Id: If3cf097e4ed010548e1d3ab421611490f284157b
Add device comparasion utility for type and
address validation within device list.
Update bus device and address check with this
for audio port gain configuration on automotive
platform.
Change-Id: Ic2d4522ecb61179198766e2bb8e2d644b3a3d950
Since we are storing patch info and stream info
pointers and not copies, it is possible to change
the pointer value once adev lock is released.
Remove individual locks for patch and stream info
and instead use adev lock to control access.
Also, update error handling for audio patches.
Change-Id: I4538c37f2235cfcbbdb75232307ba3f5af2a324a
Audio devices were stored in HAL on variables with
type audio_devices_t. This change removes the storage
of multiple devices on a bitfield. Device comparisons,
assigments, removal have been updated. Helper functions
have been introduced for device operations.
Change-Id: I9ce8b0f9bdc542c386cbfe45b685158cc51d47b6
Implement create_audio_patch and release_audio_patch
APIs for stream routing. Framework will
call these APIs instead of set_parameters to update
routing for a stream.
Increment HAL major version to 3.
Change-Id: Ife914f3277f2b3aa02e88e722d191c3f930e8095