Even if data flow might be in various channels during pcm offload
use case, pcm read from proxy is always stereo. There's no need to
check against stereo.
Change-Id: I60d2380bb7a20024fbc9e50ccd77ae69bafc35ca
CRs-Fixed: 2077166
- All qcom proprietary modules should use
/vendor path instead /system for
treble compatibility
- Modify configs and android makefiles accordingly
Change-Id: I1a4db8c39b5e7585d1a4d60584d5b1672c9599ac
Provide default initialization for return values in
visualizer_hal_start_output and visualizer_hal_stop_output
as in few conditions these are getting returned without any
explicit assignment.
Change-Id: Iac5b5ffb7c71dfeabd29bff9978dfc62f69ec7db
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 Peak and RMS measurement capabilities in the "offloaded" version
of the visualizer effect.
Bug 8413913
Change-Id: I09a88f4cc791db6c68f0769dc23ced0d3aac955c
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