Commit Graph

4801 Commits

Author SHA1 Message Date
Linux Build Service Account d85d5f45f7 Merge "hal: Update backend for headset-mic" 2019-03-20 20:31:04 -07:00
Linux Build Service Account 63854ff437 Merge "configs: kona: enable mirrorlink" 2019-03-20 06:40:33 -07:00
Linux Build Service Account 7104aaa031 Merge "hal: configs: Enable audio custom policy for Kona" 2019-03-20 04:09:40 -07:00
Samyak Jain 1762d6a45b hal: Update backend for headset-mic
audio-record via headset not working
due to incorrect backend

Update appropriate headset-mic backend

Change-Id: I612bd50eb7ab305865ee5d6bc7cd5e984a1a5e38
2019-03-19 23:46:48 -07:00
Linux Build Service Account 25ebbb584b Merge "hal: Add property for speaker protection v3" 2019-03-19 22:50:03 -07:00
Harsh Bansal 25e627f1e9 hal: MS12: qap test app update
- updating qap hal test app to test new features of
MS12-1.3.2
- Added Support for Main2 Testing
- Added Support for OTT sound Testing
- Added Support to send init time params to MS12

Change-Id: I7713509b1bac11c04e7af8f3447624d1727b35f3
2019-03-19 22:26:22 -07:00
Derek Chen f939fb7330 hal: add support for HAL API 3.0 to utilize AudioPatch
Add audio HAL version property to support audio HAL
API 3.0 for audio patch and audio port configuration.
Add basic device and  mixer routing support in audio
patch as audio stream set_parameters for ROUTING and
INPUT_SOURCE will be replaced with audio_path in
AudioFlinger for audio HAL API 3.0 and above.

Change-Id: I0a16982ff5115b3475ae302e8653f02657437e28
2019-03-19 10:08:49 -07:00
Linux Build Service Account 184418415b Merge "Initial Android target definition for lito." 2019-03-19 07:30:08 -07:00
Linux Build Service Account bf5db068cc Merge "sdm710: Disable sound trigger ffv flags" 2019-03-19 04:22:48 -07:00
Linux Build Service Account 87fb44ff71 Merge "hal: Define max channel count for sdm710" 2019-03-19 03:32:39 -07:00
Linux Build Service Account 28ff154639 Merge "hal: fix debug logs compilation error" 2019-03-19 03:32:36 -07:00
Linux Build Service Account a09ca3a505 Merge "Initial Android target definition for lito." 2019-03-19 01:16:38 -07:00
Linux Build Service Account d561f33ad2 Merge "hal: Add support for haptics audio usecase" 2019-03-19 01:16:37 -07:00
Manisha Agarwal ed9c45426c hal: Add missing entries for voice speaker stereo.
Add missing device entries for speaker protection
for voice speaker stereo.

CRs-Fixed: 2385248
Change-Id: Iab1fa73f3954d8024bcaafc83383dbcc63de8326
2019-03-19 00:23:51 -07:00
kunleiz f6b5b08d29 hal: avoid setting stereo channel mask to voip usecase
Voip usecase is started with stereo channel mask. This is
not allowed due to voip_rx profile is not supported.

Fix it by setting channel mask to mono for voip usecase.

CRs-Fixed: 2418048
Change-Id: I949808076a56cf2e43f0309ce1656646e0495087
2019-03-19 14:02:19 +08:00
Banajit Goswami 526079aa9b hal: configs: Enable audio custom policy for Kona
Enable audio custom policy flag for Kona target.

Change-Id: I453cf7f524b9e607719fe16c10126ef052c395f9
2019-03-18 20:49:41 -07:00
Aalique Grahame 88d69c6e70 configs: kona: enable mirrorlink
Enable mirrorlink feature by default

CRs-Fixed: 2418503
Change-Id: I4d0d6fd8b6fb7a252df6877bbc728cb45461fc2c
2019-03-18 14:08:27 -07:00
Vikram Panduranga 3422df514c hal: Enable dynamic ECNS as default config
Enable dynamic ECNS as default config for
vendor enhanced HAL.

Change-Id: I0809e0e902ec2dc8074caab6254be5288c47cdf5
2019-03-18 12:16:27 -07:00
Aalique Grahame af9ce1a5ae hal: audio_extn: update start of voice_extn features
Update the start of the voice_extn features in the extn
features list. Compress metadata feature is skipped over
otherwise.

CRs-Fixed: 2416677
Change-Id: Iddb59dc55c0370e0ccaace1c6bbfd6dc9ac271e3
2019-03-15 17:43:19 -07:00
Aalique Grahame 203bee0f58 hal: fix debug logs compilation error
Fix compilation error after enabling debug logs

CRs-Fixed: 2416551
Change-Id: Ida84a1bf852ead2bb2ee7ad822427b15ebbbe59f
2019-03-15 10:31:29 -07:00
Sujin Panicker ac42031215 sdm710: Disable sound trigger ffv flags
- Disable flags to avoid sound trigger related ffv
  libraries to be loaded from sound trigger hal
- Red Dragon target is not yet migrated to AHAL-6.0 consider
  enabling when moved to 6.0.

Change-Id: I5f81acd740c64e75dab755d3d94ed1ea1cc31a76
2019-03-15 11:10:24 +05:30
Karthikeyan Mani fdcdf94395 hal: remove unused mixer commands for Kona
Remove unused native mixer commands for Kona.

Change-Id: I8651702beef164c5882719af25587236af88a450
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-03-14 16:03:26 -07:00
Linux Build Service Account 20b28fb7ca Merge "sdm710: Disable ffv feature flag" 2019-03-14 11:11:30 -07:00
Linux Build Service Account 58fb562f33 Merge "hal: Update TX capabilities when adding USB output device as well." 2019-03-14 10:04:54 -07:00
Linux Build Service Account 1f40f2fcc5 Merge "audio: introduce dedicated adev->cal_lock for gef interfaces" 2019-03-14 06:55:17 -07:00
Linux Build Service Account 3f65e39c60 Merge "post_proc: release vol listener object based on context" 2019-03-14 06:55:14 -07:00
Linux Build Service Account 8cc9617aae Merge "hal: configs: update backend for handset device" 2019-03-14 05:14:49 -07:00
Linux Build Service Account 3dd8e23fa7 Merge "hal: kona: update soundtrigger mixer paths for QRD device" 2019-03-13 20:48:40 -07:00
Vignesh Kulothungan a692727b37 hal: Add support for haptics audio usecase
Add support to create haptics and audio pcm streams for
haptic audio usecase. Separate haptic and audio data from
audio buffer and write it to respective pcm streams.

CRs-Fixed: 2410990
Change-Id: I296c1897399dcac97360e2174ededbe2a38681a2
2019-03-13 19:22:50 -07:00
mpang 2a5075eb47 hal: Update TX capabilities when adding USB output device as well.
Currently USB TX capability is only updated when input device is
connected. Check USB TX capabilities when the output device as well
to avoid unnecessary device switch between USB-headset and USB-headphone.

CRs-Fixed: 2403502
Change-Id: I4caf3a967c8da7f6eebe4a5ac8d41a3d314a26d9
2019-03-13 07:24:57 -07:00
Ramjee Singh 970ad43ed6 hal: Define max channel count for sdm710
Change-Id: Ifde0a623edebe87e8b0bc79d636026dcb3475d29
2019-03-13 07:12:22 -07:00
Sujin Panicker 8423c35481 sdm710: Disable ffv feature flag
- Disable ffv feature flag temporarily to fix build error
- Red Dragon target is not yet migrated to AHAL-6.0 consider
  enabling when moved to 6.0.

Change-Id: Ibd23062bc1d49551a901d8afefeecfe2d6510a3d
2019-03-13 04:28:37 -07:00
Linux Build Service Account 958f6961ab Merge "hal: config: update mixer paths file name for Kona" 2019-03-13 02:39:36 -07:00
Linux Build Service Account a3f8455d44 Merge "hal: kona: remove unused listen_platform_info.xml" 2019-03-13 00:40:22 -07:00
Meng Wang 39f9346d54 hal: configs: update backend for handset device
Receiver on QRD device is connected to earpiece which has
different backend with speaker. Update backend for handset
device to RX_CDC_DMA_RX_0.

Change-Id: If37cd2bad15c6f6c59f6e507eb74c74a92d9bb85
2019-03-13 09:25:43 +08:00
Karthikeyan Mani 882fb71f40 hal: config: update mixer paths file name for Kona
Rename mtp mixer paths file to compile the updated
mixer paths file for Kona.

Change-Id: I3055c652fe32b83829997554be1794d2b148bfb8
2019-03-12 13:13:26 -07:00
Linux Build Service Account 21c6e39d9b Merge "hal: set default sample rate during voice/voip call" 2019-03-12 05:15:50 -07:00
Linux Build Service Account 1153fd5570 Merge "hal: add support for automotive audio hal extension" 2019-03-12 04:10:38 -07:00
Linux Build Service Account 967f3ea3e3 Merge "hal: config: fix mixer paths name mismatch for Kona cdp" 2019-03-11 23:18:04 -07:00
Linux Build Service Account 849c726005 Merge "hal: spk_protection: fix compile error" 2019-03-11 22:30:48 -07:00
Weiyin Jiang 4f4e8eac47 post_proc: release vol listener object based on context
Releasing volume listener object based on session_id and stream type is
not accurate, which results into false free and dangling pointer.

Change-Id: I23d54b81c0a4cbad2731d86a52beae54f3e05088
CRs-Fixed: 2399130
2019-03-11 00:03:34 -07:00
Linux Build Service Account 4afc524c11 Merge "config: Disable feature flag for QSSI compliance." 2019-03-10 22:44:49 -07:00
Weiyin Jiang fa65d3e5d7 audio: introduce dedicated adev->cal_lock for gef interfaces
Audio device lock is not suitable for GEF operations, so add a dedicated
calibration lock for GEF.

CRs-Fixed: 2413132
Change-Id: Ic1e840c02e9d7f1bce5d3cb12702366af1c07f01
2019-03-11 10:58:50 +08:00
Banajit Goswami 405ad56616 hal: disable QSSI for audio on Kona target
QSSI for audio on Kona is not ready. Disable the feature flag for
Kona target.

Change-Id: Ibdbe79d02397482a612f421edec1e79ec9abc7b3
2019-03-08 17:00:34 -08:00
Linux Build Service Account 7df13dcd4e Merge "hal: kona: update missed audio properties for kona" 2019-03-08 08:05:47 -08:00
Samyak Jain 66ea924955 config: Disable feature flag for QSSI compliance.
Disabling QSSI feature flag for now to unblock
build failure. Will be enabled once it is fixed.

Change-Id: I4b8e7a96acae3fce4a5aa93e86492ec1776bb185
2019-03-08 16:55:03 +05:30
Meng Wang 0fea914231 hal: kona: update soundtrigger mixer paths for QRD device
VA macro is used for soundtrigger use cases on Kona.
Add mixer paths for corresponding use cases for QRD device.

Change-Id: I584e71755ea436db42f038b22cacda4ba9d780ff
2019-03-08 17:29:39 +08:00
Karthikeyan Mani 2db56d396a hal: config: fix mixer paths name mismatch for Kona cdp
Rename mtp mixer paths file to not have any device
specific tag so that this same file gets loaded for
cdp as well.

Change-Id: I63f5b7ff3ebb4dd217a6abbd7581d28f75f0d81e
2019-03-07 15:23:11 -08:00
Laxminath Kasam b3625f6f33 hal: spk_protection: fix compile error
Initialize adev handle to avoid compile error.

Change-Id: I2a806c604f9a2d0b6008112bb5a1a5f4fca91519
2019-03-07 19:36:58 +05:30
Weiyin Jiang aec970e173 kona: disable audiohalext feature
Disable audiohalext feature.

Change-Id: I0b8976c271bbbb76d46770fe2538dafa5a0d0638
2019-03-07 00:40:12 -08:00