- Update audio and voice feature init sequence
- Update API names for querying whether feature is enabled
- Fix A2DP audio_extn APIs
- Fix compress VOIP set parameter default return val issue that
was causing no other set param to be processed
- Fix dynamic primary usecase check
Change-Id: I08fa3bc369ec197932347b01491588d42655797c
Move audio and voice extension feature to seperate
dynamic libraries. Loading these libraries will be
controlled from config store based on target. These
flags can be changed at runtime
Change-Id: I042450768243124ea80945efac0821984f96b9bf
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>
Add new parameter in SA+ effects to get latency introduced
by each effect. Use #ifdef instead of #if in environmentalreverb header
file since _cplusplus macro not being defined is raising errors.
Change-Id: I0d5e410414502ac2bef77f1cbd7b041e4f26844d
Since EFFECT_FLAG_VOLUME_CTRL flag is set in non offload effect
implementations, EFFECT_CMD_SET_VOLUME should be handled in the same
manner as AOSP effect bundle.
In order for volume control to work, return the received volume in the
reply data.
CRs-Fixed: 2033812
Change-Id: Iee4cd3b80c1470034a208f0c5a014f10042a1ce2
- Virtualizer is getting applied just by setting strength even though
it was kept disabled by client.
- Enable/disable from strength context is not able to track state set by
client, since internal state may not be same as one set by client.
- Add a separate variable to track state set by client which would help
avoid going into any such inconsistent state.
Change-Id: I4985b2d12dc0ee3f62089423e3a71d530f66027c
0 stength in DSP virtualizer is not equivalent to disable state as down
mix is still happening for multichannel inputs.
For better user experience, explicitly disable virtualizer module when
strength is 0.
Change-Id: Ic2884ac7010e4f835df871719d546c0c05173f4b
CRs-Fixed: 872772
Add extra virtualizer interfaces to keep align with aosp design.
Extended capabilities include:
- Stub interface to allow querying speaker angles.
- Force set output device as specific virtualize mode.
- Query virtualize mode
Stub function remains to be refined in sync with upcoming aosp
changes.
Change-Id: I3316f6d944db1c9954eda7643a5ce433defa1a6c
CRs-Fixed: 810294
Add hw accelerator module to send PCM data to DSP and get
back the effects processed data.
Expose a wrapper library for AudioFlinger to be able use the new
module to apply the DSP audio effects.
Change-Id: I6ee30c11f04a97b35f12201fb61b8cd901921e68
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
When output is unintended device, there's no need to query enable_flag
before setting effect to disabled state. There's possiblity that
enable_flag is 0 as initialized value, which hinder effects from being
disabled.
Change-Id: Ib90c0ad0982dc8274129bb1bed7861e11670fbdb
USB_ACCESSORY is not intended to be applied with SA+ bassboost
and virtualizer, so add into invalid devices list.
CRs-Fixed: 659191
Change-Id: If1f3421f9935ce624dc21895d9244d36d195b2bd
Offload effect is still perceived when invalid output device is
connected. We should send disable command immediately once phone is
routed to unexpected device and forbid effect enablement during
temporary disabled state.
Change-Id: I26d4ccfd77037a879622b0437ae3916ff0071a69
CRs-Fixed: 630408
WFD, Hdmi and usb audio are not intended to be applied with
SA+ bassboost and virtualizer, so add into invalid device list.
Change-Id: Ifcf9cdffb6657cf82bf903d16d4a3ae8471590f0
CRs-Fixed: 630408
Enable flag should be sent directly through offload effect driver to
adsp whenever bundle receives EFFECT_CMD_ENABLE. Otherwise enablement
will only take effect in adsp after subsequent parameters being set, and
that's not expected.
Change-Id: I5a8f936095b5667f0e04b9109b67eaa0faec3a69
Currently, audio_effects.h header file is included with reference
to the absolute path. Instead, reference it from the kernel
exported headers.
Change-Id: I83880e0947e8b6a334b11c952fe8182b49ef5090
-During switch to tunnel playback, offload effects-flags remain
disabled. This stops effects being applied on tunnel playback.
-Send effects enable params to DSP to start effects during switch.
Change-Id: Ibe1e50b41ca25b51537e4a0ad80dbd5184379133
CRs-Fixed: 593509
Add interface to support configuring equlaizer, bass boost,
virtualizer and reverb effects in DSP for tunnel mode of
playback.
Change-Id: I9a93ad6136c4de06df5136967908b4e888dae44f