Commit Graph

156 Commits

Author SHA1 Message Date
Linux Build Service Account a09ca3a505 Merge "Initial Android target definition for lito." 2019-03-19 01:16:38 -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
Manisha Agarwal 888e97628c Initial Android target definition for lito.
Initial Android target definition for lito.

Change-Id: I3ec264577ecef549bb7c3c355cea40b68161bed7
2019-02-27 22:18:49 +05:30
Hari Veerubhotla e56a5fa07a Initial Android target definition for trinket
Initial Android target definition for trinket
configuration files.

Change-Id: Ie1761dff7235a6625ebf4c378596c944a67d66ef
2019-02-18 23:17:10 -08:00
Linux Build Service Account 130f18847a Merge "hal: remove LOCAL_ADDITIONAL_DEPENDENCIES from makefile" 2019-02-14 11:29:27 -08:00
Aalique Grahame 6e7637151a hal: Fixes for dynamic audio HAL feature enable
- Update audio and voice feature init sequence
- Update API names for querying whether feature is enabled
- Fix A2DP audio_extn APIs
- Fix compress VOIP set parameter default return val issue that
  was causing no other set param to be processed
- Fix dynamic primary usecase check

Change-Id: I08fa3bc369ec197932347b01491588d42655797c
2019-02-05 16:34:45 -08:00
Meng Wang ef2f6e180b hal: add audio support for kona
Add audio support for kona.

Change-Id: Ib1eb05209ce3220e00fa15cddc5338b3f62871f9
2019-01-31 23:14:42 -08:00
Aniket Kumar Lata 808e8d62c1 hal: Add support for audio feature manager
Fetch feature flags from audio config store.
Provide an interface for audio_extn, platform
and hal code to check if a feature is enabled
or disabled at runtime.

Change-Id: I35d873c787258aee75481de343fcbcbc51cb9e91
2019-01-31 18:03:28 -08:00
Arun Mirpuri b1bec9c80b hal: enable dynamic audio HAL feature extensions
Move audio and voice extension feature to seperate
dynamic libraries. Loading these libraries will be
controlled from config store based on target. These
flags can be changed at runtime

Change-Id: I042450768243124ea80945efac0821984f96b9bf
2019-01-30 17:36:06 -08:00
Aalique Grahame 5ce7fbe767 audio: update feature files
Update the source files for ma_listener, cirrus_playback and
maxxaudio to latest versions.

CRs-Fixed: 2388992
Change-Id: I62eecf0356ee942d085ee94b848225a91704e688
2019-01-29 10:55:55 -08:00
jasmine cha 75fa6f02fb audio: porting MAXXAUDIO
- use effect module to monitor stream's volume
  - the control(maxxaudio) monitors active device and
    changed volume from HAL, and send audio calibration
    to acdb via acdb_loader.
  - support specific USB headset

  Enabled function:
  - LR channels swap
  - load external tuning table for volume preset feature

Bug: 74360112
Test: manual effect test, usb headset test
Change-Id: I9b35436d6abebcfa250beb4857dfa0be9248f2b5
(cherry picked from commit 270b7762c1c6c7b69400ba28a2ea2bed7af1906a)
2019-01-28 14:13:21 -08:00
Meng Wang 9bdd2d373d hal: remove LOCAL_ADDITIONAL_DEPENDENCIES from makefile
LOCAL_ADDITIONAL_DEPENDENCIES must only contain paths and
should not be dependent on module names. And it should have been
taken care of with the dependency added on the new UAPI headers.

Change-Id: I3aea0282b26d072de85e25d1435862f94d19ca16
2019-01-27 23:24:50 -08:00
Aalique Grahame 22e4910d3d audio: unify hal
Unify audio hal components

CRs-Fixed: 2380934
Change-Id: Iacafdc44d935de5f343240421a1572a0a3241bd0
2019-01-25 15:15:46 +05:30
vivek mehta a24d1adab7 hal: fix hal compilation from new location
fix in change in location issue

Change-Id: I2f660ca177722b00a00be8b7b3a2f49fab0702e0
2019-01-15 22:38:01 -08:00
Vignesh Kulothungan 9f86d7ad62 hal: post_proc: make definition of instance id independent
Definition of instance id is misplaced inside definition of
hardware accelerated effects in makefile. Moving definition of
instance id outside to break the dependency. When instance id
flag is disabled, it causes acdb_audio_cal_cfg_t structure size
mismatch between HAL and ACDB loader.

CRs-Fixed: 2315791
Change-Id: Iedb50b10f03193c67494cdfc30223f1bd93a8c90
2018-12-26 20:03:42 -08:00
Linux Build Service Account 0337652dde Merge "QMAA: Add support for HAL module disable" 2018-12-25 21:15:01 -08:00
Naresh Tanniru f129015268 QMAA: Add support for HAL module disable
- Disable audio HAL modules compilation
  based on QMAA flag

Change-Id: I3ec8c82bfcf699a3bbf5e7133480a4bda1240a5a
2018-12-18 23:02:27 +05:30
Surendar Karka 2febd45858 Merge commit 'd34f05cb6e67e28a4955332173950466edf0be3e' into audio-hal.lnx.5.1
Change-Id: I4656a1a78c2b1d4b4834b2fd538699f96e2aa90e
2018-12-13 17:57:12 +05:30
Vatsal Bucha c09ae066d5 audio: Add flags to makefiles
Enable GCOV if config is set to true. Also
add gcov_flush in source files to get enhanced
code coverage.

Change-Id: I39776cc6d6f16cd23da05b66669eea22fc4cba81
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-11-14 13:25:50 +05:30
Trinath Thammishetty 765efd2d2a hal: Add new parameter in SA+ effects and resolve compilation issue
Add new parameter in SA+ effects to get latency introduced
by each effect. Use #ifdef instead of #if in environmentalreverb header
file since _cplusplus macro not being defined is raising errors.

Change-Id: I0d5e410414502ac2bef77f1cbd7b041e4f26844d
2018-10-31 22:15:39 -07:00
Linux Build Service Account 9c8de88f06 Merge "hal: post_proc: make definition of instance id independent" 2018-10-16 07:23:21 -07:00
Naresh Tanniru cb5b578917 Merge e1f65e84d3 on remote branch
Change-Id: I5cb17e69a3b1e4fa78b7a130cbabc8bc7b11932b
2018-10-15 17:00:56 +05:30
Vignesh Kulothungan 1beac7c31b hal: post_proc: make definition of instance id independent
Definition of instance id is misplaced inside definition of
hardware accelerated effects in makefile. Moving definition of
instance id outside to break the dependency. When instance id
flag is disabled, it causes acdb_audio_cal_cfg_t structure size
mismatch between HAL and ACDB loader.

CRs-Fixed: 2315791
Change-Id: Iedb50b10f03193c67494cdfc30223f1bd93a8c90
2018-10-12 11:28:34 -07:00
Trinath Thammishetty efab619766 hal: Add new parameter in SA+ effects and resolve compilation issue
Add new parameter in SA+ effects to get latency introduced
by each effect. Use #ifdef instead of #if in environmentalreverb header
file since _cplusplus macro not being defined is raising errors.

Change-Id: I0d5e410414502ac2bef77f1cbd7b041e4f26844d
2018-10-11 13:28:21 +05:30
Vignesh Kulothungan bbf4497352 hal: post_proc: make definition of instance id independent
Definition of instance id is misplaced inside definition of
hardware accelerated effects in makefile. Moving definition of
instance id outside to break the dependency. When instance id
flag is disabled, it causes acdb_audio_cal_cfg_t structure size
mismatch between HAL and ACDB loader.

CRs-Fixed: 2315791
Change-Id: Iedb50b10f03193c67494cdfc30223f1bd93a8c90
2018-09-18 12:31:07 -07:00
Aditya Bavanari d3f6922ce5 post_proc: Update acdb_audio_cal_cfg structure to support Instance ID
Update acdb_audio_cal_cfg structure to support Instance ID feature
in bass module.

CRs-Fixed: 2199639
Change-Id: If9df8b4fddbc87a21ed7a526ad10b4e1b073a53c
2018-07-05 22:54:19 +05:30
Satish Babu Patakokila 210465d6d6 hal: Use DLKM feature flag to define include rule
-- Use the Flag instead of targets to define the include rule
-- Fix the dependencies being overwritten

Change-Id: I21eac3c741cf308cd38a80b1e5432fbdb4939198
2018-07-03 19:16:41 +05:30
Satish Babu Patakokila 1d3b15d71c hal: Use DLKM feature flag to define include rule
-- Use the Flag instead of targets to define the include rule
-- Fix the dependencies being overwritten

Change-Id: I21eac3c741cf308cd38a80b1e5432fbdb4939198
2018-07-03 18:01:19 +05:30
Revathi Uddaraju 3f4cfa49f1 hal: Append the local header libraries
As part of the VNDK changes, libhardware_headers is being
added as local header libraries before audio_kernel_headers.
So, append the local header libraries for audio_kernel_headers
to avoid overwrite.

Change-Id: Ie184930eaaa9fd425f73fc13a2fdc849f3c01e94
2018-06-07 10:26:24 +05:30
Vinay Verma addfa4a100 Fix VNDK Compilation Errors
VNDK restrictions doesn't includes standard headers by
default, add them explicitly.

Change-Id: Icafac6f07fcdf58fccaabde8d472509090fb3e6f
2018-05-08 05:17:02 -07:00
Tanya Dixit 6e3bcccfc7 Initial android target definition for msmsteppe
Change-Id: I4c2f93bf5b109210bb27cbf9f2068d3cf260f3d9
2018-04-25 14:29:19 +05:30
Satish Babu Patakokila 2787cee866 hal: Enable compilation of 8937 on 4.0 component
- Enable compilation of 8937 on 4.0 component

Change-Id: Ia84a80dd115bc5a7bb1716e104b2dd2e13539777
2018-04-22 23:29:33 -07:00
Naresh Tanniru 42e0e60bac hal: Rename sdm670 to sdm710.
Change-Id: Ic30a5e1c5afb883dd60eac4b944bb75ea59cabb1
2018-04-10 17:55:13 +05:30
Revathi Uddaraju e8bd13c719 audio: Access header files through header libs
Access header files through header libs which are not accessed
directly.

Change-Id: Ia98e31fd43d56e9bb4786ee00de49961047808d4
2018-04-04 09:32:08 -07:00
Linux Build Service Account bbe310d370 Merge "audio: Fix compilation issue" into audio-hal.lnx.4.0 2018-04-02 01:58:09 -07:00
Satish Babu Patakokila 16d5b606a7 hal: Enable compilation of 8937 on 4.0 component
- Enable compilation of 8937 on 4.0 component

Change-Id: Ia84a80dd115bc5a7bb1716e104b2dd2e13539777
2018-03-22 11:22:50 +05:30
Sachin Mohan Gadag 0d2d39af15 audio: Fix compilation issue
Add audio-driver headers files path to search
directory list during compilation process.

Change-Id: Ie7c5b50a7bcdfb62af33f83dec64936c6b53cabf
2018-03-19 12:18:26 +05:30
Satish Babu Patakokila 43431ff511 hal: Add support for SDM450
Add support for SDM450 in the makefiles to enable dlkm
compilation.
SDM450 uses same target name as msm8953.

Change-Id: I62ef0d856894ebce62997720dbf2620449f1865c
2018-03-14 19:15:47 +05:30
Linux Build Service Account 4fc643f73f Merge "post_proc: Update acdb_audio_cal_cfg structure to support Instance ID" 2018-03-07 15:35:22 -08:00
Aditya Bavanari 3db4a29326 post_proc: Update acdb_audio_cal_cfg structure to support Instance ID
Update acdb_audio_cal_cfg structure to support Instance ID feature
in bass module.

CRs-Fixed: 2199639
Change-Id: If9df8b4fddbc87a21ed7a526ad10b4e1b073a53c
2018-03-06 18:10:02 -08:00
Banajit Goswami f289a83b18 hal: add audio kernel header dependency only for msmnile
Add audio kernel headers dependency only for msmnile target.

Change-Id: Ie5e6116c4fadcf2b296cd56dbe8a1382d4a3508c
2018-03-05 12:11:16 -08:00
Banajit Goswami b8af9a6d83 hal: add audio kernel header dependency only for msmnile
Add audio kernel headers dependency only for msmnile target.

Change-Id: Ie5e6116c4fadcf2b296cd56dbe8a1382d4a3508c
2018-02-24 12:57:55 -08:00
Banajit Goswami 0ee0d3d88e hal: add audio kernel header dependency
Add dependency on audio kernel headers for cases where
audio kernel drivers are compiled as DLKM.

Change-Id: I65a45c3800df4f10481aca27be15f9be4a8a6438
2018-02-23 11:00:56 -08:00
Xiaoyu Ye 91553e693e hal: add audio support for msmnile
Add audio support for msmnile.

Change-Id: I742d9acbc42221476d1364e9c7bcce8a5d782bf4
2018-02-15 16:44:15 -08:00
Linux Build Service Account 5cf8f070f8 Merge "Bypass compilation errors due to compiler upgrade" 2018-02-12 12:19:18 -08:00
Srinivas Rao Narne 8ff4db57bd audio: header file fixes
Change-Id: Ifc2cd1f7f78c3cc386b06d346fcfb7b969fa3000
2018-02-09 14:26:33 -08:00
Abhishek Arpure ce11235bcc Bypass compilation errors due to compiler upgrade
Bypass CLANG compilation errors by adding ignore flags

Change-Id: I99317ca2ccf5ee953ca5796e01db63dd396d622d
2018-02-05 21:31:51 -08:00
Soumil Shah 196157e2ec HACK: Modify .mk files to avoid strict compiler errors
Change-Id: I95dd11f96d8aaad31078b599eca1745be912b488
2018-01-22 17:39:48 -08:00
Ashok Sidipotu 5accc8d04d audio: make sure audio hal compile for qcs605
Added target qcs605 in the make files to enable
compilation

Change-Id: I03caf5b62c55c08818bc89295170006c1987ca9b
2017-11-08 17:24:10 +05:30
Asish Bhattacharya d066587b04 hal: Add new path for dlkm
Add new header paths.

Change-Id: I413de5e738db4e35904df7a09c3a4cdad68079da
2017-10-31 17:21:19 +05:30