Update paths to point to /data/vendor/audio
for calib files for speaker protection.
CRs-Fixed: 2418789
Change-Id: Icf0487178aed568511747925cf8dbe2e9471583d
The RX bit-width is overwritten when getting the RX and
TX capabilities with same memory.
Use different variables to fix the issue.
CRs-Fixed: 2426606
Change-Id: Ib254eaa3ff3ce04eb77299757ff3cbfaeff9e57a
LOCAL_ADDITIONAL_DEPENDENCIES must only contain paths and
should not be dependent on module names.
CRs-Fixed: 2423819
Change-Id: I15019a68a92666b26a2027dc86a8b795e44663e4
Add audio HAL version property to support audio HAL
API 3.0 for audio patch and audio port configuration.
Add basic device and mixer routing support in audio
patch as audio stream set_parameters for ROUTING and
INPUT_SOURCE will be replaced with audio_path in
AudioFlinger for audio HAL API 3.0 and above.
Change-Id: I0a16982ff5115b3475ae302e8653f02657437e28
Update the start of the voice_extn features in the extn
features list. Compress metadata feature is skipped over
otherwise.
CRs-Fixed: 2416677
Change-Id: Iddb59dc55c0370e0ccaace1c6bbfd6dc9ac271e3
Currently USB TX capability is only updated when input device is
connected. Check USB TX capabilities when the output device as well
to avoid unnecessary device switch between USB-headset and USB-headphone.
CRs-Fixed: 2403502
Change-Id: I4caf3a967c8da7f6eebe4a5ac8d41a3d314a26d9
Audio device lock is not suitable for GEF operations, so add a dedicated
calibration lock for GEF.
CRs-Fixed: 2413132
Change-Id: Ic1e840c02e9d7f1bce5d3cb12702366af1c07f01
Add support for automotive audio HAL extension to
handle automotive specific feature enablement and
interface implementation.
Move hostless setup into auto hal module.
Change-Id: I5032433263b3cacc579da6a8a40389d1f783e49c
Ensure take adev lock before v-validation thread calls spkr_calibrate,
since spkr_calibrate() caller expected to take it. Update
timestamp calculation for nsec for v-validation based on
added value.
Change-Id: I1b4004eb1e809219e36b9c3f733a9b484cf1e8a4
1) Fixes for initializing audio_extn features such as speaker_prot,
fm,etc.
2) Runtime detection using vndk_fwkdetect lib has been
changed to dynamic loading instead of static linking
Change-Id: I4deef5e9ffefc17e427ecf5a271ed7bcd18dbb0f
Add support for automotive sound card
SAx155 in snd monitor driver for sound
card state callback during SSR.
Change-Id: I73ef050588ee61aa58c4896eed2c2c05fbd40fde
For v-validation thread can be invoked as part
of set param call.
Two setparams are required to be set :
1. "fbsp_v_vali_wait_time=xxx;fbsp_v_vali_vali_time=xxx;"
- to config v-vali params wait time(100 to 1000ms),
validation time (1000 to 3000ms).
2. "trigger_v_vali" to true - to start v-validation
Change-Id: I16ccc132242a21948beeceb0382c15ef88c0b431
For initial calibration thread can be invoked as part
of set param call instead of setting up at bootup.
Providing setprop option to choose whether bootup static way
or custom way to trigger calibration.
Two setparams are provided now :
1. "trigger_spkr_cal" - to start initial calibration process dynamically.
2. "apply_spkr_cal" - for every reboot, to apply initial cal from CALIB FILE.
Change-Id: I6e529d9b73f11ddfc165af4b2d30a24e927096ea
Add support for trinket sound card variants in sndmonitor
to enable SSR and PDR in trinket target.
Change-Id: I4691c76362b626a2295727bb6b050fcfeaec791b
In corner case, card 0 and card1 just were
registered successfully between validation
of card 0 and card 1,so card 1 was found
first, but card 0 will be bypassed forever
with current retry method.
Retry all un-detected sound card to avoid
the issue in such corner case.
CRs-Fixed: 2381078
Change-Id: I47211afec5559a25ccddfdfb1199549d8231d566
BT audio playback is not working as AUDIO_PARAMETER_DEVICE_CONNECT
param string is deleted by FFV module.
Do not delete AUDIO_PARAMETER_DEVICE_CONNECT and
AUDIO_PARAMETER_DEVICE_DISCONNECT strings as they are used by other
modules also.
Change-Id: Ice61399814f5f238afdb76b32bacfc316d839f3f
EC ref port can be simultaneously set and reset by
audio and SVA use cases. Synchronize enabling/disabling
of EC ref between sthal and audio hal by passing EC ref
enablement/disablement information to each other.
1. When closing input, EC ref does not stop if SVA EC ref
is active.
2. Pass Audio EC ref status to STHAL, when stopping SVA,
ensure EC does not stop if Audio EC ref is active.
Change-Id: I67f1f6316ea64e43a21cbf0add90d345a1108d3e
Mono mode is reset during encoder configuration and wrong payload
value passes to ADSP.
After encoder configuration set tws mono mode value as sent by A2DP
during playback start.
CRs-Fixed: 2386942
Change-Id: I40f49addfa0f9dfceae9af2546512d0cca02fb99