- Close socket fd to fix test app hang issue and increase the poll
time from 5msec to forever.
- Increase the sleep duration to 5sec to optimize power.
Change-Id: Ia3ce0121547d65617b52496b7cb6e37ef05c6ce3
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
Change the ACDB ID of speaker to mono as trinket
internal codec variant supports only one speaker.
Change-Id: I8b1d59fe1df2ccc233c02242070acd66ccac591c
Update Tx DEC volume for all decimators to 102 from 84
in order to accommodate for the mic sensitivity and
tuning parameters.
CRs-Fixed: 2397002
Change-Id: Iaf627dc471d5dde02d1610cac948defbcae01b8e
Config file changes for speaker protection and
handset gain on trinket. Add sound trigger
mixer paths for trinket tasha variant.
Change-Id: Id55a04f23e81693ee003d82ffa3323eb328606f3
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
- Add support for QSSI target to build
system image
- QSSI is to support common system image
across all targets & each target system
image compilation will include audio
qssi config files
Change-Id: I9e76a4d28712987235570634c5c40aa48648fbd5