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