Commit Graph

5748 Commits

Author SHA1 Message Date
Vignesh Kulothungan e48106dee0 configs: lahaina: add conditional modules installation
For Android.mk to Android.bp conversion, modules which were
compiled conditionally are now installed conditionally via respective
product make files. Conditionally add such modules for lahaina.

Change-Id: I8306fc90769d19720e01de6ba31d342c71f4ee10
2020-01-10 12:06:05 -08:00
Vignesh Kulothungan c49bdfa9f6 audio: update uapi header location
From kernel 5.4, uapi header location has been updated.
Add path includes to the updated location of uapi headers.

Change-Id: I21cdf51bd135b088379e74db6340a0a0c1ccd352
2020-01-09 17:12:54 -08:00
Aniket Kumar Lata 1fda943d0f hal: Add support for audio patches in HAL
Implement create_audio_patch and release_audio_patch
APIs for stream routing. Framework will
call these APIs instead of set_parameters to update
routing for a stream.
Increment HAL major version to 3.

Change-Id: Ife914f3277f2b3aa02e88e722d191c3f930e8095
2020-01-09 16:39:24 -08:00
Paresh Purabhiya 76f08566e9 lito : disable audio property
disable speaker protection audio property
for pure aosp target.

Change-Id: I0bfcdc7dda3b941be2ca33279fab4b35524301b4
2020-01-06 06:19:39 -08:00
qctecmdr f3d3359c9e Merge "configs: conditionaly add modules compiled using Android.bp" 2020-01-05 07:42:38 -08:00
Jaideep Sharma 4a45f34772 configs: conditionaly add modules compiled using Android.bp
Change-Id: I05aed3ab285f45e5416de195648d5aa2b5f8764f
2019-12-26 22:29:41 -08:00
Vignesh Kulothungan 92a3871d5f hal: add audio specific config files for lahaina
Add audio specific config files for lahaina

Change-Id: I13e8ae73af1a1fd1ddfd3010ea0dad310585e372
2019-12-23 14:54:19 -08:00
qctecmdr 6a53b480fa Merge "hal: restore a2dp during soft hand-off" 2019-12-20 05:44:28 -08:00
Manisha Agarwal 6a6fb9a769 hal: restore a2dp during soft hand-off
During bt playback if a2dp is not ready and playback is
muted over speaker and if we do a SHO, audio remains mute
and not restored

Add condition to check if a2dp is muted and restore a2dp

Change-Id: If3a52bc2ffaa1063d29d28e7023c5dee742a94a0
2019-12-05 21:59:45 -08:00
Jaideep Sharma 31341f2467 hal: remove unused shared library inclusions
Change-Id: I68022104af6cc4d2580baa820ecd4b1944873412
2019-12-06 10:45:53 +05:30
Dhananjay Kumar b2ade922dd hal: configs: enable qssi compliance flag
Enable qssi compliance flag to compile SVA libs shared with
system and vendor from commonsys-intf location.

Change-Id: I5fa2a991b2a4f93d9ad233a06354b7e6c3701efd
2019-11-28 18:55:59 +05:30
Paresh Purabhiya a1e177ee7b config: enable pure aosp feature flags for lito
- based on product configuration, i.e. vendor modified vs generic
  image, enable \ disable feature run time

Change-Id: Iad33a84eab0b81192046068c6bb7e55969b98e0e
2019-11-26 15:41:40 +05:30
Derek Chen c7b66f0e51 Revert "config: TEMP: remove additional offload codec support"
This reverts commit 0d580188ce.

Change-Id: Ica43693de4d74c56cd42a2b812625ccfe48a45c7
2019-11-11 18:41:05 -08:00
Derek Chen 0d580188ce config: TEMP: remove additional offload codec support
TEMP: Remove additional offload codec support on
top of pure AOSP build.

Change-Id: I464a1791ba11d870aedb63a0de132e73687b1219
2019-11-11 12:18:16 -08:00
qctecmdr 20795f6bb5 Merge "Hal: Add 384K and 352.8K in the USB supported sample rate table" 2019-11-08 04:41:22 -08:00
qctecmdr cba3adae62 Merge "hal: add audio support for bengal QRD" 2019-11-08 04:38:29 -08:00
qctecmdr f374358ac4 Merge "config: Add fast input profile for the record concurrency" 2019-11-08 04:37:29 -08:00
qctecmdr f577572614 Merge "hal: config: add LPI enable mixer control for LPI SVA session" 2019-11-08 04:36:45 -08:00
qctecmdr acdadc41a8 Merge "configs: add configs files for bengal qrd" 2019-11-08 04:35:25 -08:00
qctecmdr cb4b35b858 Merge "config: lito: add default value for ADC2_MIXER Switch" 2019-11-07 01:08:02 -08:00
qctecmdr 5cfad4acea Merge "configs: atoll: Modify the decimator gain for DMIC3 use cases" 2019-11-07 01:06:19 -08:00
Meng Wang e5e1c6154e hal: config: add LPI enable mixer control for LPI SVA session
Add LPI enable mixer control for LPI SVA sessions.

Change-Id: I5f7efa8213472e95dd4e3cbf956667dd439b9b78
2019-11-06 08:39:36 +08:00
Aditya Bavanari 357ce295c7 configs: atoll: Modify the decimator gain for DMIC3 use cases
DMIC3 in atoll target uses higher sensitivity mic which
leads to secondary mic picking higher volume
than the primary mic. Adjust the decimator gain for DMIC3
to 84dB to fix this issue.

Change-Id: Ib5de8d45a806c37155d15688e66b447bc5f2125b
2019-11-05 17:13:09 +05:30
qctecmdr c664d9f380 Merge "hal: fix usage of call by reference pointer" 2019-11-05 02:39:56 -08:00
qctecmdr 43f8b500c6 Merge "configs: bengal bring up changes" 2019-11-05 02:38:48 -08:00
Kunlei Zhang 12987be5d5 configs: add configs files for bengal qrd
Add configs files for bengal qrd target.

Change-Id: Ib7eb5710b3a8f0357a9c0d7a1588813d6d4ddbe6
2019-11-05 11:20:35 +08:00
qctecmdr 3fde27bf2c Merge "configs: atoll: update handset dmic path for atoll qrd target" 2019-11-01 21:25:56 -07:00
qctecmdr d1270ebb05 Merge "configs: add mixer controls for lito and atoll display ports" 2019-11-01 21:25:56 -07:00
qctecmdr 9a6343bcbd Merge "hal: Prevent integer overflow" 2019-11-01 21:25:56 -07:00
qctecmdr b38a301ffd Merge "configs: modify mixer paths for mmsecns sva" 2019-11-01 21:25:56 -07:00
Mingshu pang e8aedf1744 Hal: Add 384K and 352.8K in the USB supported sample rate table
Add 384K and 352.8K in the USB supported sample rate table in the hal.

CRs-Fixed: 2553139
Change-Id: I09110ca4745fafe83ffd6bad26aecc5dd1497928
2019-10-31 18:23:11 -07:00
Harshal Ahire e622b64e02 configs: bengal bring up changes
Added speaker boost control for bengal target.Changes in speaker
config files.

Change-Id: I32ef06e78c19980a3fdb148f71a2b94d2e58a909
2019-10-31 15:41:39 +05:30
Mingshu Pang f2d5790ccb config: Add fast input profile for the record concurrency
If two recording apps both select the primary input with
fast flag, second app will fail to start because the hal
doesn't support two inputs with the same use case if input
can't be reused since of the limit of primary input's max
open count.

Add the dedicated profile for “low-latency-record” to make
the first input can be reused if possible.

CRs-Fixed: 2550228
Change-Id: I233bd3eaf614b195df0a41402747f496d3a56b44
2019-10-31 18:10:52 +08:00
George Gao 3018ede6a7 hal: Prevent integer overflow
Address integer overflow observed in hal during OboeTester glitch tests.

Change-Id: I22c1d659e6e57d49650883daee6220e7665fd070
CRs-Fixed: 2551822
2019-10-30 17:47:41 -07:00
qctecmdr fc6f33545e Merge "configs: bengal bringup changes" 2019-10-30 10:31:57 -07:00
qctecmdr 33d4b50955 Merge "hal: bengal bringup changes to add sound card" 2019-10-30 10:30:09 -07:00
qctecmdr a6bda77279 Merge "configs: add proper backends for tty headset devices" 2019-10-30 10:27:12 -07:00
qctecmdr f48ea7a9af Merge "config: remove telephony tx/rx devices as attached" 2019-10-30 10:24:44 -07:00
qctecmdr 1b04d58002 Merge "a2dp: fix encoder sample rate update for aptx adaptive r2" 2019-10-30 10:19:56 -07:00
Laxminath Kasam 234530f313 configs: Update audio modules as per bengal target
Update audio ko list as per bengal target.

Change-Id: I666f6d018fcbadaf5856e748c296b0155d1c16a2
2019-10-29 14:39:01 +05:30
Timothy Sham 4e167a373f configs: modify mixer paths for mmsecns sva
* Set acdb for quad mic sva to 132.
* Enable multi stage sva and disable lpi mode as default.
* <listen-voice-wakeup-X preproc> are used for mmsecns sva.
* SEC_TDM_TX_0 is used for sva echo path.

Change-Id: Icae339614451a5de202732f9d9dca6c2169b25dd
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-10-28 15:05:39 -07:00
Vignesh Kulothungan f7e248f62b hal: fix usage of call by reference pointer
The input argument is passed by reference, so only update
the value pointed by the pointer, not the pointer value itself.

CRs-Fixed: 2547766
Change-Id: I34d71afae277de1d93655e1eac845ce533552167
2019-10-28 10:29:32 -07:00
Kunlei Zhang fba13bd6a4 hal: add audio support for bengal QRD
add audio support for bengal QRD.

Change-Id: If0c9b4ae14ac697ad13fec049c6d2d56df5dc040
2019-10-27 20:37:33 +08:00
Prasad Kumpatla e8e20c734e configs: add mixer controls for lito and atoll display ports
Add mixer controls for lito and atoll display ports on QRD
and speaker-safe display path in IDP and CDP.

Change-Id: Idfa9860248db51d0c147b4fee2df479e200ca81e
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-10-25 19:22:19 +05:30
qctecmdr cbb97ade6e Merge "configs: atoll: Add hph-class-ab-mode for wcd9370 variant" 2019-10-25 05:45:27 -07:00
qctecmdr 7ae9bdde8b Merge "hal: Reset HPH power mode to class AB for wcd9370 variant" 2019-10-25 05:40:22 -07:00
qctecmdr 2cbabd4e9d Merge "configs: kona: Add DEFAULT adm_config profile" 2019-10-25 05:35:01 -07:00
Vatsal Bucha f69da5fe44 config: lito: add default value for ADC2_MIXER Switch
When restarting audioserver during SVA session, the default value
of ADC2_MIXER Swtich is not set to default value and cause SVA fail
to detect anything. Add default value for this mixer control.

Change-Id: Iebb1b818383e4735b98a63b35ccc4ef8a737a419
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-10-25 12:09:22 +05:30
Kunlei Zhang bf4259bda3 configs: atoll: update handset dmic path for atoll qrd target
update handset endfire path for atoll qrd target.

Change-Id: I0db65093c81df3c04746b752e1b3a1d2860d50ef
2019-10-25 14:06:59 +08:00
qctecmdr e75c184d21 Merge "configs: disable 3D audio feature." 2019-10-24 22:17:35 -07:00