Commit Graph

5051 Commits

Author SHA1 Message Date
qctecmdr 180e00bc50 Merge "configs: remove surround recording support from audio policy config xml" 2019-05-21 07:08:10 -07:00
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
Deeraj Soman 8494bb52fe qahw_api: Add support for RX and TX with BT SCO device
Add support for playback and capture with BT SCO device

Change-Id: Ie09bc3d2248bcca02f1dc95d2ff34aa7d35c409a
2019-05-21 12:23:25 +05:30
Kunlei Zhang 1d5c7f2606 hal: fix in_call flag is not reset after voice call stop
In voip+voice concurrency case, if voip resume after voice call stop,
then only MODE_IN_COMM instead of MODE_NORMAl and MODE_INCOMM is set.
In this case, in_call flag is not reset.

Fix it to reset in_call flag if call state has been set to inactive
when MODE_IN_COMM is set for voip call. 

Change-Id: Idac32a8bafa73b9bd2f885394117457e8d6edfa9
2019-05-21 14:25:57 +08:00
Quinn Male fc178b6484 configs: kona: Support shared buffering on LPI
A new param dam_token_id is introduced to support the shared buffer
feature. The LAB module id and the param to register the shared
buffer token in lsm_params are also added.

Change-Id: Id5d5a3c2ad0692e01e2d05b2d99e2d7b1388cc6f
2019-05-20 11:23:39 -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
Wei Wang f7ca6c9215 audio-hal: use powerHAL 1.2 to do performance hint
1) Add PowerHAL 1.2 client
2) call PowerHAL powerhint on msm8998 instead of perfd

Test: Play audio and see powerhint handled
Bug: 62041945
Change-Id: I33ab8eaa7a3a3a953fb6531e0864b4ed62387ba2
(cherry picked from commit f4837d5bbe73df6f33aee2d0f733f72cc635de6a)
2019-05-17 13:07:05 -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
Weiyin Jiang bd68b4d6b3 audio: update property naming in AHAL
System properties are not allowed for AHAL, update the property naming.

Change-Id: I8ef703fc566e298aa1c2cb8565bf13dc033e12c5
2019-05-17 01:32:15 -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
Dhananjay Kumar 698e0b6d56 configs: remove surround recording support from audio policy config xml
Remove surround sound recording support from audio policy config xml
as its resulting in CTS failure due to mismatch in channel index support
for record usecase.

Change-Id: Idf50b3f2e71c4209720e79c0248ce74bc1a0edf2
2019-05-15 21:14:12 +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
vivek mehta 204b74193c config: enable runtime feature flags
- enable feature flag runtime

Change-Id: Ibb18dae757544ce25b0a56f305bbebb2077f7d69
2019-05-14 22:06:38 -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
Zhou Song 8fccbb6959 hal: add extention to support aptx adaptive R2
Extend the encoder configuration to support aptx
adaptive R2.

Change-Id: Ib364863b3ce7f07f1197122302a3886d7071c8d1
2019-05-13 16:02:21 +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