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
When mixer_get_name returns NULL, acdb snd card name
might be NULL leading to NULL pointer dereference. Fix
this by adding a NULL check for sound card name.
CRs-Fixed: 2390227
Change-Id: I53f83cc8277e1c0e35cb528993b6dd153139be10
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
If sound card name has tashalite or tasha9326
as substring in it, use tasha sound card name
to pick ACDB files.
Change-Id: I3318775696559eda54fa8c33a5d11651f167c2d7
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
1. Set specific echo reference when using different
output device.
2. Set default echo reference when specific echo
reference route path does not exist.
CRs-Fixed: 2366229
Change-Id: I0b75bf2a0ee54bb5110b663fb86482b939793c98
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
When SSR/PDR occurs, sometimes RIL/telephony
does not set the call state and mode accordingly due
to which the dapm widgets do not power down leading
to clock count mismatch and SSR failure. Set the call
state to CALL_INACTIVE for all active sessions and
mode to MODE_NORMAL to end the voice call and power down
the widgets within audio.
CRs-Fixed: 2383876
Change-Id: I907a62557ef6519aded98e85ef8811234a6c06c8
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
In order to protect voice recognition data from other clients
in audio record concurrency usecases, mute all active non voice
recognition input streams.
Change-Id: I1002726699902952c8b8568d57aa1cb6dfc2ad2b
- 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
- Changes made to load the BT host IPC library
based on build type.
- Due to common vendor image, QTI build's IPC
library got renamed.
CRs-Fixed: 2373792
Change-Id: I2fcc5da9600a0a4b65f70603835a16913aeb0562
Add support to fallback to compress record path for second
record session during concurrent recording.
Change-Id: I0b570bb8a15fa6b07210e643b63ce65d8d95616a
Fetch feature flags from audio config store.
Provide an interface for audio_extn, platform
and hal code to check if a feature is enabled
or disabled at runtime.
Change-Id: I35d873c787258aee75481de343fcbcbc51cb9e91
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
Update the source files for ma_listener, cirrus_playback and
maxxaudio to latest versions.
CRs-Fixed: 2388992
Change-Id: I62eecf0356ee942d085ee94b848225a91704e688
This patch adds the audio HAL extension hook for supporting per-device
speaker calibration file loading as well as enabling hostless pcm stream
needed for the ADSP to obtain I/V/VP feedback from the CS35L36 boosted
amplifier codec.
Bug: 69005593
Test: Run cirrus_sp_status test tool on B1 P1.1
Change-Id: I511818fee7d15327619fec6d17b8fe55d54f1866
Signed-off-by: David Lin <dtwlin@google.com>
(cherry picked from commit 84e262b0a5ac2703bd35f766c62fb0017039dbe1)
- use effect module to monitor stream's volume
- the control(maxxaudio) monitors active device and
changed volume from HAL, and send audio calibration
to acdb via acdb_loader.
- support specific USB headset
Enabled function:
- LR channels swap
- load external tuning table for volume preset feature
Bug: 74360112
Test: manual effect test, usb headset test
Change-Id: I9b35436d6abebcfa250beb4857dfa0be9248f2b5
(cherry picked from commit 270b7762c1c6c7b69400ba28a2ea2bed7af1906a)
LOCAL_ADDITIONAL_DEPENDENCIES must only contain paths and
should not be dependent on module names. And it should have been
taken care of with the dependency added on the new UAPI headers.
Change-Id: I3aea0282b26d072de85e25d1435862f94d19ca16