Commit Graph

4799 Commits

Author SHA1 Message Date
qctecmdr 054513d029 Merge "configs: Update common audio policy configuration with stock config" 2019-04-06 08:03:06 -07:00
qctecmdr 5c10eacd24 Merge "hal: sndmonitor: Add support for kona sound card in sndmonitor" 2019-04-05 21:34:30 -07:00
qctecmdr 67a76efd4f Merge "hal: Increase ffv process thread priority" 2019-04-05 09:39:55 -07:00
Samyak Jain 6df8ce8450 config: add PRODUCT_PACKAGES_ENG and PRODUCT_PACKAGES_DEBUG
Due to build system changes, local module tag
"eng" and "debug" are deprecated. So instead add
the modules in PRODUCT_PACKAGES_ENG or PRODUCT_PACKAGES_DEBUG

Change-Id: I604df1778ede4281a31f2fbbb90a3be3493e77c0
2019-04-05 08:02:43 -07:00
Dhanalakshmi Siddani 999d5648af hal: Increase ffv process thread priority
Set ffv process thread priority to ANDROID_PRIORITY_AUDIO
and set affinity for ffv reader thread to achieve better performance.

CRs-Fixed: 2405913
Change-Id: I04743f705cc78ed5f9378a6a566ec4c485f5dcb0
2019-04-05 08:00:23 -07:00
Aalique Grahame 552b08320f hal: msm8974: fix device selection for voice call
Fix output device selection for voice call so that
stereo speaker is able to be selected.

CRs-Fixed: 2411983
Change-Id: If5872a5ba5bd8a4a31e686cadaf9d947c3ca30dc
2019-04-05 07:57:52 -07:00
kunleiz 28c73e7cab hal: fix voip input select compress record usecase
When starting voip call repeatedly, voip input selects
compress record usecase due to pcm_record_uc_state has
been set to true during the first voip call.

Fix it by setting pcm_record_uc_state after voip input usecase
selection, delete MODE_IN_COMMUNICATION check for selecting
voip input usecase, and remove voip rx usecase when writing
frames with stereo channel due to voip rx only supports mono
channel.

Change-Id: Ib22c585acc14e9c48b69382f2affc305e8450eed
2019-04-05 07:55:12 -07:00
kunleiz c01ede5cbb configs: add mixer path for voip echo reference for kona
Add mixer path entries to support voip echo reference with using
AUDIO_REF_EC_UL10 mixer.

Change-Id: Ic3284a73ef1532032cfc0a8957a090704ebf528a
2019-04-05 07:54:57 -07:00
Samyak Jain 7413855086 config: update mixer path for headset mic
add mixer path for headset mic for low latency record,
compress record,voip record, mmap record and hifi record
usecases. And clean-up audio record compress2

Change-Id: Ie5fdd3b78c1e4e5fe3ed08524edbfdeb6716e5d8
2019-04-05 07:54:46 -07:00
Arun Mirpuri 5d17087187 audio: Mmap audio fixes
Mmmap audio fixes for mmap playback and record create buffers,
mmap record standby issue and adding aaudio props

Change-Id: I0187bb66474d1487179c6f4d9b8677a4f3cb2dc9
2019-04-05 07:53:58 -07:00
Quinn Male bed66e6870 configs: kona: Add platform_lpi_enable flag
On kona, it is assumed that all sessions will have the same setting
for LPI enablement. So this flag will move from each individual
sound_model_config to the common_config.

Change-Id: Iae6a469830af32197c95704cd7a6d9abc32b9109
2019-04-05 07:53:47 -07:00
Ramjee Singh 4752c89332 hal: Define max channel count
- Modify the max supported channel count
  to support SSR and HiFi usecase

Change-Id: Ia8b17de6effe3ecede1d08619185fbecea6494f5
2019-04-05 07:53:34 -07:00
Salendarsingh Gaud 84b1c1ddda hal: Add lito target for audio_extn libs
Add lito target override to msm8974 for audio_extn libs

Change-Id: I33c7534aa872086d0abbd3007c937a3edbd519bc
2019-04-05 07:52:58 -07:00
Banajit Goswami 16589191ba Revert "configs: kona: enable mirrorlink"
This reverts commit 88d69c6e70.
Disable mirrorlink on Kona target for now.

Change-Id: I7eeb0f8886467889c75427739064eba141336e6e
2019-04-05 00:10:56 -07:00
Sujin Panicker 6f0871a72e configs: Enable audio custom policy
- Enable audio custom policy flag

Change-Id: I405ab41c7c9c6634ea31c90342137fac182232fd
2019-04-05 00:04:13 -07:00
qctecmdr 3493e7714c Merge "qssi: Set AUDIO_FEATURE_ENABLED_AUDIOSPHERE to true" 2019-04-04 18:18:01 -07:00
Mingshu pang 767579cf95 configs: Remove Dolby formats by default.
The AC3, EAC3 formats are supported only when
license and respective decoders are present.
Having these entries in policy configuration
by default will unnecessarily trigger
open_output_stream and then fail when
decoders are not present. This results in
glitches at the begining of playback of video
clips with AC3 or EAC3 audio contents.

Removed these entries to make the video playbck
smooth with out any glitches.

CRs-Fixed: 2428579
Change-Id: I41b7ef9d8e2c5f77c261067337f602d705e11c35
2019-04-04 00:19:47 -07:00
qctecmdr 3acae22b3b Merge "hal: Update paths for calib files" 2019-04-03 23:09:58 -07:00
qctecmdr f36336ef32 Merge "hal: fix no sound issue when using some USB headset." 2019-04-03 23:09:58 -07:00
qctecmdr 7fa978bc54 Merge "configs: Add ahal feature configs" 2019-04-03 23:09:58 -07:00
qctecmdr d5d77dfc26 Merge "hal: configs: update ACDB device IDs for LPI VA devices on Kona" 2019-04-03 23:09:58 -07:00
qctecmdr fbf1174394 Merge "a2dp: Add new API for QC extension" 2019-04-03 23:09:58 -07:00
qctecmdr 9e63fe1c3b Merge "config: Update separate backend for headphones" 2019-04-03 23:09:58 -07:00
Xiaojun Sang 1cb32db055 hal: use version 3 as default for speaker protection
When speaker protection is enabled, version 3 should be used
as default.

Change-Id: Iea0fc57253bb902f0bad0c22996280e15656457d
2019-04-04 09:13:00 +08:00
Aniket Kumar Lata e08ec653f1 configs: Add ahal feature configs
- Add ahal feature configs to be read by config store.
  These flags will be read during ahal init and queried
  by different modules within ahal to make decisions
  based on whether feature is enabled or disabled.
- Re-group properties and flags per client.
- Add ahal feature configs for pixel.

Change-Id: Ia2270709f857f40cbaf8f345a9dca140033f9938
2019-04-02 18:38:43 -07:00
Xiaoyu Ye afe77c6b8e hal: configs: update ACDB device IDs for LPI VA devices on Kona
Update ACDB device IDs in sound_trigger_platform_info.xml to use
LPI VA ACDB devices on Kona. Add the headset LPI VA device.

Change-Id: Ie246725d4f55af628ec8477a1416c1645b62d362
2019-04-02 18:37:35 -07:00
Manisha Agarwal c36714f98a hal: Update paths for calib files
Update paths to point to /data/vendor/audio
for calib files for speaker protection.

CRs-Fixed: 2418789
Change-Id: Icf0487178aed568511747925cf8dbe2e9471583d
2019-04-02 18:36:16 -07:00
Vinayak Soni 6287706624 qssi: Set AUDIO_FEATURE_ENABLED_AUDIOSPHERE to true
AUDIO_FEATURE_ENABLED_AUDIOSPHERE is set for other targets
and needs to be set for qssi config files as well.

Change-Id: Ibed2a6319215e4cbc504cf9429f0c3fb94ac1a80
2019-04-02 18:35:49 -07:00
Vignesh Kulothungan deeb47b085 configs: Add support for sub band devices
Add fluence TX sub band devices to dynamic encs device table.

CRs-Fixed: 2406603
Change-Id: I6856f03b43361d41d32bf53f4b791db05c547814
2019-04-02 16:40:18 -07:00
Aniket Kumar Lata 94de170914 configs: Update common audio policy configuration with stock config
Update common audio policy configuration with stock config
for Q.

Change-Id: I09b4d2b6dc3c4226be32ab543ada7b20bf939a90
2019-04-02 12:24:27 -07:00
Meng Wang bc0a803fcc hal: sndmonitor: Add support for kona sound card in sndmonitor
Add support for kona sound card variants in sndmonitor
to enable SSR and PDR in kona target.

Change-Id: Ieb06d6f637990e69dea9644aa468bc94157dc100
2019-04-02 15:27:18 +08:00
Naresh Tanniru 66cf06cf17 a2dp: Add new API for QC extension
- Implement new API for HIDL 2.0
  to support BT service registry

Change-Id: Ib10ced4cefc26403999fdd1b42b6be650b6cb823
2019-04-01 15:36:59 -07:00
Vignesh Kulothungan df9ed3c790 hal: Add support for sub band devices
Add fluence TX (single/dual mic) sub band devices for
voice/voip usecases.
Add fluence sub band flag and select sub band devices when
the flag is enabled via system property.

CRs-Fixed: 2406603
Change-Id: Ia69bc7cc47bbff86bb5d03cfb6bd6bffd11ab6d8
2019-04-01 14:51:40 -07:00
qctecmdr 625465f78d Merge "kona: Add support for QC value added codecs" 2019-04-01 06:43:54 -07:00
qctecmdr 2c78321145 Merge "hal: audio_extn: fix LOCAL_ADDITIONAL_DEPENDENCIES in makefile" 2019-04-01 06:43:54 -07:00
Dallas Delaney 89fc787c2b kona: Add support for QC value added codecs
Add support for CELT, APTX adaptive codec configurations

Change-Id: I10acd28697f27bf3030428dd7587c202d308302a
2019-04-01 06:10:48 -07:00
Samyak Jain f3d1ea8c7b config: Update separate backend for headphones
Voice over headphone is mute due to incorrect
backend.
Update separate backend for headphones for
voice usecase

Change-Id: I3255ad2f3181a7803b75c737177a77879431fed5
2019-04-01 06:04:15 -07:00
Mingshu Pang 8ffbcf8db4 hal: fix no sound issue when using some USB headset.
The RX bit-width is overwritten when getting the RX and
TX capabilities with same memory.
Use different variables to fix the issue.

CRs-Fixed: 2426606
Change-Id: Ib254eaa3ff3ce04eb77299757ff3cbfaeff9e57a
2019-04-01 16:36:21 +08:00
Aalique Grahame 182676bdd2 hal: audio_extn: fix LOCAL_ADDITIONAL_DEPENDENCIES in makefile
LOCAL_ADDITIONAL_DEPENDENCIES must only contain paths and
should not be dependent on module names.

CRs-Fixed: 2423819
Change-Id: I15019a68a92666b26a2027dc86a8b795e44663e4
2019-03-26 15:52:17 -07:00
Ashok Kundurthi ecbe97d4ad hal: Add sdm710 target for audio_extn libs
Change-Id: I936d19dd773742c9b0264ec4f74a28ea6154df19
2019-03-26 00:40:50 -07:00
Linux Build Service Account 4adb8487f9 Merge "hal: Enable dynamic ECNS as default config" 2019-03-25 05:47:51 -07:00
Linux Build Service Account 607b8867f4 Merge "hal: avoid setting stereo channel mask to voip usecase" 2019-03-25 05:47:51 -07:00
Linux Build Service Account 791e006852 Merge "hal: Retrieve ahal feature flags from audioconfigstore" 2019-03-25 05:47:50 -07:00
Linux Build Service Account e6b61faf90 Merge "hal: add support for HAL API 3.0 to utilize AudioPatch" 2019-03-25 05:47:49 -07:00
Linux Build Service Account fd045c5e54 Merge "hal: MS12: qap test app update" 2019-03-25 05:47:48 -07:00
Linux Build Service Account 9f3e5d95b5 Merge "Revert "kona: disable audiohalext feature"" 2019-03-25 05:47:47 -07:00
Linux Build Service Account ee3287e79e Merge "hal: remove unused mixer commands for Kona" 2019-03-22 06:56:19 -07:00
Aniket Kumar Lata b91e4cf627 hal: Retrieve ahal feature flags from audioconfigstore
Update ahal_config_helper to fetch feature flags from
audioconfigstore.

Change-Id: I91c6c21df8f781420d03c027f54d8a7529e746fd
2019-03-21 11:33:54 -07:00
Weiyin Jiang 4df6c48ab6 Revert "kona: disable audiohalext feature"
This reverts commit aec970e173.

Change-Id: I1d33cb4ad75bb7a25bb8721b3777a325db686f02
2019-03-20 20:40:11 -07:00
Linux Build Service Account d85d5f45f7 Merge "hal: Update backend for headset-mic" 2019-03-20 20:31:04 -07:00