Dynamically read the sound card number and device id
of the pcm device used for visualizer from procfs.
CRs-Fixed: 2430458
Change-Id: Ie757b7810eeeb8cebdbee557be1d930b6cab3f03
Enable GCOV if config is set to true. Also
add gcov_flush in source files to get enhanced
code coverage.
Change-Id: I39776cc6d6f16cd23da05b66669eea22fc4cba81
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
- All qcom proprietary modules should use
/vendor path instead /system for
treble compatibility
- Modify configs and android makefiles accordingly
Change-Id: I1a4db8c39b5e7585d1a4d60584d5b1672c9599ac
Rename all instances of msmcobalt to msm8998. Rename
the config directory, defines, functions, and look for
the renamed target and soundcard.
Change-Id: Idbc4c5a425c837342069c2db17b6ec984021bf60
Offload visualizer had a hardcoded PCM device. Since the device
number changed, update the hash define
Change-Id: Ice44a5c8c3dbee6eb04188b661e2b7ea4d056937
CRs-Fixed: 1057902
When compress offload playback is active, if the Visualizer effect
is enabled, decoded PCM audio is routed to AFE Proxy port and
read from it by the Visualizer wrapper library. When audio is routed
to proxy port, current output device specific calibration is also
being applied which is not desired.
Avoid this by sending default audio calibration i.e. no post-processing
to be applied the data.
Change-Id: Id576c4ed7bbb482683074e3e33aa5760b7597d37
To comply with multi-arch build system changes for 64-bit support,
LOCAL_MODULE_RELATIVE_PATH needs to be used.
Drop explicit use of LOCAL_MODULE_PATH, and use relative path to
avoid build system to overwrite one of multi-arch library variants
with the other arch variant.
Change-Id: I21f9b952a79c3930b15ff5549ac3c21ca827cc3a
Add library for visualizer effect used when
audio decompression is offloaded to QCOM audio DSP.
The implementation reads PCM back from the proxy port
in the audio DSP.
The audio HAL dynamically loads the effect library if present
and indicates offloaded output activity.
The PCM capture is only active when an offloaded output
is active and at least one effect is enabled on this output.
Bug: 8174410.
Change-Id: Ic78de932f9116e246494f9171c1cc7c3e35a0ea1