Commit Graph

15 Commits

Author SHA1 Message Date
Linux Build Service Account 5ec023a713 Merge "hal: Enable integer overflow sanitizer" into audio-hal.lnx.6.0 2019-06-12 09:27:28 -07:00
Vikram Panduranga 1719d7c0c0 hal: Enable integer overflow sanitizer
Enable integer overflow sanitizer in audio HAL for kona.

Change-Id: I16a81af39c888f9e5c3c10187ad81d29035a8bc0
2019-05-31 13:38:27 -07:00
Surendar Karka 287348c7ff audio: add support to query presentation position from DSP
Add support to query presentation position from DSP
in system time domain.

Change-Id: I475aeedb7a3691027698ca91747b801dff569d21
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2019-05-23 13:18:29 +05:30
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
Trinath Thammishetty 15cd340843 hal: Use correct param for loopback set param
Use correct parameter for qahw loopback set param data to resolve
compilation error.

Change-Id: I41146392ade9bd447f81b4ce3d401bab591c157f
2018-10-31 22:16:55 -07:00
Trinath Thammishetty 580f1de09e hal: add support for configuring render window
Add support to set render window in transcode loopback usecase.
Render window is used by DSP to take rendering decision, i.e,
whether input frame should be rendered, dropped or repeated.

Change-Id: I87560a8e437b33dcd15094f30a532b3ed3d3749f
2018-10-29 20:09:03 -07:00
Manish Dewangan 4affcfeb27 qahw: add channel position for all channels supported by adsp
Change-Id: Ifc9a5fd5ebc0b0ad31a2029fc308060a7fe03f01
2018-09-10 13:45:57 +05:30
Ralf Herz aec8026492 hal: support compressed capture with variable size packets
Compressed IEC 61937 capture uses variable size packets for data
transfer

Change-Id: I8e6baaf870f5f504c0c642cf44795334097bddbf
2018-07-27 14:42:41 +05:30
Surendar karka 3056979cf3 hal: retrieve license info during init.
FFV/Allplay requires licensing info during init.
 - Retrieve Product_Id using "meta_info_key" from platfrom xml file during HAL-Init.
 - Retrieve Product_License using "audio_calibration_info" from ACDB.
 - Extend QAHW GetParam API to access AllPlay License information.

Change-Id: Ie759f795d76e0038cba3f14ee9084f1c46b64c0a
2018-05-08 14:23:58 +05:30
Dhanalakshmi Siddani 7764e3fec0 qahw: Load sound trigger HAL when concurrency enabled
Load sound trigger HAL during audio use case is running when sva and audio
concurrency is enabled.

CRs-Fixed: 2173226
Change-Id: I80b797857eae9dfc2cfaad340ec145dccd3c095f
2018-03-06 16:39:03 +05:30
Trinath Thammishetty 85b1929d4e qahw_api: Propagate missing changes from 2.2.c4 to 4.0
Add support for audio effects through binder server
calls if QAS is enabled. Else the required APIs are
called directly.

Change-Id: I1f45ae89b839e69c49cbca407ddb05b7a02d3dc6
2017-12-29 11:58:40 +05:30
Sachin Mohan Gadag 25328bd102 audio: qahw: Fix compilation errors
Fix compilation errors such as
- unused parameter
- multiple declaration.
Also modify makefile to install images
in vendor partition.

Change-Id: I3d998eef91a16a890993449e92ef8f5443558c78
2017-12-18 03:18:37 -08:00
Sachin Mohan Gadag 364932c70f audio: Make repetitive logs silent
Define NDEBUG Macro in Makefile to avoid
ALOGV logs to be printed on shell.
Move repetitive logs under ALOGV log level.

CRs-Fixed: 2135642
Change-Id: Id573300504cdb15aea285ec33a08319155cff189
2017-12-07 17:22:05 +05:30
Sachin Mohan Gadag 12f5884b21 qahw: Use glib2.0 library for standard api
Use glib package for standard api such as
g_strlcpy.

Change-Id: Ib7db03814a051ffa67389c7bf00ced7062fb0ed4
2017-12-05 15:46:28 +05:30
Sidipotu Ashok 404f26d1f6 qahw: Add binder support for Audio HAL
- Bring in a new cpp source file which HAL clients talk to
- This code in turn makes the binder proxy/clients side calls
- The binder server calls into the existing qahw.c

Change-Id: I45625bcb2d8a2eb858c68d24f0cad3202d754244
2017-11-16 11:08:30 +05:30