After the device switch from headset to the speaker, lag in playback
was observed.
The issue was seen because both the speaker and headphone was
configured using the native clock.
Add change to configure headphone to 48Khz sample rate before enabling
the use case on speaker.
Change-Id: I8ad1f2690e94a960f61fb7f36f49e8f6e5cace60
* Add ICC library functionality in icc.c
* Add support in audio_extn to open and initialize icc library
* Add platform changes for device selection in ICC usecase
* Add support for sending ICC audio calibration/app type cfg
Suggested-by: Tahir Dawson <dawson@qti.qualcomm.com>
Change-Id: I26937da282fcdd31d59a54b180dca5d7740fbfb0
Add voice stereo speaker vbat and voice stereo speaker protected vbat.
Update "get output device" function to use stereo speakers for voice
call when vbat/bcl and voice stereo speaker are enabled.
Change-Id: I5b91f2c133e8d9d39b14d60c35f0df2eb1454e73
Legacy SPs(8953 & 8937) does not support split A2DP.
BT registers with AOSP A2DP HAL rather than with
vendor BT HAL as the common audio policy conf has only
support for split A2dp and a2dp module(for BT input).
Changes is to support vendor BT HAL and remove split A2DP
by localizing audio policy conf files for these targets
rather than using common audio policy conf file. Same
applies for USB Hal as well.
Remove unsupported mixport profiles from policy conf
for these SPs.
Change-Id: Iba83b88480e998fae0c246b5f176ec27d1834578
When a2dp reconfig comes for pcm offload usecase, path
can be disabled without switching to speaker, which
leads cached PCM data rendered out after switching to
new codec, so trailing sound can be heard first and then
followed with mute, and finally when unmute is issued,
the mute period can sound like a glitch.
Change-Id: I8dc4349d0cb334252f1f9bbb27713e71a0bc7fb3
Add default mixer controls for in soundtrigger mixer paths
make sure they are reset after audioserver restart.
Change-Id: I081fd8969c197fa8350021639218d537546b2cd8
Allocate dedicated pcm node for in call recording, this can
avoid conflicting with generic audio recording for concurrent
recording scenarios
Change-Id: I1ec4e428d7962a19fc6d5168071dc81bbd7ea5ac
The current soundwire digital MIC's configurations
require dedicated_sva_path to be set to false in
sound_trigger_platform_info.xml so that SVA TX
concurrency use cases can work normally.
Change-Id: I05cc8f8e68227b6670f75d2a31cc9b078771e205
Add AUDIO_HAL_PLUGIN_USECASE_VOICE_ACTIVATION to usecase enum
to support SVA usecase enable and disable
Change-Id: If15d8eeb62756c7af3d43fdb7665573b63961e37