Commit Graph

28 Commits

Author SHA1 Message Date
Aalique Grahame 22e4910d3d audio: unify hal
Unify audio hal components

CRs-Fixed: 2380934
Change-Id: Iacafdc44d935de5f343240421a1572a0a3241bd0
2019-01-25 15:15:46 +05:30
Linux Build Service Account 828ab80ba7 Merge "hal: Make LL as primary output" 2018-11-12 05:27:23 -08:00
Manish Dewangan fb964e9edb hal: Make LL as primary output
On LE speaker protection not working as it expects primary output
to be always present which is not the case currently.

To fix this, make LL as primary output and when hal client opens
primary output LL path will be chosen.

Change-Id: If6321936b2f9dd4a9dd9ad6f54a1b1bbc3099786
2018-10-31 18:13:34 +05:30
Florian Pfister 1a84f31db3 hal: add split A2DP sink support
- Add changes to support BT IPC sink library.
- Add mixer control support to send decoder configuration for
  split A2DP sink usecase.
- Add hw loopback support for split A2DP sink usecase.

Change-Id: I3b015385ce1fdd5c0cbf512fe06b73143a32ae2d
2018-10-31 03:06:34 -07:00
Dhananjay Kumar 6085bd1279 hal: add feature flag to enable instance id support
Add feature flag to enable instance id support for
non-android builds.

Change-Id: I4ab3ab854f557ba63dae60eada8ef951e9d2dced
2018-07-11 22:53:34 +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
Surendar Karka 59c5107562 hal: start keep alive session to feed EC with silence data
FFV EC reference signal is fed from AFE RX port.
Start the keep alive session to write silence data to
RX port and feed the silence data to FFV EC.

Change-Id: I38b0396ef853493c9a176444dc803744be1c45bb
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2018-02-01 13:22:36 +05:30
Surendar karka 82dd9b22b2 hal: enable custom stereo for apq8009
Enable custom stereo to support dual mono for
apq8009.

Change-Id: Id95639a7422b5fb03964be99449fcaa961e7902b
Signed-off-by: Surendar karka <sukark@codeaurora.org>
2018-01-10 14:44:20 +05:30
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
Garmond Leung e2433c38c9 hal: Add support for Fluence Far Field Voice
Add support for 6mic Fluence pre-processing of
captured stream using Far Field Voice (FFV) algorithm.

Change-Id: I7a643014f3e090482db7772dce2fc812fd469b2d
2017-10-04 16:28:44 -07:00
Manish Dewangan 798b00abef audio: hal: Enable compilation of parser parser
-For DTS passthrough, iec61937 transmission info needs to
 be extracted from bitstream.
-Enable compilation of DTS parser for the same.

CRs-Fixed: 2049605
Change-Id: I27ffc2bad83ef29c86592da7ee46d703fda60bf7
2017-08-15 14:52:06 -07:00
Siddartha Shaik 31b530e053 audio: hal: Add Hal extension for transcode loopback usecase
Adding HAL extension for transcode hw loopback
Userspace qahwi APIs introduced to exercise this extension

Change-Id: Iffae3f6936c2519f0c5349c2430eb598b97c3364
2017-07-27 12:21:40 -07:00
Sachin Mohan Gadag bc3584ef09 audio: hal:Rename audiohal library name
At the start, hack was made in bitbake file to
install audio.primary.default.so library in final
image as part of intial LE HAL bringup.
To avoid hack renaming audiohal library name from
audio_primary_default.la to audio.primary.default.la.

Change-Id: If0e64671fb41aef2ca8a7ac40eab413f726ce43f
2017-07-20 18:22:12 -07:00
Deepak Agarwal 1a30478e33 hal : enable QAF extension.
Enable QAF extension in audio HAL to compile qaf.c file

CRs-fixed: 2041319

Change-Id: I15b93ad03fbcf9a25ae11483e02a8ea64defd6cd
2017-06-09 01:22:47 -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 b183432a40 audio: Add support for a2dp source
Add changes to support a2dp source on LE platform.

Conflicts:
        configure.ac
        hal/Makefile.am

Change-Id: I10ac91fadddbad0c4602a567dc277617abcfb502
2017-06-08 09:47:38 +05:30
Vignesh Kulothungan 5539688e3b audio: Add ACDB INIT extension
- Add an audio extension for ACDB
- ACDB Init from AHAL and STHAL are routed via this extension

CRs-Fixed: 2028493
Change-Id: Ib63c8fa4bf1f89d4dbfce8b6584ac1d8271e5f38
2017-05-24 23:06:54 -07:00
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
Dhanalakshmi Siddani 0bbcb9e17f hal: Enable proxy feature flag
Enable afe proxy feature flag.

CRs-Fixed: 1081411
Change-Id: I47c6d17ba5d76abd5debb8a299b042716845021c
2017-02-06 00:52:26 -08:00
Dhanalakshmi Siddani 18737938db audio: Changes to support Aptx decoder in offload mode
Add support to send license key value and bt device address
to DSP. Add Aptx format related changes. Also add support for
struct based set params using set api.

CRs-Fixed: 1081424
Change-Id: I2877239e61d3841e6ae90af2d39fb0b93cc2b6db
2017-02-03 05:50:13 -08:00
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
Satish Babu Patakokila 915ecba142 hal: Enable Compress passthrough
Enable Compress passthrough
Add Dolby and DTS formats which got removed mistakenly before.

CRs-Fixed: 1110685
Change-Id: I20f42b14bafb9b1a36bf471037f4e462e8cbd3cb
2017-01-12 17:46:32 +05:30
Sachin Mohan Gadag 1ec7fabd57 audiohal: Modify platform info for msm8916
Assign the backend mixer control based on interface.
Add support to set channels for afe backend for playback.

Change-Id: Ia870cb51b9e76700ef67812ee9af1437c76bf18c
2017-01-02 10:55:05 -08:00
Dhanalakshmi Siddani edaa1828fa hal: Enable proxy feature flag
Enable afe proxy feature flag for a2dp src to work

CRs-Fixed: 1081411
Change-Id: I30672f5549c49fcd51ffd6ceed2a11c366e7562f
2017-01-02 08:28:59 -08:00
Sachin Mohan Gadag 3d3e78f645 audiohal: Update Makefile and Configure file
Update Makefile and Configure file to compile
target specific platform file.

Change-Id: Ic2e5c3f5cc5484d2acaacb9708595ee670d53c03
2016-12-21 02:19:42 -08:00
Dhananjay Kumar ee4d2004ba hal: add support for compressed recording
Add support for recording through commpressed driver.
Add qahw interface layer for non standard API implementation.

Change-Id: Id1689f2ccab9bb8b920098e9cda1083b7d3ec4da
2016-12-06 18:17:25 +05:30
Yamit Mehta 0d37ca0031 qahw: test: Modify test app to support more formats
Modify test app to support FLAC, ALAC, VORBIS and
WMA format for compress playback.

Change-Id: Ia96127e803975d90406fc689cf8ca56c317eac29
2016-11-25 07:14:15 -08:00
Yamit Mehta a0d653afbd hal: Add Makefile and configure file for hal
Add Makefile and configure files for hal.
Change-Id: Ic4605a02a505d0be92faeed134060a7b254561e6
2016-11-25 20:42:25 +05:30