Commit Graph

5051 Commits

Author SHA1 Message Date
Revathi Uddaraju 5f02e2046a configs: Add sound trigger implementer version
Add sound trigger implementer version. Set the version to 1.0
with the value 0x0100.
This is to add SVA3.0 support from STHAL so that the client app can
make use of this version info to get to know of platform SVA3.0 support.

Change-Id: Ib2d08d36e878adc09c31948483f155a97be30b6e
2019-06-07 05:31:22 -07:00
Quinn Male ea3e77196a configs: kona: Remove comment containing prohibited word
Change-Id: I269d5a6feb30e903e0c62cdc68e053c19954215c
2019-06-06 11:07:48 -07:00
qctecmdr ad672adcf5 Merge "audio: add support to query presentation position from DSP" 2019-06-04 17:57:29 -07:00
qctecmdr 24b9cd7f3f Merge "hal: Standby low-latency i/p stream with routing updates" 2019-06-04 17:54:09 -07:00
qctecmdr 4cf8b09d27 Merge "configs: Use AOSP implementation for sw effects" 2019-06-04 17:52:26 -07:00
qctecmdr aa893537c7 Merge "configs: enable feature flags" 2019-06-04 17:49:20 -07:00
qctecmdr 299b41f028 Merge "hal: fix in_call flag is not reset after voice call stop" 2019-06-03 02:12:11 -07:00
qctecmdr 9cc4fd1e38 Merge "configs: lito: Replace tert mi2s tx with slim 8 tx for lito" 2019-06-03 01:21:50 -07:00
qctecmdr 885560c896 Merge "hal: enable incall stereo capture" 2019-06-03 01:19:59 -07:00
qctecmdr 203d3db1f7 Merge "configs: disable concurrent capture" 2019-06-03 01:15:45 -07:00
qctecmdr d7c7c188e7 Merge "configs: msmnile: update gain control for headset-mic" 2019-06-03 01:12:55 -07:00
qctecmdr 2524a7a410 Merge "audio hal: fix assertion failed if mono input usb inserted" 2019-06-03 01:09:50 -07:00
qctecmdr cc0c7b85ca Merge "qahw_api: Add support for RX and TX with BT SCO device" 2019-06-03 01:08:03 -07:00
qctecmdr 63366d8c4d Merge "configs: kona: Add flag to compile opensource sthal" 2019-06-03 01:05:55 -07:00
qctecmdr 638dde04e0 Merge "audio hal: report index channel masks for USB" 2019-06-03 01:03:50 -07:00
qctecmdr 887985f5fc Merge "configs: Add speaker-safe mixer paths" 2019-06-03 01:02:01 -07:00
qctecmdr 955a6a09d1 Merge "configs: adding volume curve table for int codec and QRD" 2019-06-03 00:58:49 -07:00
qctecmdr 96e63bcf4e Merge "config: update acdb dev id for quad mic recording" 2019-06-03 00:55:49 -07:00
Revathi Uddaraju d729870cca configs: enable feature flags
Enable feature flags for msmsteppe and trinket.

Change-Id: Ie6ba2f12a1c6d8ae64ac37305d1cf22261c757d6
2019-05-30 22:56:28 -07:00
qctecmdr e9e34949b9 Merge "hal: Fix misc audio hal issues" 2019-05-30 22:02:18 -07:00
qctecmdr 3158ee7d16 Merge "hal: configure slimbus Rx channel for APTX AD at 96KHz" 2019-05-30 22:00:08 -07:00
qctecmdr da707ea1d7 Merge "audio: Fix Audio Record issue." 2019-05-30 21:58:39 -07:00
qctecmdr 1560e39edd Merge "hal: add extention to support aptx adaptive R2" 2019-05-30 21:56:51 -07:00
qctecmdr c43b80bde6 Merge "post_proc: fix offload PBE failure in sending calibration to lpass" 2019-05-30 21:54:25 -07:00
Ramjee Singh 57157d5ce6 configs: Use AOSP implementation for sw effects
Change-Id: I46197c387c9af88e1b8c22ffcc42d4dcf16bc31f
2019-05-31 09:55:17 +05:30
Aniket Kumar Lata 60586a93ff hal: Standby low-latency i/p stream with routing updates
Standby input stream with the following scenarios:
- Input routing changes for low latency capture
- In_focus for low latency capture cannot be
acquired due to system call failure in libadm.

Change-Id: If5dc33d90b0871e2b8cf70944bba95d72dec4927
2019-05-30 11:22:31 -07:00
Weiyin Jiang 5e156bbcc4 configs: adding volume curve table for int codec and QRD
Adding volume curve table for int codec and QRD.

CRs-Fixed: 2459354
Change-Id: I35bcf1df4043e426a403954325e1b612b152647c
2019-05-30 06:32:53 -07:00
Aniket Kumar Lata f39ad7ce1d configs: Add speaker-safe mixer paths
Add mixer paths for speaker-safe device.

Change-Id: Iebd44e42407dbb291eeb2e2fccb415c104f873fa
2019-05-29 14:29:21 -07:00
Vatsal Bucha 75571d2f7d configs: lito: Replace tert mi2s tx with slim 8 tx for lito
As lito uses cherokee for btfm, replace tert mi2s tx
with slimbus 8 tx.

Change-Id: I3231305fe8dd424533220fcc09d2949da43e4532
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-29 19:06:52 +05:30
Preetam Singh Ranawat 7f875d4ed1 audio: Fix Audio Record issue.
-Audio record is not working as max supported channel count is
 not specified for lito target, default channel count 1 is used
 as supported channels.
-Define max channel count to 4.

Change-Id: I001b51d595f3fa93c3ce0b85978d5148551f5179
2019-05-29 14:02:20 +05:30
Quinn Male 8050b8032a configs: kona: Add flag to compile opensource sthal
The sound trigger hal is moving from proprietary to opensource on
kona. This flag will enable compilation of the code in the
opensource location and disable compilation of the code in the
proprietary location.

Change-Id: I527524d8055c1a2f00e33640dfbef6b09fd53c08
2019-05-28 14:03:12 -07:00
Aalique Grahame d1f9465ed3 configs: disable concurrent capture
Temporarily disable concurrent capture on Kona as all changes
are not available yet.

CRs-Fixed: 2453306
Change-Id: Idcc8e36b667f4b03abd61388fcce14d7f7480caf
2019-05-27 22:25:26 -07:00
Fawad Shaukat 92019151ed config: update acdb dev id for quad mic recording
Update ACDB device ID for Quad Mic Record
usecase to use Mic2Amb topology

Change-Id: I4ebfed6f347126e2a534f7f848ca5e3365689078
2019-05-27 20:13:48 -07:00
qctecmdr f9f4b06d78 Merge "audio: Use perf hints from audio HAL for ULL and MMAP" 2019-05-27 20:10:02 -07:00
qctecmdr e2a91cdb2d Merge "hal: remove HAL access to channel number mixer control" 2019-05-27 20:10:02 -07:00
qctecmdr 3417b2669a Merge "config: enable runtime feature flags" 2019-05-27 20:10:02 -07:00
qctecmdr 8ab911b140 Merge "audio: Add qssi removed entries for individual targets." 2019-05-27 20:10:02 -07:00
Dhananjay Kumar 754d32f82e configs: msmnile: update gain control for headset-mic
Headset mic was updated to use DEC1 instead of DEC0,
Update gain control accordingly to reduce its level
and have it set to appropriate level.
This is required to pass CTS verifier LoopBack Latency
test case on wired headset loopback dongle.

Change-Id: I8d0f3f673b8306458a0d9ed151374c5b54121e07
2019-05-28 02:15:57 +05:30
Zhou Song 7d7ca8bcac hal: configure slimbus Rx channel for APTX AD at 96KHz
Configure slimbus Rx for aptX Adaptive at 96KHz to reduce
the time to transfer the packets across the slimbus.

Change-Id: Iea3beafb5d063ac0bcbb0c76727df2eaed2606a0
2019-05-27 15:19:06 +08:00
vivek mehta d15d2bfe58 audio: Use perf hints from audio HAL for ULL and MMAP
- Use perf hints from audio HAL for ULL and MMAP
- compile audio perf statically with Audio HAL as this
  is common feature

Change-Id: I072438653965db02894719b5d1cc59a967970447
2019-05-24 16:12:28 -07:00
Mingshu Pang 1513f9712d hal: Fix misc audio hal issues
- add array index range check when accessing pcm_device_table
- handle calloc failure
- avoid null pointer dereference

CRs-Fixed: 2456514
Change-Id: I2bedf0f1015e646973acba17297267eb317949ce
2019-05-24 17:12:00 +08:00
Aalique Grahame b14dfdd0a4 hal: enable incall stereo capture
Enable incall stereo capture feature.

CRs-Fixed: 2457917
Change-Id: I23b6fc17f423d4493da58a717c397ea3c063ac3d
2019-05-23 15:38:13 -07:00
Weiyin Jiang 26c41bd8f4 post_proc: fix offload PBE failure in sending calibration to lpass
PBE values are misinterpreted when transferring from u to k via
mixer ctl interface. Config values have to be copied one by one rather
than copying through continuous memory.

CRs-Fixed: 2456844
Change-Id: Icf19d02ec1717318e80a8a3859c165eae42c000d
2019-05-23 03:31:02 -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
qctecmdr 1aee8389bb Merge "configs: kona: Support shared buffering on LPI" 2019-05-22 06:35:14 -07:00
qctecmdr b78a11be47 Merge "audio: update property naming in AHAL" 2019-05-22 06:32:17 -07:00
Xiaojun Sang 4d7b38a09e hal: remove HAL access to channel number mixer control
Channel number is hardware-specific and defined by mixer paths.
With access to channel mixer control, HAL would overwrite the
correct channel number. Disallowing HAL makes mixer paths value
take place.

Change-Id: I01de2dd5d3cb85b1b3cf8949feb1d8914ee4a298
2019-05-22 04:51:57 -07:00
Manisha Agarwal 3729b12166 audio: Add qssi removed entries for individual targets.
Add entries of audio-kernel libs and properties removed from
qssi to lito, kona and atoll targets makefile.

Change-Id: Ife3a9b29695c13ff1ee4479059f2d39f0a93ac66
2019-05-21 22:16:15 -07:00
vincenttew f51c94eb8c audio hal: fix assertion failed if mono input usb inserted
some usb input support only one channel, start the input channel
count from 1 to usb maximum channel to prevent assertion failed.
clean up extra loop on getting usb channel mask

Bug: 132040577
Test: build pass, mono input usb
Change-Id: Idcccc54c2e07b74c0580c8a8c0bf677c83aea715
Signed-off-by: vincenttew <vincenttew@google.com>
(cherry picked from commit e5de3abcdc0bf765957f929615b2008cd2b9a60c)
(cherry picked from commit 3e44f9f0a0ae9f309e05de57360ad58d053d2e29)
2019-05-21 11:54:59 -07:00
Eric Laurent 68a8711e8f audio hal: report index channel masks for USB
Report only index channel masks for USB output profiles
supporting more than two channels.

Bug: 120947396
Test: play multichannel audio over USB
Change-Id: I10f6d4751a5a17674d24fb0d074f1dd6a71a06e1
(cherry picked from commit d01f3972959d9e2c22d35d15d0f55c6d9e088694)
2019-05-21 11:54:43 -07:00