Commit Graph

4801 Commits

Author SHA1 Message Date
qctecmdr b0e053d056 Merge "hal: Add missing entries for voice speaker stereo." 2019-04-16 03:15:27 -07:00
qctecmdr 49946a48b8 Merge "configs: Add support for sub band devices" 2019-04-15 23:32:28 -07:00
qctecmdr 4d1fbcbceb Merge "hal: Add changes to send pspd coefficients during out_write" 2019-04-15 23:30:38 -07:00
qctecmdr 77bb4eed74 Merge "hal: Add support for sub band devices" 2019-04-15 23:28:12 -07:00
qctecmdr 8de32502eb Merge "hal: add support to set custom channel configs" 2019-04-15 23:25:51 -07:00
qctecmdr b8fb69156a Merge "hal: Fix incall recording calibration issue" 2019-04-15 23:24:31 -07:00
qctecmdr fb9644305e Merge "hal: Backend port specific channel mapping for afe-loopback" 2019-04-15 23:22:16 -07:00
qctecmdr 5f6ae9d4ae Merge "hal: Update in_snd_device for USB headphone device use cases" 2019-04-15 23:20:39 -07:00
qctecmdr f9f5d6f3c4 Merge "configs: Add devices with backend headset-mic." 2019-04-15 23:17:24 -07:00
qctecmdr 721fe68b25 Merge "configs: Add 16 bit and update 24/32 record app types" 2019-04-15 23:15:37 -07:00
qctecmdr a399702be6 Merge "configs: kona: use the correct DMIC for SVA tmic and qmic setups" 2019-04-15 23:13:19 -07:00
qctecmdr c603441aaa Merge "hal: Add support for Backend port specific channel map" 2019-04-14 23:26:18 -07:00
qctecmdr ba40066c7a Merge "configs: kona: Add in_channels_lpi param to lsm_usecase" 2019-04-14 23:24:38 -07:00
qctecmdr 531e564d32 Merge "configs: kona: use only the available decimator paths" 2019-04-14 23:21:58 -07:00
qctecmdr 6cd6066901 Merge "hal: visualizer: dynamically read pcm device" 2019-04-14 23:18:33 -07:00
qctecmdr 1d830ae8df Merge "hal: use version 3 as default for speaker protection" 2019-04-14 23:16:13 -07:00
qctecmdr 1e66a778d2 Merge "configs: Declare pro-audio capability" 2019-04-14 23:13:46 -07:00
qctecmdr 4f4ba318bb Merge "configs: Remove Dolby formats by default." 2019-04-14 23:11:16 -07:00
Dhanalakshmi Siddani 20628c8a90 hal: Add changes to send pspd coefficients during out_write
Add support to send matrix mixer coefficients in out_write
as older kernel version does not have support to save the
channel weightage values.
Add flag to check and resend matrix mixer coefficients during
device switch.

Change-Id: I8c8991b2b7bbfc60e300b9a965e4d488b2eabb8d
2019-04-15 11:00:19 +05:30
Dhananjay Kumar 429eb45770 hal: add support to set custom channel configs
Add generic implementation to set custom channel configs
as per usecase config present in platform info xml.
Each usecase identified by usecase id, input channels,
output channels, snd_device and feature id can have
a separate channel config.

Change-Id: I957b5b06adbcd17f65ed49b839327bf8e9e8b318
2019-04-15 10:57:13 +05:30
Xiaoyu Ye 3d91592daa configs: kona: use the correct DMIC for SVA tmic and qmic setups
Update the sound trigger mixer paths to use the correct DMIC number
"DMIC4" for SVA tmic and qmic use cases.

Change-Id: Ib75643d127afa4ee5dca57e86f9c111553a2dea7
2019-04-12 10:17:19 -07:00
qctecmdr 3119505971 Merge "hal: 8916 & 8974 platform convergence" 2019-04-12 02:51:15 -07:00
qctecmdr 00f9b22f7a Merge "hal: QCV changes for remaining HAL compile time feature flags" 2019-04-12 02:45:38 -07:00
Linux Build Service Account 091fa39d31 Merge "msmnile: Add support for QC value added codecs" into audio-hal.lnx.6.0 2019-04-11 22:14:10 -07:00
Linux Build Service Account fd6d3e4fdf Merge "hal: Update FM record usecase in open input stream." into audio-hal.lnx.6.0 2019-04-11 22:14:07 -07:00
Quinn Male f6f0bc13de configs: kona: Add in_channels_lpi param to lsm_usecase
LPI mode can only support a max of 3 channel FFNS. In order to
accommodote this without restricting the non-LPI usecases, this
change adds the in_channels_lpi param.

Change-Id: I5bcd674fa3506e52bebd260cac663dca604b196b
2019-04-11 15:18:15 -07:00
Vignesh Kulothungan f92d0eadac configs: Add 16 bit and update 24/32 record app types
Add entry for 16 bit record use case. Add new
app types for both 24 bit and 32 bit record.
Different app types are needed for correct
selection of bit width.

CRs-Fixed: 2433774
Change-Id: I58d7005a5fe61a57bab60f0df750ed3a9b84f853
2019-04-11 10:44:44 -07:00
Manisha Agarwal 2947426d64 configs: Add devices with backend headset-mic.
AAudio fails due to missing device entries in audio_platform_info.
Add backend entries for devices in audio_platform_info file.

Change-Id: I759b719cb4231634bcf95a8070d4a6638c61457d
2019-04-11 17:50:57 +05:30
Naresh Tanniru abec442bc2 msmnile: Add support for QC value added codecs
- Add support for CELT, APTX adaptive codec
  configurations

Change-Id: Id1b66461d4e81d78bc2ebde2a025102e08c6c8c5
2019-04-11 00:05:28 -07:00
Sujin Panicker b904fbec49 hal: 8916 & 8974 platform convergence
- Convergence specific to SDM660 and SDM429
- Add audio_configs.xml for SDM845 and SDM710
- Add wsa feature flag to configs file for
  msmnile and kona.

Change-Id: Ia9b1923e94014a62743e9a6f55bb007e11c0d921
2019-04-10 23:44:45 -07:00
Arun Mirpuri e008ed2618 hal: QCV changes for remaining HAL compile time feature
flags

Removed all feature flags except those that are hardware
specific, legacy features, non-LA features.
Moved following features to runtime enable:
- HFP
- EXT_HW_PLUGIN
- HDMI_PASSTHROUGH
- BATTERY_LISTENER
- INCALL_MUSIC
- CONCURRENT_CAPTURE
- COMPRESS_IN_CAPTURE
- HWDEP_CAL
- RECORD_PLAY_CONCURRENCY

Disabled AUTO_HAL compiletime flag temporarily after
discussing with Derek Chen. Will be re-enabled as
runtime flag later.
Change-Id: I55a58ca405b58be99e1873a5198fa201c0525725
2019-04-10 22:51:13 -07:00
Linux Build Service Account c53786afcc Merge "configs: Enable audio custom policy" into audio-hal.lnx.6.0 2019-04-10 15:01:37 -07:00
qctecmdr bbf34b9e38 Merge "hal: audio_extn: Update LOCAL_ADDITIONAL_DEPENDENCIES" 2019-04-10 12:21:38 -07:00
qctecmdr 2f92f48576 Merge "Revert "configs: kona: enable mirrorlink"" 2019-04-10 10:10:00 -07:00
Samyak Jain 0aa07ab8a0 hal: Update FM record usecase in open input stream.
FM record usecase fails after 2nd iteration as
audio-record usecase is overridden by FM record
usecase in start input stream, due to which the
second record session goes through compress
record and fails.

Update FM record usecase in open input stream
instead of doing it in start input stream.

Change-Id: I5467a3a74af8067fc1e4341c3e19a37eeefa5322
2019-04-10 14:01:45 +05:30
Karthikeyan Mani 70cde9aa53 configs: kona: use only the available decimator paths
Update capture path decimator paths to not exceed the
number of decimator paths available.

Change-Id: I49fd275ab56fccb10018778402e2cc7dac61275b
2019-04-09 22:31:26 -07:00
Aalique Grahame 49e6b6888c hal: visualizer: dynamically read pcm device
Dynamically read the sound card number and device id
of the pcm  device used for visualizer from procfs.

CRs-Fixed: 2430458
Change-Id: Ie757b7810eeeb8cebdbee557be1d930b6cab3f03
2019-04-09 17:59:09 -07:00
Aditya Bavanari 9e957d80bd hal: Fix incall recording calibration issue
For voice incall recording tx and rx usecase, calibration
is sent only once even though two recording sessions are
opened. Split the incall rec sound device and send the
calibration twice for tx and rx usecase.

CRs-Fixed: 2375699
Change-Id: Ib4e571296aefde2c8ff875d571e7110c73bb00ac
2019-04-09 02:17:55 -07:00
Linux Build Service Account 7c52d43779 Merge "hal: msm8974: fix device selection for voice call" into audio-hal.lnx.6.0 2019-04-08 23:36:21 -07:00
Linux Build Service Account 2ff172bc01 Merge "hal: Define max channel count" into audio-hal.lnx.6.0 2019-04-08 23:36:14 -07:00
Linux Build Service Account 380b32c9a3 Merge "audio: Mmap audio fixes" into audio-hal.lnx.6.0 2019-04-08 23:36:05 -07:00
Linux Build Service Account f36269547e Merge "configs: add mixer path for voip echo reference for kona" into audio-hal.lnx.6.0 2019-04-08 23:36:02 -07:00
Linux Build Service Account 2a37f8b2e9 Merge "config: update mixer path for headset mic" into audio-hal.lnx.6.0 2019-04-08 23:35:52 -07:00
Linux Build Service Account 5f60bbe052 Merge "hal: Add lito target for audio_extn libs" into audio-hal.lnx.6.0 2019-04-08 23:35:49 -07:00
Linux Build Service Account bad920b51a Merge "configs: kona: Add platform_lpi_enable flag" into audio-hal.lnx.6.0 2019-04-08 23:35:47 -07:00
Linux Build Service Account 867f55d03d Merge "hal: fix voip input select compress record usecase" into audio-hal.lnx.6.0 2019-04-08 22:03:46 -07:00
Meng Wang 6719f4d1f8 hal: audio_extn: Update LOCAL_ADDITIONAL_DEPENDENCIES
Update LOCAL_ADDITIONAL_DEPENDENCIES to fix kernel header
build dependency.

Change-Id: I3121e5600c030dffa72b1acbcdcf6b3231d928a8
2019-04-09 09:09:16 +08:00
Arun Mirpuri a4a3b142a2 configs: Declare pro-audio capability
Declare pro-audio capability in the chipset make files to indicate
pro-audio support exists

Change-Id: Ic481efa300ea477e7f6792cf18ac520da7817a64
2019-04-08 11:34:59 -07:00
Aditya Bavanari 8a7153265e hal: Update in_snd_device for USB headphone device use cases
When a USB headphone is inserted and capture is not supported,
select the default in_snd_device to handset mic to fix the
Tx mute issues in voice call usecases.

CRs-Fixed: 2430419, 2430420
Change-Id: I6887135784cb928c1eb53f8fecf6256f6f4eabd4
2019-04-08 20:07:32 +05:30
Sachin Mohan Gadag 3e6e3fd337 hal: Backend port specific channel mapping for afe-loopback
- Add support for Backend port specific channel map for
  afe-loopback usecase.

Change-Id: I7a246a97d5ca38e084e4675563bb283d839ac0fe
2019-04-08 13:01:56 +05:30