Commit Graph

5051 Commits

Author SHA1 Message Date
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
Preetam Singh Ranawat 9a50b26b7b config: lito: Update audio config files
-Disable audio HAL modules compilation based on QMAA flag.
 -Disable QSSI flag.
 -Enable a2dp offload flag and other properties.
 -Add 16 bit and update 24/32 record app types.
 -Unify audio configuration files.

Change-Id: Iebbfad49c3dc0f845455f3d7613419f158668860
2019-05-10 13:30:16 +05:30
Sachin Mohan Gadag bc823badae hal: Fix a pointer deference issue
- For HFP client usecase active input is not
  updated with current input stream which results
  in issue. To avoid check for active_input value
  before deferencing.
  
Change-Id: I080bf4bf6f069ef6f7a182f5a1542066503ca09c
2019-05-09 23:28:05 -07:00
Vignesh Kulothungan e4039c1a94 hal: enable haptic audio synchronization
Add support to get qtimer value.
Add support to get path latency for a given pcm stream
from ADSP.
Add mechanism to synchronize audio and haptic pcm streams
if enabled via system property.

CRs-Fixed: 2410990
Change-Id: I59952ad2e4e453c327ac8682c8f1991440b755eb
2019-05-09 17:15:53 -07:00
Aniket Kumar Lata d019628d02 a2dp: Fix misaligned structure for LDAC encoder
Fix LDAC structure misalignment with btaudio_offload.

Change-Id: I040bf5c61dadff8503ea81542e0a71b9d9bfb629
2019-05-09 14:29:00 -07:00
Vatsal Bucha 33d56c8d28 hal: sndmonitor: Add support for lito sound card in sndmonitor
Add support for lito sound card variants in sndmonitor
to enable SSR and PDR in lito target.

Change-Id: I0b53de924b42944e1a92c98a16c735311eefc792
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-09 05:00:11 -07:00
qctecmdr 99c1fc0d8b Merge "hal: enable audio zoom feature dynamically" 2019-05-09 02:59:17 -07:00
qctecmdr f1c4627eda Merge "configs: Add support for TWSP codec on BT playback" 2019-05-09 02:57:42 -07:00
Weiyin Jiang 301dac68f0 audio: fix null pointer dereferenced issue
Fix null pointer dereferenced issue.

Change-Id: I4b7deb66192d836b9b444b13b9a5ed080272f2a7
CRs-Fixed: 2448899
2019-05-08 15:10:56 +08:00
qctecmdr 496f84ff55 Merge "audio: correct setting sequence" 2019-05-07 22:35:10 -07:00
qctecmdr 5b5fb85dc1 Merge "hal: Add msm8998 for audioextn feature compilation" 2019-05-07 22:35:10 -07:00
qctecmdr 302f8aaa9a Merge "hal: Fix platform_info_file name" 2019-05-07 22:35:10 -07:00
qctecmdr 05e5e335fd Merge "hal: Revert copyright change for maxaudio file" 2019-05-07 22:35:10 -07:00
qctecmdr 454b5fb847 Merge "audio: fix misc defects in AHAL" 2019-05-07 22:35:10 -07:00
qctecmdr 7865194a14 Merge "configs: lito: update the DMIC order and selection for SVA use cases" 2019-05-07 22:35:10 -07:00
Sujin Panicker 263c6669db configs: Add audio configs file for msm8998
- Introduce audio_configs.xml file with supported
  features enabled for msm8998

Change-Id: Ic84894bcb8a90591abb31148a589b75920e43d6c
2019-05-07 21:12:15 -07:00
Sujin Panicker 390724db41 hal: Fix VTS errors
Deinit speaker protection thread(Cirrus)
before deinit of platform to avoid usage of
platform NULL pointer for further underlying
function calls.

Add a check to handle NULL pointer if VTS testcases
does not open a usecase.

Change-Id: I300a9b47e80e0d8349a15ed17533e62b2e7bf214
2019-05-07 04:33:26 -07:00
qctecmdr 8e69c4adeb Merge "hal: Correct mixer control name for 3.5mm headphone" 2019-05-07 03:43:13 -07:00
qctecmdr a57ced5e49 Merge "audio_hw: make mixer_path obey limits of MIXER_PATH_MAX_LENGTH" 2019-05-07 03:40:01 -07:00
qctecmdr c0dade0396 Merge "Add USB input channel index masks" 2019-05-07 03:37:48 -07:00
qctecmdr 61f4432549 Merge "hal: fix for voip volume setting when select_devices()" 2019-05-07 03:35:01 -07:00
qctecmdr 4b5e38540f Merge "audio: fix potential messy offload state." 2019-05-07 03:31:34 -07:00
qctecmdr 27ed721749 Merge "audio: restrict the force route condition" 2019-05-07 03:29:56 -07:00
qctecmdr 127fbdb8e9 Merge "audio: Enhance latency and tuning in voice call with hearing aid" 2019-05-07 03:28:07 -07:00
qctecmdr 3b163569e2 Merge "Effects: set effect monitor flag to track volume" 2019-05-07 03:25:22 -07:00
qctecmdr 2cc81558c7 Merge "hal: Remove mode check on open input for Telephony Rx device" 2019-05-07 03:23:32 -07:00
qctecmdr 5b4b1278e2 Merge "audio: select camcorder snd device according to camera orientation" 2019-05-07 03:21:54 -07:00
qctecmdr a7409fdc81 Merge "audio: remove soft mute to avoid muting unexpected sound" 2019-05-07 03:20:05 -07:00
qctecmdr 0c71a3fa4a Merge "qcom/audio/hal: add offset to MMAP input time" 2019-05-07 03:16:10 -07:00
qctecmdr 7b877adb63 Merge "audio: MAXXAUDIO supports orientation" 2019-05-07 03:13:31 -07:00
qctecmdr 9b7552a7d2 Merge "qcom/audio/hal: add offset to MMAP output time" 2019-05-07 03:11:05 -07:00
qctecmdr 49a27df81b Merge "voice processing: support several sessions per input stream" 2019-05-07 03:09:05 -07:00
qctecmdr db0bdc7edf Merge "hal: fix incorrect wsatz name in QRD config" 2019-05-07 03:04:41 -07:00
qctecmdr bd41154723 Merge "a2dp: Fix AAC frame size control" 2019-05-07 03:00:24 -07:00
qctecmdr 928866f7b5 Merge "hal: add error check for voice call start" 2019-05-07 02:57:07 -07:00
qctecmdr 18af6892f9 Merge "configs: add effect config table for int codec and QRD" 2019-05-07 02:54:14 -07:00
qctecmdr b27567fd69 Merge "audio: support custom acdb for external device" 2019-05-07 02:50:34 -07:00
qctecmdr 38277e3462 Merge "hal: update sub-band fluence module id in effect config table" 2019-05-07 02:47:07 -07:00
vivek mehta ba5ed1505a hal: enable audio zoom feature dynamically
- based on libaudiozoom and runtime feature flag
  enable \ disable audio zoom feature

Change-Id: I3dcab630e84e99108a541614b3467f0e70c1f274
2019-05-06 20:58:29 -07:00
Arun Mirpuri a13495c269 hal: Fix platform_info_file name
Fix platform_info_file name so that ACDB init when invovked
picks up the target-specific platform file

Change-Id: I4ce9e6c8d11f078b98e4d02d5fc6a605e8f077c4
2019-05-06 11:58:53 -07:00
Vatsal Bucha 7fe95a80d6 hal: Revert copyright change for maxaudio file
Revert copyright change for thrid party copyright
files maxaudio.c and maxaudio.h

Change-Id: Ieeac155a5bbfcb4ff85881cb29a2b770dfa7e1a5
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-06 15:28:13 +05:30
Vatsal Bucha 331b9093b8 configs: lito: update the DMIC order and selection for SVA use cases
Update the sound trigger mixer paths to use the correct DMIC order
and selection for SVA mono mic, dmic, tmic and qmic use cases.

Change-Id: I71cb1ed5918fca23deee3cfa9fc60ec4a8de1dc4
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-06 14:57:51 +05:30