Commit Graph

22 Commits

Author SHA1 Message Date
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
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
Manish Dewangan 338c50a293 audio-hal: 64 bit hal porting changes
-Use long for mixer control with integer type to match with
 kernel snd_ctl_elem_value definition.
-Use packed structure for mixer controls with byte type

Change-Id: I9fbb1d10c5ee212348b58fc4b27a3d74403d8bda
2017-10-23 15:03:03 +05:30
Varun Balaraj f3cc95c401 audio: hal: Fix incorrect boundary check for interactive audio
Fix incorrect boundary check for pan/scale/downmix controls.

Change-Id: I5887b28c576755ce44419691a371ee65a80ee714
2017-10-09 05:27:05 -07:00
Nikhil Laturkar 32b96c6eef audio: hal_play_test: Test app incrementatl fixes
Fix incorrect channel map.
Add support for concurrent pan_scale & downmix control.

Change-Id: I11372244dade258741ba2264d667b9012d9edeec
CRs-fixed: 2091555
2017-09-13 16:15:28 -07:00
Varun Balaraj e49253e19a hal: Adding Pan-Scale, downmix mixer control support.
Add support in HAL to send mix matrix params using downmix,
Pan-Scale mixer controls. Add new interactive usecases and
also add support to open and teardown for interactive streams.
Add support in test app for supporting up to 9 concurrent
streams. Add support for mixer matrix params handling.

Change-Id: I0dc5b908ee779b2b2c526a67609c057f591f26e7
2017-08-29 16:26:38 -07:00
Satish Babu Patakokila c3c5d43c4c hal: Add API to support device configuration
Add new API to set device configuration from Client.
Currently the device config is set from edid.
New API overwrites the default device config with
client provided values.

CRs-fixed: 2071954
Change-Id: I1f0918acf0a420f9c9d8a17bc070637199cb7105
2017-08-15 15:02:34 -07:00
Naresh Tanniru e715603426 hal: add ip-handler audio extension module
Add ip-handler interface audio extension module to
handle MS12 security mechanism.

Change-Id: I599325a5d0d7ae47eced243bead7ed2a4e25ebb0
2017-06-08 19:28:04 +05:30
Naresh Tanniru 6a643bc4ba hal: update adsp handler to handle multiple events
Update adsp handler logic to handle multiple events from ADSP

Change-Id: Icd2bf5ef7649e5781a8c3aae7aa0e3a42a43f11d
2017-06-08 19:28:04 +05:30
Naresh Tanniru 29bce4e5dd hal: qahw: Add support for Input channel map config
Add new set param api to configure input channel map to DSP

Change-Id: I47f8c165040be59c4da70b13b0cbc66c8802f71b
2017-06-08 19:27:54 +05:30
Naresh Tanniru 6160c71228 audio: hal: add DSP clock recovery support
-Changes to add DSP clock recovery support

Conflicts:
        qahw_api/test/qahw_playback_test.c
	    hal/audio_extn/utils.c

CRs-Fixed: 2036937
Change-Id: I32e18e415c4a7dfdc7ae13d0e50c1ca76d739cc0
2017-06-08 13:04:27 +05:30
Ben Romberger d771a7c8ca audio: hal: Add support for registering adsp events
Add support for AHAL clients to register for adsp events
and receive event callbacks when an event is triggered by adsp.

CRs-Fixed: 2023812
Change-Id: Ie22efee6e859c3d819ed3939e164cb7baebab71b
2017-05-18 21:24:23 +05:30
Manish Dewangan 14956cc959 audio: hal: support for out start delay
-Changes to add support for out start delay

Change-Id: I27a55267efa888925c837639cb3349c6e19da249
2017-05-17 02:31:28 -07:00
Manish Dewangan 27346045e7 audio: hal: support for audio render window
-Changes to add support for audio render window.

Change-Id: I40bb0d8061b8245999c37a485d3a7ee45108fac6
CRs-Fixed: 2009985
2017-05-17 02:31:21 -07:00
Manish Dewangan 3ccdea5392 audio: hal: Add AVD Drift Query support
- Add out set_param_data() and get_param_data() API.
- This API is needs to be used for client to set/get out stream
  specific params.
- Currently it only supports get/set of afew out params. Going forward all
  the new param needs to be supported by these APIs.
  In future key,value pair based set/get param API will be deprecated.
- Use get_param_data() API to query avtimer vs device drift support.
  Currently this API only supports drift query for HDMI device as for
  other device DSP can directly do the drift correction.

Change-Id: Iaec94b7220cdaa243d4b616fb727aae7179539d2
2017-02-27 19:26:40 +05:30
Dhanalakshmi Siddani 374940220a qahw: test: Add support to test aptx decoder
Add changes to test aptx decoder using playback test app.

CRs-Fixed: 1081424
Change-Id: Ie7913d5a0b0091ce50d9066b7d85100e7f884f83
2017-02-03 05:50:33 -08:00
Dhananjay Kumar 9cc498b4a3 audio: miscellaneous fixes against iot changes
-Fix compilation warnings against tx app_type changes.
-Remove assignment of compress usecase outside compress
 input extension.
-Define input flag for compress record usage.

Change-Id: I36630c7f6524d494b76e0a3bd074185a01e19883
2016-12-23 12:02:21 +05:30
Sachin Mohan Gadag e24b96747c audio: qahw: Implement new api to store data in payload
Implement new api qahw_get_param_data to store Sourcetracking
parameters in given payload.

Change-Id: Ie256d075566ad9072466c8ac72f46dca9e5a0f3a
2016-12-06 09:30:48 -08:00
Dhananjay Kumar bbb34aefc0 audio: qahw_api: update QTI audio HAL to add read with timestamp
Update QTI audio HAL to dlsym read_v2 implemented by QTI audio
interface and use this new read API to obtain timestamp for read
buffer.

Change-Id: I8db1325cfb5c60c1f120417e460595e47bce237e
2016-12-06 18:17:25 +05:30
Dhananjay Kumar 4d91c1a064 hal: add support for profile based app_type selection
Add support to use profile tag in app_type configuration.
Profile tag need to be mentioned with profile string and
same should be set to a stream using set param.
If no profile is set to the stream, matching would be done
only against app_type entries without profile tag keeping
backward compatibility.

Change-Id: I24f0b67d638517fe4f428c0d650fcc72c380faa1
2016-12-06 18:17:25 +05:30
Manish Dewangan b8c83a4f5d audio: qahw_api: Initial version of QTI audio HAL
-Initial version of QTI Audio HAL Wrapper.

Change-Id: Ia11c9d6b736cb5e9fa732601c3a3efd8d75ddd98
2016-10-14 10:09:21 +05:30