Commit Graph

10 Commits

Author SHA1 Message Date
Aditya Bavanari 29bcea2437 hal: Update acdb extn and platform to pass Instance ID support info
Update acdb extn and platform to pass Instance ID support info
in order to enable ACDB loader use this info and call the respective
ACDB SW APIs. Update GEF APIs to support instance ID feature.
Add a property to query the instance ID support and use that
to call ACDB loader for instance ID support.

CRs-Fixed: 2199639
Change-Id: I64b41faf23cb42ec2af1695adb8a7021cad996dc
2018-03-06 18:08:57 -08:00
Linux Build Service Account 4be7e12cdf Merge "audio: hal: dont specify absolute lib path in LE" 2017-11-03 09:01:42 -07:00
Satish Babu Patakokila 3823096176 audio-hal: gef: Remove access check for gef library
- access function needs absolute path of the library for which
access permissions are to be checked.
- This would need two different library paths for 64-bit and 32-bit
architectures.
- To avoid this, avoid access check and rely on the dlopen error.

Change-Id: Idbcc4f5a848b528a8e90382e40017b078fbd9996
2017-10-25 00:15:40 -07:00
Manish Dewangan 6a36d00a9a audio: hal: dont specify absolute lib path in LE
-Absolute path is only needed  when lib is not present in default
 path (/usr/lib or /usr/lib64) but as LE uses default path,
 absolute path is not needed.
-This also avoid specifying two different path for 32bit and 64bit
 architecture.

Change-Id: I55c6d9edaebe374f9b2ad16ebe20fd4e9d0aef08
2017-10-23 02:04:30 -07:00
Dhananjay Kumar a427f14cf2 hal: gef: update gef extn to deinit gef library on hal deinit
Update gef extension to call deinit of gef library if the call is
available, so that gef is aware of audio hal state and gef init/deinit
is not tightly coupled with hal init/deinit.

Change-Id: I72ced9d6b9535563ee0b8e6d81efd634fcdc3ee3
2017-07-27 12:21:36 -07:00
Revathi Uddaraju 1eac8b0e2d hal: Add support for dynamic logging
Changes to support dynamic logging in hal

Change-Id: I315c919bd940d8ccdb9103eb06bf67c1e3ff3f4b
2017-05-29 03:20:20 -07:00
David Ng 06ccd87f4b Allow split system/vendor image configuration
Switch hardcoded system/vendor path to $(TARGET_COPY_OUT_VENDOR).  For
direct loading of files in code, switch from /system/vendor to
/vendor - relying on /vendor symlink for compatibility.

Change-Id: I96960f977f1ab74f266aa7a7937c760b6675ca54
2017-03-31 03:54:17 +05:30
Weiyin Jiang 82e4094e6e audio: qahw_effect_api: test app covering all effects
Complete test app to support all effects including equalizer, bassboost,
virtualizer, reverb and audiosphere.

CRs-Fixed: 1081403
Change-Id: I1361164ae400546e20d50bf8a2faa5e3094a1b11
2017-01-27 07:58:41 -08:00
Weiyin Jiang 6f4c8063ec hal: add sample rate as a part of argument in gef callback
Add sample rate as a part of argument in gef callback, as client needs
this information to determine what's the exact sample rate COPP is
running and get calibration value accordingly.

If there's gef APIs call in callback, device lock will be probed twice.
Temproraily unlock device lock around GEF device change notification
to solve deadlock.

CRs-Fixed: 1094022
Change-Id: I47fdb1f88397e4340ba930113c64c140596bc62a
2016-12-20 22:15:54 -08:00
Weiyin Jiang aa80acd9f1 hal: Add support for generic effect framework
Base changes for supporting generic effect framework
in HAL

Change-Id: I1f5a8d7748848cd5981b86017e6a4466d6b27be7
CRs-Fixed: 1043932
2016-09-21 16:45:33 +08:00