Commit Graph

4992 Commits

Author SHA1 Message Date
qctecmdr 08c3c2c227 Merge "hal: fix CTS failures for AudioRecrod test cases" 2019-05-21 07:08:10 -07:00
qctecmdr cb35c67d54 Merge "config: Add the property media.stagefright.audio.deep" 2019-05-21 07:08:10 -07:00
qctecmdr 76ff66bcaf Merge "configs: Add BT SCO to routes list" 2019-05-21 07:08:10 -07:00
qctecmdr 8ed88dc899 Merge "configs: add audio tuning mixer for kona" 2019-05-21 07:08:10 -07:00
qctecmdr d293a67203 Merge "hal: Do not force mono for VoIP Rx with stock configuration" 2019-05-21 07:08:10 -07:00
qctecmdr f9d934931e Merge "hal: remove feature manager" 2019-05-21 07:08:10 -07:00
qctecmdr 6882669830 Merge "config: enable feature flags" 2019-05-21 07:08:10 -07:00
qctecmdr 4b61fdb0a2 Merge "a2dp: Fix BT SCO Tx configuration during a2dp to sco transition" 2019-05-21 07:08:10 -07:00
qctecmdr ac9ef4fc83 Merge "config: kona: update qmic configuration for Kona QRD device" 2019-05-20 03:12:51 -07:00
qctecmdr ba343be2f4 Merge "config: Update minimum offload duration property" 2019-05-20 03:12:51 -07:00
qctecmdr 107647ec80 Merge "HAL: Add new device for voice headset" 2019-05-20 03:12:51 -07:00
qctecmdr 5a58ce2da3 Merge "qssi: set AUDIO_FEATURE_ENABLED_AHAL_EXT to true" 2019-05-20 03:12:51 -07:00
Aniket Kumar Lata 4f9a2a5a82 hal: Do not force mono for VoIP Rx with stock configuration
HAL forces mono configuration for VoIP. This is due to VoIP
topology being configured as mono. However, pure AOSP
targets support VoIP with stereo configuration. HAL forcing
mono would lead to mismatched configuration. Correct this by
forcing mono only on vendor enhanced targets.

Change-Id: Icc63e14469ef67b5d916cebdba56a45910dcf28d
2019-05-17 10:10:04 -07:00
Preetam Singh Ranawat 225e13c793 a2dp: Fix BT SCO Tx configuration during a2dp to sco transition
-For voice call tx backend is configured with a2dp sampling rate
  leading to distorted audio during voice call.
 -Don't set tx backend sample rate for a2dp if abr is not enabled.

Change-Id: I7cdb0a5c98b550665cfaafb02cd9151579d7138c
2019-05-16 17:35:33 +05:30
qctecmdr 1d4f132f20 Merge "configs: lito: update backend in handset device for lito qrd" 2019-05-15 08:42:36 -07:00
Dhananjay Kumar 97b81e321d hal: fix CTS failures for AudioRecrod test cases
Update frames read for inputs streams to report it correctly
in get capture position api.
Incorrect reporting of frame count was leading to failure for
all CTS AudioRecord test cases.

Change-Id: I864ed5f1a580fcb65261b5af8a5560392bc8c964
2019-05-15 21:00:21 +05:30
Samyak Jain 4597d0b385 config: Add the property media.stagefright.audio.deep
500ms aiff clips are taking deep buffer path
instead of low latency.

remove the property media.stagefright.audio.deep from
device/qcom/qssi and update it to false in audio HAL

Change-Id: I656fd697086f09175ff5ad8bc9f33850e754adf3
2019-05-15 04:47:22 -07:00
Samyak Jain 4b0ec49f62 config: Update minimum offload duration property
Update minimum offload duration property value to 30

Change-Id: If5d4bb51c7ec9a5861a7639ca58255b75214d16d
2019-05-15 04:08:38 -07:00
Weiyin Jiang e060e3ec73 qssi: set AUDIO_FEATURE_ENABLED_AHAL_EXT to true
Set AUDIO_FEATURE_ENABLED_AHAL_EXT to true.

Change-Id: Id2e76b6a2a1e474a18b19778e5d04ff7652282cc
2019-05-15 01:26:38 -07:00
vivek mehta 16180c23bd config: enable feature flags
- based on product configuration, i.e. vendor modified vs generic
  image, enable \ disable feature run time

Change-Id: Iea49270131446a3ea6e03ec634d9d4490fb53059
2019-05-14 22:34:21 -07:00
qctecmdr 5c8f30eaa4 Merge "hal: enable haptic audio synchronization" 2019-05-14 20:39:43 -07:00
vivek mehta ae1018c3b0 hal: remove feature manager
- use vendor property to check if feature is enabled or disabled
  and remove feature manager and helper

Change-Id: I6cd70ad364720f1c241ecabe5c4a795b33e0e4e5
2019-05-14 10:16:34 -07:00
qctecmdr 1a0319f776 Merge "hal: sndmonitor: Add support for lito sound card in sndmonitor" 2019-05-14 07:05:39 -07:00
qctecmdr 2bdef1b34b Merge "configs: lito: Add mixer paths xml files for lito" 2019-05-14 07:04:07 -07:00
qctecmdr 157e85fad7 Merge "a2dp: Fix misaligned structure for LDAC encoder" 2019-05-14 07:02:26 -07:00
qctecmdr 6dde11630e Merge "hal: Fix a pointer deference issue" 2019-05-14 07:00:24 -07:00
qctecmdr 647c0c1160 Merge "hal: use seperate config for QRD headset mic for voice" 2019-05-14 06:58:41 -07:00
qctecmdr 2c902f6422 Merge "configs: reduce the gain of headset mic for QRD device" 2019-05-14 06:58:08 -07:00
qctecmdr 33ea74e33c Merge "hal: visualizer: replace string api" 2019-05-14 06:56:19 -07:00
qctecmdr d021ecfe06 Merge "hal: Modify A2DP output routing post releaseAudioPatch" 2019-05-14 06:53:59 -07:00
Sujin Panicker 0f7e4d06d4 configs: Add BT SCO to routes list
- Issue with returning a valid device descriptor
  since BT SCO is not defined in IOProfile.
- First attempt to retrieve devicedescriptor from
  the available HwModule may fail due to address
  and encoded format conditions.
- Further device descriptor query is based on IOProfile
  with devices defined in audio_policy_configuration.
- This change adds BT SCO to IOProfile.

Change-Id: I52225070e97dd702f965ca5dbb5db9d128df1faf
2019-05-14 16:32:27 +05:30
Meng Wang a590f36169 config: kona: update qmic configuration for Kona QRD device
update qmic configuration for Kona QRD device.

Change-Id: I1e02e81c7b6f1ab079daf4cfb2dd1a133e8158c8
2019-05-14 16:38:20 +08:00
Vignesh Kulothungan ff8ebe90a5 configs: add audio tuning mixer for kona
Add audio tuning mixer file to support MCS and FTS
features on kona.

CRs-Fixed: 2439918
Change-Id: I5fb816492324b5f206631b9e363c8478ae4956aa
2019-05-13 11:54:38 -07:00
qctecmdr eee1d59759 Merge "config: lito: Update audio config files" 2019-05-13 03:03:07 -07:00
kunleiz 9a4f55f446 configs: lito: update backend in handset device for lito qrd
Receiver on QRD device has different backend with speaker.
Update backend for handset device to RX_CDC_DMA_RX_0.

Change-Id: I0ba493e0d2b6c76c4c398a739eb99bcb06c69c34
2019-05-13 16:15:26 +08:00
qctecmdr 12dad6a042 Merge "configs: Add ahal feature configs for saipan" 2019-05-11 09:39:58 -07:00
Vatsal Bucha 55fad7e0d8 configs: lito: Add mixer paths xml files for lito
Add mixer paths xml files for lito. Also rename
mixer paths mtp to mixer paths as a part of pixel
and non pixel convergence. Also update PCM IDs
for spkr calib usecase.

Change-Id: I7d5b608b94d47e8c77d711856fd69900d85c6ff2
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-10 23:16:43 -07:00
qctecmdr 0b8fcfb2a4 Merge "config: reset handset sidetone" 2019-05-10 20:10:56 -07:00
qctecmdr e3a59fb8ee Merge "configs: enable speaker protection for kona QRD" 2019-05-10 20:10:56 -07:00
qctecmdr d2acb38d97 Merge "configs: Add audio configs file for msm8998" 2019-05-10 20:10:56 -07:00
qctecmdr 633b1998c7 Merge "hal: Fix VTS errors" 2019-05-10 20:10:56 -07:00
qctecmdr 2d88d216fb Merge "visualizer:Handle pcmopen error for WFD+visualizer" 2019-05-10 20:10:56 -07:00
qctecmdr d92a65fe2f Merge "audio: fix null pointer dereferenced issue" 2019-05-10 20:10:56 -07:00
Aalique Grahame 09bb37c4cf hal: visualizer: replace string api
Use a different api for string parsing

CRs-Fixed: 2451049
Change-Id: I1496a6f2dd9dcddacbe4e68a6a8272d657968cee
2019-05-10 14:19:43 -07:00
Aniket Kumar Lata 2cf6a920d2 hal: Modify A2DP output routing post releaseAudioPatch
HAL routes A2DP stream to speaker on releaseAudioPatch
from APM until the stream is put to standby from framework.
APM may releaseAudioPatch for an output where A2DP is
suspended and SCO is active leading to HAL switching all
streams to speaker. Fix this behavior by routing streams
to speaker only if both SCO and A2DP are not active.

Change-Id: Ib61b3477847656f978d81999bcb9f66d8b5d21d5
2019-05-10 12:26:22 -07:00
Samyak Jain fd24f1e1a0 HAL: Add new device for voice headset
3-pole headphones not working for voice
usecase due to different backend added
for headset.

add new device for headset to differentiate
from headphones and update mixer path
accordingly.

Change-Id: I29d58e29637534e7d2b6098c5cb89ca6f3b987db
2019-05-10 08:46:31 -07:00
Samyak Jain c96d28ea85 config: Add new device for voice headset
3-pole headphones not working for voice
usecase due to different backend added
for headset.

add new device for headset to differentiate
from headphones and update mixer path
accordingly.

Change-Id: Ieb12d33707deaaf735dbe57a571567e5e3edc812
2019-05-10 08:46:17 -07:00
Yunfei Zhang a216aa0a18 configs: reduce the gain of headset mic for QRD device
The input of headset mic is too high, and will be easily
saturated in dsp,  improve it with lower gain.

Change-Id: Ic6b7d5ef92e8ab159945bb99e0d3082b14924f30
2019-05-10 17:25:00 +08:00
Yunfei Zhang f1bba38aef hal: use seperate config for QRD headset mic for voice
Use seperate config for QRD headset mic for voice.

Change-Id: I9eb5859e7cdeceaf0ba5a488dc34874d8f4dccee
2019-05-10 17:18:58 +08:00
Preetam Singh Ranawat 5f50a96252 configs: Add ahal feature configs for saipan
- Add ahal feature configs to be read by config store.
- Add ahal feature configs for pixel.

Change-Id: I0995026996ff87840918fece1d046947d3d1396a
2019-05-10 14:08:48 +05:30