Commit Graph

6703 Commits

Author SHA1 Message Date
Viraja Kommaraju 81a1758cd2 hal: Add new feature flag for daemon support
Add AUDIO_FEATURE_ENABLED_DAEMON_SUPPORT feature flag
to enable acdb-loader and audio-hal-plugin daemon use
from hal.

Change-Id: I4b80f0bc4dda21a254667ba79f4e02ff80c84d6c
2020-10-27 07:57:40 +05:30
Viraja Kommaraju 7d407e17ae hal: Add feature flag for daemon support
Use DAEMON_SUPPORT_AUTO flag in hal to call client
libraries of acdb-loader and audio-hal-plugin daemons.

Change-Id: I77a2bb325fdd2441860b0b27f2632414837e64de
2020-10-27 07:56:45 +05:30
Meng Wang 2ae5b9d82c config: lahaina: update speaker acdb id for Lahaina HDK
on Lahaina HDK, mono speaker is used and update speaker
acdb id for it.

Change-Id: Ib23de5b1670b317154b9a0d8329df133add7fcec
2020-10-26 14:45:56 +08:00
qctecmdr d40c6c120d Merge "hal: Add change to fix speaker and headphone concurrency." 2020-10-25 07:27:51 -07:00
qctecmdr a586b71d67 Merge " hal: Fix mismatch in acdb configs for SWB" 2020-10-25 07:27:51 -07:00
qctecmdr 5056a3b9e9 Merge "Audio: Enable debug logs for hal." 2020-10-25 07:27:50 -07:00
xsang f47455f2be configs: set initial value for capture mixer controls
set initial value for capture mixer controls to avoid unexpected
behavior.

Change-Id: Ie0ea7407b5656003e520737ee1aa2cebfad5cbe5
2020-10-25 17:56:29 +08:00
Jaideep Sharma a810bdac75 configs:lahaina: copy xml's to chipset specific sku folder.
Copy shima specific conf files

Change-Id: I950d447345d7c81b65978bf65348f5b0aac90798
2020-10-23 09:42:01 +05:30
qctecmdr 82722427ce Merge "hal: disable volume boost if device is not supported during call" 2020-10-22 11:28:49 -07:00
qctecmdr b0fb001682 Merge "configs: Disable config store." 2020-10-22 11:16:35 -07:00
qctecmdr 9afd37d800 Merge "hal: Add logs for performance analysis." 2020-10-22 11:16:35 -07:00
qctecmdr d535f9eece Merge "configs: add support for BCS on QRD" 2020-10-22 11:16:35 -07:00
qctecmdr 100b54b168 Merge "CTS : hal : Disabled the concurrent capture feature" 2020-10-22 11:16:34 -07:00
Harshal Ahire 559c7c8b45 config: Add support for first stage module version query
Add version_id param to query hotword module version from ADSP.

Change-Id: If35f9016a16d52e732bf097f10c95fe2d6700e30
2020-10-22 22:01:30 +05:30
Saurav Kumar c14116653c hal: Add change to fix speaker and headphone concurrency.
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
2020-10-22 17:17:21 +05:30
Jaideep Sharma df94888709 audio_extn: reduce sleep time if soundcard is not up.
1 sec sleep time is too much, it leads to delay in upper layers,
reduce it to 400msec

Change-Id: I982d66c8bd256c25de48a8b76d2a8cfcd1fd6670
2020-10-22 14:13:52 +05:30
Manisha Agarwal 4c2402e0b3 Audio: Enable debug logs for hal.
Enable debug logs for hal.

Change-Id: I4e55267ffc0ee35da0a720dbaa46b46f341b2c0e
2020-10-21 14:51:22 +05:30
Huicheng Liu 1404ba18ab hal: add multizone input bus support for automotive
Add primary capture, front passenger capture and
rear seat capture support for multi-zone audio
support on automotive platform.

Change-Id: I36c9776381b4e08a237fd70efaa9c7475c3700a0
Signed-off-by: Huicheng Liu <huicliu@codeaurora.org>
2020-10-21 01:16:49 -04:00
Kamalakar Yalasiri 8d5738d073 configs: sdm660: Add EC Reference channels count
Add EC Reference channels count controls for Echo-reference
paths to support audio-record in fluence mode.

Change-Id: I13f26d30455b8a8242d260b0192eec30354122aa
2020-10-19 23:26:08 -07:00
qctecmdr 0ca8d6b0fb Merge "configs: sdm660: enable soundtrigger hidl hal 2.2 & 2.3" 2020-10-19 21:40:21 -07:00
qctecmdr 0001e7bbe9 Merge "a2dp: support lc3 codec playback" 2020-10-19 21:40:21 -07:00
qctecmdr 67701a04cd Merge "config: lahaina: update mixer controls for Lahaina HDK device" 2020-10-19 21:40:21 -07:00
xsang 05a22d82df configs: add support for BCS on QRD
enable BCS to suppress noise at button press.

Change-Id: Ifb5019a8ecaadc2a1c4efb7989a8dfa47a2bce56
2020-10-19 17:01:16 +08:00
Jaideep Sharma aadb90eef3 configs: Disable config store.
ConfigStore is no longer used, disable it.
Remove audio_configs.xml & audio_configs_stock.xml.

Change-Id: Ie8dacfb3930f7578039d830c674411841a4f37b0
2020-10-19 12:18:45 +05:30
Gautam Manam fbb3ebcd5a hal: Fix mismatch in acdb configs for SWB
For SWB, we prepare and open port as part
 of enable_snd_device, so make sure to set
 the correct acdb config before opening
 the port

Change-Id: Ia7e28278d5407946549528d0be905fe9a624df51
2020-10-16 10:24:42 -07:00
E V Ravi e6bd8c5093 CTS : hal : Disabled the concurrent capture feature
Disabled the concurrent capture feature to fix the audio record cts
issues

Signed-off-by: E V Ravi <evenka@codeaurora.org>

Change-Id: Iaf674542284238d2d79e0565e7894d31274dfdc2
2020-10-15 22:03:52 -07:00
Kunlei Zhang 253ad10756 hal: disable volume boost if device is not supported during call
During call,if volume boost is enabled in handset,then insert
headset, the volume boost still is active. This causes headset
volume cannot adjust.

Fix it by disable volume boost if the device is not supported.

Change-Id: I650778a0d5190ec3551151a32f4d56bbe561bc18
2020-10-16 12:24:41 +08:00
Harold Tan f8a7d69089 audio: Enable sound trigger hal 2.3 in QMAA mode
Change-Id: I1da7b652abf7898323b846f1341a3391b7ab7c7b
2020-10-15 16:53:35 -07:00
Jaideep Sharma 0fa53818a9 hal: Add logs for performance analysis.
Change logs and add new logs to get better understanding of
start time of various module

Change-Id: I9449ca7f820e49ff2bf79de38b19538be43445c5
2020-10-14 13:52:57 +05:30
Manisha Agarwal d45632bdb8 a2dp: support lc3 codec playback
Add support for lc3 codec playback.

Change-Id: I11df956272068b6b7fe0911ce091225dccc4fd18
2020-10-12 20:32:43 -07:00
qctecmdr a334969383 Merge "hal: Add support for In-Car Communication usecase" 2020-10-12 10:10:29 -07:00
qctecmdr a45f55f465 Merge "hal: add voice stereo speaker(-protected) with vbat" 2020-10-12 10:10:29 -07:00
qctecmdr 75550e9e9f Merge "configs: correct the mixer path value for voip Low latency headphones" 2020-10-12 10:10:29 -07:00
qctecmdr ec1573ad1b Merge "config: Add legacy specific default/common audio policy conf file" 2020-10-12 10:10:29 -07:00
qctecmdr 38ff4d3b51 Merge "Revert "configs: lahaina: enable bcl feature by default"" 2020-10-12 10:10:29 -07:00
qctecmdr fa1e6e28c2 Merge "configs:sdm429: Add mixer ctl for Headphone and WSA combo" 2020-10-12 08:55:34 -07:00
qctecmdr 4967cdbb3f Merge "hal: fix trailing sound heard during a2dp codec switch" 2020-10-12 08:55:34 -07:00
qctecmdr 1621759c36 Merge "configs: allocate dedicated pcm node for in call recording" 2020-10-12 08:55:34 -07:00
qctecmdr c4e1553c91 Merge "configs: add default controls for sva handset/headset usecases" 2020-10-12 08:55:34 -07:00
Meng Wang bcfa2c08be config: lahaina: update mixer controls for Lahaina HDK device
Update mixer controls for Lahaina HDK device to latest.

Change-Id: I1a6aeb2d169788493372c464e1d3aec65a905043
2020-10-12 15:35:21 +08:00
Sujin Panicker c0937bc235 configs: sdm660: enable soundtrigger hidl hal 2.2 & 2.3
Enable soundtrigger hidl hal 2.2 & 2.3 for SP with
kernel version 4.19.

Change-Id: I20eebc0f579e4a8ddda25d444adc7c36b4eeb106
2020-10-11 04:50:36 -07:00
Subhadra Jagadeesan e3cae41f9e configs: Disable ULL audio path for SDM660
Remove AUDIO_OUTPUT_FLAG_RAW flag from audio_policy
which is used for ultra-low-latency audio path as its not
fully supported and causes playback issues.
Solution: Use low-latency audio path instead.
Issues Fixed:
1. CTSHELP-4996:AudioLoopbackLatencyActivity fails in CtsVerifierTests
2. IOTBUG-4336: MIDI playback has glitches during playback.

Change-Id: Ib58c41877e588964c06198e7a61a675708a15a7f
2020-10-09 01:20:56 -07:00
Derek Chen a30a5f4ec9 hal: Add support for In-Car Communication usecase
* 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
2020-10-08 18:45:33 -04:00
Vignesh Kulothungan d3a67a5c7e hal: add voice stereo speaker(-protected) with vbat
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
2020-10-08 09:14:14 -07:00
Vignesh Kulothungan b18a6d0e20 configs: add mixer paths for voice speaker vbat
Add device mixer paths for voice call using stereo
speaker protected(vbat).
Add audio route mixer paths for voice call using
speaker(stereo) vbat device.

Change-Id: I427b98e24931db38f3b7af3a6e8d0db22f637147
2020-10-07 22:14:24 -07:00
Deru Wang 4e47521a1c hal: fix the compile error due to undefined macros
compile errors due to undefined macros on other platforms

Change-Id: I21278ddcb7ac53aacb3b3643d9236486a76533e5
2020-10-07 09:24:56 -07:00
Revathi Uddaraju 711549dcc4 configs: correct the mixer path value for voip Low latency headphones
correct the mixer path value for voip Low latency headphones.

Change-Id: Id67078845f0eb51f3c958b7f53ad94db9b62b36f
2020-10-07 18:24:40 +05:30
qctecmdr 3758ddca4b Merge "configs: 8937: update supporting configuration for voip profile" 2020-10-07 01:50:03 -07:00
qctecmdr 9239c27198 Merge "configs: msm8937: add support for VoIP over audio path" 2020-10-07 01:50:03 -07:00
qctecmdr 414194b3a1 Merge "configs: lahaina: change dedicated SVA path to false" 2020-10-07 01:50:03 -07:00