Commit Graph

215 Commits

Author SHA1 Message Date
Michael Bestas 3f9cd63635
Merge tag 'LA.UM.9.14.r1-20500-LAHAINA.QSSI13.0' into staging/lineage-20.0_merge-LA.UM.9.14.r1-20500-LAHAINA.QSSI13.0
"LA.UM.9.14.r1-20500-LAHAINA.QSSI13.0"

# By Krishna Kishor Jha (5) and others
# Via Gerrit - the friendly Code Review server (14) and others
* tag 'LA.UM.9.14.r1-20500-LAHAINA.QSSI13.0': (25 commits)
  audio-hal: changes for fm tuner
  configs: Add support for Qti AudioControl HAL
  audio-hal: skip source priority for fm usecase
  configs: Add card-defs-dummy.xml for elite and ar co-exit
  hal: Adding support for AudioControl HAL's mute and duck features
  audio-hal: changes to fix in-call volume issue
  audio: hal: Avoid input device check for playback use case
  ahal: removing unused libs
  audio-hal: fix build error
  audio: hal: Avoid input device check for playback use case
  audio-policy: adding new mix port
  audio: hal: correction in hex_mic enum value
  configs: new mixer control for enabling/disabling paired rx port
  configs: modify PLATFORM_VERSION to 13
  audio-hal: fix for kw issue
  configs: Remove unused "libvolumelistener.so" lib in audio_effects
  audio: hal: add support for combo backend capture
  audio-hal: Disable non automotive features
  [AUDIO-HAL] Enable VA flag and libqti-tinycompress
  configs: set ENABLED_AUDIO_PARSERS
  ...

 Conflicts:
	hal/audio_hw.c

Change-Id: Iabd6cf29589e84f955fc45fb7e5a1a3104d53860
2022-10-05 18:30:37 +03:00
Avinash Chandra d7296d4795 audio: hal: add support for combo backend capture
-Add support to capture 10 channel audio from two backends
 6 channel from SLIM_0_TX and 4 channel from TERT_MI2S_TX.

-add support for SOURCE_DEC_TYPE to support 10 channel
 generic mic capture.

Change-Id: I4fdfb7fa07d916426a0f11d88506039d0556bac7
2022-06-20 09:00:25 -07:00
Pig c00673cddb
audio: Drop LOCAL_COPY_HEADERS usage
LOCAL_COPY_HEADERS is deprecated, so remove all its usages
to avoid build warnings.

Change-Id: I4c52508e9109c5f448653fd5613a8991d28bbb2e
2022-01-25 07:31:07 -07:00
Zun Qiao 698f8271e9 hal: Adapt update_device_list API.
Add flag to adapt update_device_list API.

Change-Id: Ide2f2c84f651bf68a056b26c30a2818ecb4ccabc
2021-09-27 12:45:54 +05:30
qctecmdr 977f82d178 Merge "audiohal: Modifications in hal_play_test for trumpet certification" 2021-08-27 11:43:05 -07:00
Zun Qiao 9a2c1bc338 hal: Fix pulseaudio build error
Add undefined attribute to fix pulseaudio build error.

Change-Id: Ia289a7d626aff4dcd230187f8a5663b95846473b
2021-08-19 20:51:39 -07:00
Zun Qiao 2a24d7c844 audiohal: Modifications in hal_play_test for trumpet certification
- Enumerated list of trumpet parameters added.
- Dolby's proprietary codes have been moved to the
  test library for certification purposes.

Change-Id: I34a1aa429dcb8316bff4c7deb9c4b5c5987876af
2021-08-17 12:27:35 +05:30
Fei Tong c20ce93633 AHAL: enable audio hal for linux platform
Change-Id: I7de481eb7b04985f232dfe833d76e80907081bdb
Signed-off-by: Hexuan Zhu <hexuzhu@codeaurora.org>
2021-07-21 12:56:24 +08:00
Deepthi Gunturi 6167e2bce7 Initial target definition for holi
Change-Id: Ib5a043e2accbffd9219f101c1515973f81932650
2020-05-22 19:39:37 +05:30
Vignesh Kulothungan 4e64c78e06 hal: enable compilation for lahaina
Add lahaina target to android makefiles to enable compilation.

Change-Id: I5f80633d98ec915054103db206783eb2d7c0e070
2020-01-15 18:34:48 -08:00
qctecmdr 5027000e8e Merge "qahw_api: Updated fixes on qahw api's and logging" 2019-10-16 23:41:23 -07:00
qctecmdr f099596db7 Merge "qahw: Add support for voice tester" 2019-10-15 01:11:34 -07:00
Rajesha Kini c87a27b188 qahw_api: Updated fixes on qahw api's and logging
Updated to get working of stream drain, flush and minimum buffer size.
Enahanced log message for time capture.

CRs-fixed: 2450433
Change-Id: I7523808a434b74626bd1e2a44e08eb1d871b8229
2019-10-13 22:24:57 -07:00
Josh Kirsch c03f31d9e5 qahw: Add support for new stream APIs
Add support for new APIs to support voice call and
voice call features.

CRs-fixed: 2381271
Change-Id: Id3ba4417f1365018e5a26d243caea83571857f63
2019-10-09 02:39:36 -07:00
Vikram Panduranga 6ff1c956cd hal: Enable integer overflow sanitizer
Enable integer overflow sanitizer in audio HAL for kona.

Change-Id: I6aba4c636f2d467518281361259b1a7768ae34d7
2019-09-25 16:09:46 -07:00
Jhansi Konathala c1cf8f5328 qahw: Add support for voice tester
Add support for voice tester.

Change-Id: I7573ca4eb25be722f7e4b6005d86cb55d016c8c8
2019-09-05 04:23:35 -07:00
Samyak Jain 5deda9e700 hal: Fix compilation errors
Fix compilation errors for hal test apps

Change-Id: I7cc6b62a5722af8ccef58d242817970c223a5782
2019-08-13 00:05:29 -07:00
qctecmdr e9616515cf Merge "hal: Add API support to stop input stream" 2019-07-08 01:28:48 -07:00
qctecmdr 85fa627fca Merge "hal: Add QAP extention" 2019-07-06 08:41:31 -07:00
Manish Dewangan 46e079872c hal: Add API support to stop input stream
Add API support to stop input stream.
Expose in_stop in HAL via QAHW so that clients may call it
when necessary.

Change-Id: I5b1112166453371ab4d79c31fa99fb1f6b3bff3f
2019-07-03 15:32:43 +05:30
qctecmdr 007e5e9cd5 Merge "qap: test: Enable ecref path" 2019-06-28 22:49:25 -07:00
Chaithanya Krishna Bacharaju c9f9971a85 hal: Add support to capture mic and ec reference data
Add support to capture mic and ec reference data in single stream.
Add changes to update custom matrix params to configure PSPD.

Change-Id: I29f38c0d778d44217a9e0d59e4b1324f4ee81fdd
2019-06-21 09:12:53 +05:30
Meng Wang 1813fc02f7 Revert "hal: Enable integer overflow sanitizer"
This reverts commit 1719d7c0c0.
This will be re-enabled once root cause the issue for audio
regression.

Change-Id: If045a40850bd08e25dbf251dd5996f4c1c7982ef
2019-06-14 09:10:38 -07:00
Sidipotu Ashok d2f10ba3e8 hal: Add QAP extention
Add new source file in audio_extn folder

Change-Id: If62e948f74f5e9e933704b5b6e061471d3a62a38
2019-06-13 18:18:59 +05:30
Sachin Mohan Gadag c6d65076b3 qap: test: Enable ecref path
- For ec-ref path, add new device i.e audio-out-
  proxy and pass over to wrapper.
  In callback function data is written to
  ecref dump file.

Change-Id: I32b35ccf5caf708b73e213b891195db31a497a44
2019-06-13 17:54:06 +05:30
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
qctecmdr ad672adcf5 Merge "audio: add support to query presentation position from DSP" 2019-06-04 17:57:29 -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
Deeraj Soman 8494bb52fe qahw_api: Add support for RX and TX with BT SCO device
Add support for playback and capture with BT SCO device

Change-Id: Ie09bc3d2248bcca02f1dc95d2ff34aa7d35c409a
2019-05-21 12:23:25 +05:30
Weiyin Jiang 2995f669c0 hal: fix misc audio hal errors
Fix misc audio hal errors.

CRs-Fixed: 2436822
Change-Id: I078656c5a7a3a5a97c8044e716c5ca0fe8ff3ef4
2019-04-18 09:30:51 +08:00
Harsh Bansal 25e627f1e9 hal: MS12: qap test app update
- updating qap hal test app to test new features of
MS12-1.3.2
- Added Support for Main2 Testing
- Added Support for OTT sound Testing
- Added Support to send init time params to MS12

Change-Id: I7713509b1bac11c04e7af8f3447624d1727b35f3
2019-03-19 22:26:22 -07:00
Surendar Karka 809f69e677 qahw_api: increase sleep duration for 5sec to optimize power
- Close socket fd to fix test app hang issue and increase the poll
  time from 5msec to forever.
- Increase the sleep duration to 5sec to optimize power.

Change-Id: Ia3ce0121547d65617b52496b7cb6e37ef05c6ce3
2019-02-20 21:41:48 -08:00
Surendar Karka 2febd45858 Merge commit 'd34f05cb6e67e28a4955332173950466edf0be3e' into audio-hal.lnx.5.1
Change-Id: I4656a1a78c2b1d4b4834b2fd538699f96e2aa90e
2018-12-13 17:57:12 +05:30
Linux Build Service Account 1512cf1bfc Merge "qahw_api: fix compilation error" 2018-12-12 07:42:02 -08:00
Josh Kirsch 998f62573b qahw_api: fix compilation error
Fix compilation error on
sdxprairie.

Change-Id: I99e5bacf1fba158b2400e1517b26b85d0545467b
2018-11-27 16:41:36 -08:00
Surendar Karka e1dc8749e3 audio: add linein to BT headset loopback support
- Add AUDIO_DEVICE_OUT_BLUETOOTH_A2DP as the sink
  device to support linein to BT headset loopback.
- set device_connect parameter in transcode loopback
  test app to load A2DP source IPC library.

Change-Id: Ib52fdf9aa966f50834ffa34884f5fa76053df15e
2018-11-23 01:23:33 -08:00
Surendar Karka 25b584c1b7 audio: add linein to BT headset loopback support
- Add AUDIO_DEVICE_OUT_BLUETOOTH_A2DP as the sink
  device to support linein to BT headset loopback.
- set device_connect parameter in transcode loopback
  test app to load A2DP source IPC library.

Change-Id: Ib52fdf9aa966f50834ffa34884f5fa76053df15e
2018-11-19 16:40:00 +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
Linux Build Service Account 6e749d0b75 Merge "hal: Add new parameter in SA+ effects and resolve compilation issue" into audio-hal.lnx.5.1 2018-11-06 01:40:54 -08:00
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
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
Linux Build Service Account 32d50419a1 Merge "hal: add support for configuring render window" 2018-10-22 20:27:57 -07:00
Linux Build Service Account b8c55cefb1 Merge "hal: Add new parameter in SA+ effects and resolve compilation issue" 2018-10-15 08:15:56 -07:00
Naresh Tanniru cb5b578917 Merge e1f65e84d3 on remote branch
Change-Id: I5cb17e69a3b1e4fa78b7a130cbabc8bc7b11932b
2018-10-15 17:00:56 +05:30
Trinath Thammishetty eafc4aad03 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-15 14:21:37 +05:30
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
Dieter Luecking b9c5999543 hal: qahw_test: Printout channel mask
For multichannel playback the corresponding channel mask is
printed in order to check for any mismatch.

Change-Id: I2cec1cc409d5044d05de7a6a5623a263573b331d
2018-10-10 23:17:10 -07:00
Ramu Gottipati e1f65e84d3 qahw_api: Fix for measure KPI latency values test app issue
- To measure KPI latency values, second fclose of fd_latency_node
  in test app causing segmentation fault.
- To fix this, remove double fclose for fd_latency_node.

Change-Id: I2b19d9f18eff7a63074aa01092afb06064f6723b
2018-10-05 02:00:50 -07:00
Jhansi Konathala 902fc41b69 hal: fix null pointer references and data initialization errors
- add null pointer check and initialize uninitialized variables

CRs-Fixed: 2312146
Change-Id: I5f260b327492e1373ed143dd8dcf243154fd7818
2018-09-27 00:46:37 -07:00