Commit Graph

5748 Commits

Author SHA1 Message Date
Jaideep Sharma 5f172f27ff configs : enable audio qssi compliance
Change-Id: I0ee527f26b7c1e8f9a961a9ccf5171409ce946ed
2020-02-16 21:47:18 -08:00
qctecmdr 2e64f5144c Merge "hal: init hw info for lahaina" 2020-02-13 02:45:40 -08:00
qctecmdr c560fa92c4 Merge "audio: 8916 & 8974 platform convergence" 2020-02-13 02:45:40 -08:00
qctecmdr 268ef7a7ea Merge "configs: Update backend_tag_table for speaker-safe-and-headphones" 2020-02-13 02:45:40 -08:00
qctecmdr fd2765fd25 Merge "configs: Add hearing aid configs" 2020-02-11 23:34:15 -08:00
qctecmdr 729c1d14cc Merge "hal: Clean up legacy FM TX out device" 2020-02-11 23:34:15 -08:00
qctecmdr 0a871ce674 Merge "config: Add platform info config for msmnile QRD" 2020-02-11 23:34:14 -08:00
Aalique Grahame 03b184e107 hal: init hw info for lahaina
Add case for lahaina target when initializing hw info

CRs-Fixed: 2619253
Change-Id: I634049ff1fce9973846fe2d19dae9c973e8cfaee
2020-02-11 09:50:28 -08:00
Sujin Panicker ad8384626d configs: Update backend_tag_table for speaker-safe-and-headphones
Add speaker-safe-and-headphones combo to the backend_tag_table
to enable combo usecases for pixel.

Change-Id: Id0c9a3d64615b74e068b0c5fabbde7a612c9186a
2020-02-11 14:34:35 +05:30
Sujin Panicker d53dd1bddf audio: 8916 & 8974 platform convergence
Platform convergence specific to msm8937,
and msm8953

Change-Id: Iad9e3b53b7b2f78d3bf8b0ff9d937f3d053b8f62
(cherry picked from commit e6e19e6e26562f14fb97fb0b8ddc05483ad59b21)
2020-02-10 01:26:58 -08:00
qctecmdr 0dd5924d75 Merge "hal: configs: enable QMAA for audio" 2020-02-06 22:01:17 -08:00
qctecmdr 73b3e4099d Merge "msmnile : disable audio property" 2020-02-06 22:01:17 -08:00
Ramjee Singh f72258c13d config: Add platform info config for msmnile QRD
Change-Id: I9416f479236cfb19b44448b1f80edb141c251192
2020-02-06 12:06:31 +05:30
Aniket Kumar Lata 544846d837 hal: Clean up legacy FM TX out device
FM TX out device defined in HAL conflicts with hearing
aid output device defined in audio-base.h. Clean up FM
device as it is no longer needed.

Change-Id: Ibe2923272a69d24c3a1e44a045a590d185493caf
2020-02-04 23:25:01 -08:00
Aniket Kumar Lata 7c0f1b5c99 configs: Add hearing aid configs
Add hearing aid configs in HAL.

Change-Id: I8e31ce787e55aef8a1927e4304aad78d6c6cf207
2020-02-04 23:17:50 -08:00
George Gao 96627e55ea hal: configs: enable QMAA for audio
Enable QMAA in audio by adding a default product make file.

Change-Id: I6e65237a7dcf9e418db04376e4a0f5481ea4ad02
2020-02-04 17:22:51 -08:00
qctecmdr 31f7b89970 Merge "configs: lahaina: update mixer controls" 2020-01-31 06:22:33 -08:00
qctecmdr 0d12d785cb Merge "hal: use omx core headers as a header library" 2020-01-31 06:22:33 -08:00
qctecmdr 88924bbe40 Merge "hal: update GKI flag" 2020-01-30 04:42:47 -08:00
qctecmdr 91f95db294 Merge "hal: Fix device list initializations and comparisons" 2020-01-30 04:42:46 -08:00
qctecmdr b689145225 Merge "configs: lahaina: remove driver modules compilation from HAL" 2020-01-30 04:42:46 -08:00
Jaideep Sharma 76767b5f60 hal: use omx core headers as a header library
Change-Id: I6c1801c0b2a58fdb6cea2b354e16df3d22fdde41
2020-01-29 21:02:27 -08:00
qctecmdr ccc11969fb Merge "configs: Add audio platform info support for sm8150 qrd" 2020-01-29 20:42:42 -08:00
Vignesh Kulothungan 3464ce7e95 configs: lahaina: update mixer controls
Update mixer controls related to wsa938x and
sound wire dmic's.

Change-Id: Id429e2db03785872795b30a29757785e225441d8
2020-01-29 17:44:59 -08:00
Vignesh Kulothungan 4fa89d11a0 hal: update GKI flag
Update GKI flag as AUDIO_GKI_ENABLED.
Add GKI feature flag check for compress passthru module.
Use reserved variable for flags when GKI is enabled in
compress passthru.

Change-Id: Id6dfadb55590fbdbcebed34c2c235ad2da66a08b
2020-01-28 11:39:00 -08:00
Vignesh Kulothungan 3bea7d6cae configs: lahaina: remove driver modules compilation from HAL
Remove driver modules compilation from HAL.

Change-Id: Idf10b2b1701d1e76acabd5836bc08dbb8295002f
2020-01-28 11:38:43 -08:00
Aniket Kumar Lata 9c2fd895f1 hal: Fix device list initializations and comparisons
Update missing device list initializations.
Correct device list comparisons and assignments.

Change-Id: I19e2712972a86d7a9b1af1bd725156d2c36c3dd2
2020-01-28 08:57:16 -08:00
Murtuza Raja b40a760882 msmnile : disable audio property
disable speaker protection audio property
for pure aosp target.

Change-Id: If587ce76fb03e63971cd8d27912db83604dfa33a
2020-01-28 17:33:01 +05:30
Vignesh Kulothungan 290e65b644 Revert " "configs: enable 3D audio feature.""
This reverts commit 50cf174b3d.

CRs-Fixed: 2610831
Change-Id: I38aa4fd55866cb29e716dd08a7a56cd6eee8d87e
2020-01-27 12:19:22 -08:00
qctecmdr bd936af1eb Merge "audio: Add wired headset support to Pixel line" 2020-01-27 02:54:19 -08:00
qctecmdr 0327cddddf Merge "hal: enable compilation for lahaina" 2020-01-24 10:19:24 -08:00
qctecmdr 8a2bb255b2 Merge " "configs: enable 3D audio feature."" 2020-01-24 09:40:27 -08:00
qctecmdr da5720610a Merge "hal: Update synchronization and error handling for audio patches" 2020-01-24 09:38:58 -08:00
Sujin Panicker c0cfc6a346 audio: Add wired headset support to Pixel line
Add wired headset support to audio policy configs as
Moorea Pixel supports wired headset.

Change-Id: I85d22b8dd2a487242824187080f412af72f6fd81
2020-01-24 01:16:06 -08:00
qctecmdr 8bf3c313cb Merge "configs: Quad mic configuration from application picks up invalid (single mic) topology due to addition of fast input profile. Add dedicated profile for quad mic use case to make sure HAL selects proper topology (quad mic)." 2020-01-23 02:26:02 -08:00
qctecmdr 43ade1ee86 Merge "configs: Update the default fluence type to DMIC" 2020-01-23 02:26:02 -08:00
qctecmdr 058371dd9b Merge "hal: Remove storage of audio device on bitfields" 2020-01-23 02:26:02 -08:00
qctecmdr 3aae2dc0c2 Merge "visualizer: fix sub-overflow" 2020-01-23 02:26:02 -08:00
Aniket Kumar Lata bc7748481d hal: Update synchronization and error handling for audio patches
Since we are storing patch info and stream info
pointers and not copies, it is possible to change
the pointer value once adev lock is released.
Remove individual locks for patch and stream info
and instead use adev lock to control access.
Also, update error handling for audio patches.

Change-Id: I4538c37f2235cfcbbdb75232307ba3f5af2a324a
2020-01-21 07:43:53 -08:00
Aniket Kumar Lata 0e6e1e5e30 hal: Remove storage of audio device on bitfields
Audio devices were stored in HAL on variables with
type audio_devices_t. This change removes the storage
of multiple devices on a bitfield. Device comparisons,
assigments, removal have been updated. Helper functions
have been introduced for device operations.

Change-Id: I9ce8b0f9bdc542c386cbfe45b685158cc51d47b6
2020-01-21 07:30:16 -08:00
Fawad Shaukat 1664718b5d configs: Quad mic configuration from application picks up invalid
(single mic) topology due to addition of fast input profile.
         Add dedicated profile for quad mic use case to make sure HAL
         selects proper topology (quad mic).

-Added profile for kona
-Added profile for lito

Change-Id: I528ca43895e364cdfad39f9fd6b61b3e8fac3ffa
2020-01-19 23:01:43 -08:00
Mingshu Pang 3c694b4978 visualizer: fix sub-overflow
Fix visualizer crash due to sub-overflow.

CRs-Fixed: 2593280
Change-Id: Id695dcadc6e5a4d333ddaabe7834db42ca52ed75
2020-01-19 17:44:54 +08:00
Meng Wang 4c32fb4f5b hal: enable support for GKI
With introduction of GKI from kernel 5.4, audio hal
needs to support both GKI and non-GKI kernel builds.
Add an audio feature flag which enables support for GKI.

CRs-Fixed: 2605183
Change-Id: I2d7c68d0006940f6f6939649dae0816456f6f902
2020-01-17 14:38:31 -08:00
Weiyin Jiang acf12bbba2 visualizer: fix sub-overflow
Fix visualizer crash due to sub-overflow.

CRs-Fixed: 2571235
Change-Id: I37dc0ac9b0011243f8f4ce11141869228fb858a4
2020-01-17 04:27:50 -08:00
Lakshman Chaluvaraju b2c8df6379 configs: Add audio platform info support for sm8150 qrd
- Add sm8150 qrd audio platform config support.
- Add Changes to pick acdb id for mono speaker for playbck
  on QRD.

Change-Id: If152ede53cec17790f80f536bec86ddf657c9cb2
2020-01-17 13:08:39 +05:30
Jaideep Sharma 50cf174b3d "configs: enable 3D audio feature."
This reverts commit dc6c1e44a2.

Change-Id: I421f8f69468e4ed2f038471877ad8f6ccf119ceb
2020-01-16 22:29:13 -08:00
Faiz Nabi Kuchay 99b872a65d configs: Update the default fluence type to DMIC
Update the default fluence type to DMIC and
configure the input and output
channels accordingly for ABF feature.

Change-Id: I184580687d96cce4cab14d23df138af266d311eb
Signed-off-by: Faiz Nabi Kuchay <fkuchay@codeaurora.org>
2020-01-16 06:44:49 -08:00
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 24bb646a30 Merge "hal: Add support for audio patches in HAL" 2020-01-14 05:26:55 -08:00
qctecmdr fbf340d8ab Merge "audio: update uapi header location" 2020-01-14 05:23:51 -08:00