Commit Graph

5762 Commits

Author SHA1 Message Date
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
Derek Chen 672fc57e85 config: remove telephony tx/rx devices as attached
Remove Telephony TX/RX devices as permanently
attached devices to avoid voice tx/rx enablement
as part of BT SCO call.

Change-Id: I5e311b86070bdcc98fe1d1997fbe7345893809a5
2019-10-24 21:56:30 -07:00
Harshal Ahire ca17ce73f2 configs: add proper backends for tty headset devices
Add the respective RX and TX backend names for tty
headset devices in kona,atoll and lito targets

Change-Id: Iee13f586f064997d2f021e7b778f016e375cb318
2019-10-24 02:07:54 -07:00
Harshal Ahire 4637415fe2 hal: bengal bringup changes to add sound card
Add support for bengal sound card in HAL.

Change-Id: I5d639b38851ed024704e9560f44fb5534a3d0c6b
2019-10-24 14:31:23 +05:30
Quinn Male 473691cf54 configs: kona: Add DEFAULT adm_config profile
This DEFAULT adm_config profile will be used whenever a session is
in non-LPI with FFECNS disabled. AFE will connect to ADM but will
have none_topology.

Change-Id: I1918ef7eada54c6806023acff6c15c57a8c96718
2019-10-23 18:12:42 -07:00
qctecmdr 287ddbe4ad Merge "ahal: Enable Offload Support for WMA & APE" 2019-10-23 05:20:58 -07:00
qctecmdr b9968f836d Merge "hal: voice_extn: update error handling for incall music usecase" 2019-10-23 04:57:49 -07:00
qctecmdr 57411a5db4 Merge "hal: support zone control for ecns-hfp calls" 2019-10-23 04:56:15 -07:00
qctecmdr e0f9b8272d Merge "hal: Fix fragment size calculation for compress offload" 2019-10-23 04:53:30 -07:00
qctecmdr bccf788418 Merge "hal: add external echo reference to ecns-hfp calls" 2019-10-23 04:47:02 -07:00
qctecmdr 28e768d205 Merge "post_proc: fix mul-overflow" 2019-10-23 04:40:57 -07:00
Harshal Ahire d4eb30e167 configs: bengal bringup changes
Add base configs file for bengal target.

Change-Id: Ia86873532ff3387e89273176db09f856083cc97d
2019-10-23 16:09:12 +05:30
Jaideep Sharma dc6c1e44a2 configs: disable 3D audio feature.
Change-Id: I65d5c42b28fb04062ff09688e5bc3b23a77cce04
2019-10-23 15:16:04 +05:30
Zhou Song 30e8ceafee a2dp: fix encoder sample rate update for aptx adaptive r2
When encoder is set to 96KHz, accordingly the stream to be
encoded should also be resampled to 96KHz.
Add the missing update of sample rate for aptx adaptive r2
codec.

Change-Id: I0326404baadc17ec88e124a3f9207ba9e3d1e891
2019-10-22 23:39:25 +08:00
Aditya Bavanari bffe6188ab configs: atoll: Add hph-class-ab-mode for wcd9370 variant
WCD9370 codec variant supports only class AB HPH power mode.
Add a mixer path to set the HPH power mode ctl to class AB.

Change-Id: Id5825fc3809a6e4d73b6b3b1779507282b72b046
2019-10-21 04:09:12 -07:00
Aditya Bavanari b89f41646d hal: Reset HPH power mode to class AB for wcd9370 variant
As wcd9370 codec only supports Class AB HPH power mode,
reset the power mode for that variant

Change-Id: I791aad8447c89bf43e573f080f6c610c6c7c539b
2019-10-21 04:07:31 -07:00
qctecmdr e9023e2acf Merge "configs: add new mixer paths for mmsecns hfp calls" 2019-10-18 08:23:34 -07:00
qctecmdr 8f47047da6 Merge "configs: update HW usecases with LPI modes" 2019-10-18 08:19:47 -07:00
qctecmdr 7e8ecabbf2 Merge "Audio: Remove unnecessary unmute when A2dp device disconnects." 2019-10-18 08:17:01 -07:00
qctecmdr c0d50f9f15 Merge "configs: add mixer controls and be updation in platform_info" 2019-10-18 08:15:38 -07:00
Guodong Hu 1d46f3477b hal: support zone control for ecns-hfp calls
* Add hfp_zone set and get parameter control for new
  Fluence V9 automotive module and topology.
* Zones 0 through 6 are applicable.
* Provide the capability to configure zone config
  params from platform info xml.
* Fix KW warning.

Change-Id: I40ebc06c1919a4c208cc5f11bf2cd3d6df7c4f04
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-10-17 10:24:01 -07:00
Guodong Hu f5e614d72d hal: add external echo reference to ecns-hfp calls
* Add ec_car_state to switch between single-mic
  and multi-mic ecns hfp calls.
* Add the capability to have an echo reference for
  both single-mic and multi-mic ecns hfp call.
* New snd device is introduced for multi-mic ecns hfp.

Change-Id: I5a8c869cf6854020e15efb61cbaf78f3f027e1ee
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-10-17 10:22:42 -07:00
qctecmdr 5027000e8e Merge "qahw_api: Updated fixes on qahw api's and logging" 2019-10-16 23:41:23 -07:00
qctecmdr 07f9849f59 Merge "config: kona: add default value for ADC2_MIXER Switch" 2019-10-16 23:32:51 -07:00
qctecmdr f6da3f1992 Merge "configs: enable compress voip prop" 2019-10-16 23:18:27 -07:00
Weiyin Jiang da604557e1 post_proc: fix mul-overflow
Fix mul-overflow due to uninitialized value being used.

Change-Id: I97d1f63534aa6f5ac28357bf489796607747b162
2019-10-17 13:20:22 +08:00
Viraja Kommaraju 475835c40d ahal: Enable Offload Support for WMA & APE
Enable WMA & APE hardware decoder Property

Change-Id: I60f6cfbd25c6b3e516ad57ac1bec667ae357c5cb
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
2019-10-16 21:22:23 -07:00
Guodong Hu d1f6335c93 configs: add new mixer paths for mmsecns hfp calls
* <hfp-sco-wb bt-sco-mmsecns> and <hfp-sco bt-sco-mmsecns>
  are used for multi-mic ecns hfp calls.
* <hfp-sco-wb bt-sco-wb> and <hfp-sco bt-sco> are used for
  single-mic ecns hfp calls;
* Provide the capability to overide backend_tag for paths.

Change-Id: Ibae794b59e5e4fae8673ce1a95845c5f11f25b77
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2019-10-15 15:37:17 -07:00
Dhananjay Kumar a0dc33ab23 hal: voice_extn: update error handling for incall music usecase
Update error handling for incall music usecase initialization to
return error when feature is not enabled.
Not returning error was setting output configs to 0 or other
unexpected values, resulting in busy loops and other system errors.

Change-Id: I971b8c49cda407aff5b7986bc285f72e6b56cd99
2019-10-15 21:45:57 +05:30
Prasad Kumpatla 60f6f2ab9c configs: add mixer controls and be updation in platform_info
For custom_upsampler, add mixer controls and backend updation in
platform info in atoll, kona and steppe.

Change-Id: I0c61024c444e9950568797779545f43e7ec3ba1b
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
2019-10-15 16:40:50 +05:30
qctecmdr f099596db7 Merge "qahw: Add support for voice tester" 2019-10-15 01:11:34 -07:00
qctecmdr 05dbcc5bb2 Merge "qahw: Add support for new stream APIs" 2019-10-15 00:30:04 -07:00
qctecmdr 79492b3286 Merge "configs: lito: Update mixer paths cdp file" 2019-10-15 00:22:14 -07:00
qctecmdr 2a31474a4b Merge "hal: fix A2DP mute issue for compress playback" 2019-10-15 00:14:40 -07:00
Deeraj Soman 93155a6d3c hal: Fix fragment size calculation for compress offload
Compress offload buffer duration changes was specific for
LE feature. Mask this change using vendor property to avoid
unintended modification of fragment size.

Change-Id: I14a7a4ee09d48329acba29f8e3eaae710e08d697
2019-10-14 23:32:48 -07:00
Sujin Panicker 24bb0eb010 configs: enable compress voip prop
msm8998 supports compress voip, set the
compress voip property to true.

Change-Id: I1748d7aa2f83b092b50c7e0e6f514f6957b9f488
2019-10-14 14:45:32 +05:30
Rajesha Kini c87a27b188 qahw_api: Updated fixes on qahw api's and logging
Updated to get working of stream drain, flush and minimum buffer size.
Enahanced log message for time capture.

CRs-fixed: 2450433
Change-Id: I7523808a434b74626bd1e2a44e08eb1d871b8229
2019-10-13 22:24:57 -07:00