Commit Graph

4584 Commits

Author SHA1 Message Date
Srinu Jella da99a59805 Bluetooth: Load BT host ipc lib based on build
- Changes made to load the BT host IPC library
  based on build type.

- Due to common vendor image, QTI build's IPC
  library got renamed.

CRs-Fixed: 2373792
Change-Id: I2fcc5da9600a0a4b65f70603835a16913aeb0562
2019-02-01 16:28:57 -08:00
Samyak Jain b3f3ca5f82 hal: Add separate backend for headset-mic
Add separate backend for headset-mic
for concurrent record usecase.

Change-Id: Iba26751eb51c00a62016a47e0d3c726b155cf169
2019-02-01 03:21:30 -08:00
Samyak Jain 118314e721 config: Add separate backend for headset-mic
Add separate backend for headset-mic for
concurrent record usecase.

Change-Id: I73a374f791a0646fcbd02b1a889fe7f5c5aafe42
2019-02-01 03:20:49 -08:00
Linux Build Service Account e859bba755 Merge changes I0b570bb8,If0f82077 into audio-hal.lnx.6.0
* changes:
  hal: Add support for two concurrent record sessions.
  config: Add support for two concurrent record sessions.
2019-02-01 03:10:18 -08:00
Samyak Jain 15fda66019 hal: Add support for two concurrent record sessions.
Add support to fallback to compress record path for second
record session during concurrent recording.

Change-Id: I0b570bb8a15fa6b07210e643b63ce65d8d95616a
2019-02-01 03:01:19 -08:00
Samyak Jain 2725368d5e config: Add support for two concurrent record sessions.
Add new mixer control for compress record session
Update io policy to support more input profiles.

Change-Id: If0f820771e3d32eb4b1b264fd798ce0d26207e9f
2019-02-01 03:00:30 -08:00
Samyak Jain c5fe5426fa config: Enable concurrent record
Enable compress input flag and introduce
a new flag to enable concurrent record.

Change-Id: I2700aff2fb776eb56d127a5536bcb81d066cfad4
2019-02-01 00:23:18 -08:00
Naresh Tanniru 5beb813035 QMAA: Add support for HAL module disable
- Disable audio HAL modules compilation
  based on QMAA flag

Change-Id: I3ec8c82bfcf699a3bbf5e7133480a4bda1240a5a
2019-01-31 23:18:14 -08:00
Meng Wang ef2f6e180b hal: add audio support for kona
Add audio support for kona.

Change-Id: Ib1eb05209ce3220e00fa15cddc5338b3f62871f9
2019-01-31 23:14:42 -08:00
Weiyin Jiang 34c3c23778 config: enable AHAL extension feature
Enable AHAL extension feature.

Change-Id: I2e99584a93cf316ad8745fc4b7784cf8faaef024
2019-01-31 22:50:09 -08:00
Weiyin Jiang e6ce631fc8 hal: add AHAL hidl registration entry
Add AHAL hidl registration entry, and register AHAL extension service
from adev_open().

Change-Id: Idce42ba6da97a26fde6c88d23b7be71b886e376f
2019-01-31 22:47:48 -08:00
Linux Build Service Account 14ecbad6c9 Merge "audio: add audio configs xml" into audio-hal.lnx.6.0 2019-01-31 22:35:19 -08:00
Weiyin Jiang b4928136db audio: add audio configs xml
Add audio configs xml.

Change-Id: I9e128cf0d3c19b130ef825017989c1fddfb7febb
2019-01-31 19:35:06 -08:00
Aniket Kumar Lata 808e8d62c1 hal: Add support for audio feature manager
Fetch feature flags from audio config store.
Provide an interface for audio_extn, platform
and hal code to check if a feature is enabled
or disabled at runtime.

Change-Id: I35d873c787258aee75481de343fcbcbc51cb9e91
2019-01-31 18:03:28 -08:00
Arun Mirpuri b1bec9c80b hal: enable dynamic audio HAL feature extensions
Move audio and voice extension feature to seperate
dynamic libraries. Loading these libraries will be
controlled from config store based on target. These
flags can be changed at runtime

Change-Id: I042450768243124ea80945efac0821984f96b9bf
2019-01-30 17:36:06 -08:00
Aalique Grahame 5ce7fbe767 audio: update feature files
Update the source files for ma_listener, cirrus_playback and
maxxaudio to latest versions.

CRs-Fixed: 2388992
Change-Id: I62eecf0356ee942d085ee94b848225a91704e688
2019-01-29 10:55:55 -08:00
David Lin edac635451 HAL: CS35L36: Add support for speaker protection
This patch adds the audio HAL extension hook for supporting per-device
speaker calibration file loading as well as enabling hostless pcm stream
needed for the ADSP to obtain I/V/VP feedback from the CS35L36 boosted
amplifier codec.

Bug: 69005593
Test: Run cirrus_sp_status test tool on B1 P1.1
Change-Id: I511818fee7d15327619fec6d17b8fe55d54f1866
Signed-off-by: David Lin <dtwlin@google.com>
(cherry picked from commit 84e262b0a5ac2703bd35f766c62fb0017039dbe1)
2019-01-29 02:52:17 -08:00
jasmine cha 75fa6f02fb audio: porting MAXXAUDIO
- use effect module to monitor stream's volume
  - the control(maxxaudio) monitors active device and
    changed volume from HAL, and send audio calibration
    to acdb via acdb_loader.
  - support specific USB headset

  Enabled function:
  - LR channels swap
  - load external tuning table for volume preset feature

Bug: 74360112
Test: manual effect test, usb headset test
Change-Id: I9b35436d6abebcfa250beb4857dfa0be9248f2b5
(cherry picked from commit 270b7762c1c6c7b69400ba28a2ea2bed7af1906a)
2019-01-28 14:13:21 -08:00
Meng Wang 9bdd2d373d hal: remove LOCAL_ADDITIONAL_DEPENDENCIES from makefile
LOCAL_ADDITIONAL_DEPENDENCIES must only contain paths and
should not be dependent on module names. And it should have been
taken care of with the dependency added on the new UAPI headers.

Change-Id: I3aea0282b26d072de85e25d1435862f94d19ca16
2019-01-27 23:24:50 -08:00
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 0870b7f026 Merge "configs: unify configs" into audio-hal.lnx.6.0 2019-01-24 23:17:36 -08:00
Aalique Grahame 57058a6c2f configs: unify configs
Unify audio configuration files

CRs-Fixed: 2380934
Change-Id: Id88d0940fd0d720d55cb1ae67098fdedcc0d6935
2019-01-18 16:38:26 -08:00
vivek mehta a24d1adab7 hal: fix hal compilation from new location
fix in change in location issue

Change-Id: I2f660ca177722b00a00be8b7b3a2f49fab0702e0
2019-01-15 22:38:01 -08:00
Meng Wang c688a065e0 hal: add new property for GCS
Add new property to disable GCS for kona.

Change-Id: I72d6f8b334998e32dcfd7922905a12848eb7b035
2019-01-10 09:37:46 +08:00
Linux Build Service Account c63f865fd8 Merge "hal: Add volume control for ULL playback" 2019-01-08 23:21:13 -08:00
Linux Build Service Account b52ea0c6a9 Merge "hal: Restore fm volume whenever enable fm usecase" 2019-01-08 23:21:10 -08:00
Linux Build Service Account 81c0fa12c2 Merge "hal: Update bt hfp cal input device selection for LINE_OUT" 2019-01-08 23:21:08 -08:00
Linux Build Service Account e91b251694 Merge "sdm670: configs: Remove sdm670 configs" 2019-01-07 07:26:53 -08:00
Meng Wang b5ea195d36 hal: remove extra path to resolve compile failure for kona
Remove extra path to resolve compile failure for kona.

Change-Id: I6e0edc1733722e66348c45877cdc4be23f7a86e2
2019-01-07 13:01:01 +08:00
Sachin Mohan Gadag 5fecf1f4a0 sdm670: configs: Remove sdm670 configs
- Remove sdm670 configs as sdm710 configs are being used.

Change-Id: I71e7b0b6a636a3537baedde7243f92974448037e
2019-01-04 13:09:35 +05:30
Linux Build Service Account 5da55b2a29 Merge "hal: Fix build error for battery listner module" 2019-01-03 08:17:53 -08:00
Linux Build Service Account 6303662927 Merge "hal: add support for FFV get params" 2019-01-03 03:28:32 -08:00
Linux Build Service Account 465605630d Merge "fm: Add getparameter to check FM status" 2019-01-02 23:13:10 -08:00
Naresh Tanniru 9fd59a8074 hal: Fix build error for battery listner module
- Build error is observed with -Wimplicit-fallthrough
  compile time flag enabled

- Add explicit fallthrough in switch statement

Change-Id: Icea383983e689fcbf5579a5d8de1cc0fa65f610f
2019-01-02 06:52:50 -08:00
Linux Build Service Account efcf1451ab Merge "configs: support 4 ch EC-ref for FFV" 2019-01-02 02:49:24 -08:00
Linux Build Service Account 3aa2473fc2 Merge "audio: Fix APTX Adaptive latency value." 2019-01-01 23:12:04 -08:00
Preetam Singh Ranawat 3fcfa268fc fm: Add getparameter to check FM status
-FM audio is not working after FM app is killed and
  launched back.
 -add getparamter to let app know FM status and start/stop it.

Change-Id: I295fad5baee838f32d741cdfe874576d55b66957
2019-01-01 22:55:28 -08:00
Linux Build Service Account b07bdea0fa Merge "hal: post_proc: make definition of instance id independent" 2018-12-31 04:51:54 -08:00
Linux Build Service Account 2bdf1fa518 Merge "hal: reset adm of ull when routing restored by voip call" 2018-12-31 03:44:32 -08:00
Linux Build Service Account 1fa2973862 Merge "hal: add audio specific config files for kona" 2018-12-31 03:44:29 -08:00
Linux Build Service Account fed27e05e3 Merge "hal: Add hdmi-arc support in transcode loopback usecase" 2018-12-31 02:36:44 -08:00
Sidipotu Ashok aa4fa6a614 hal: add support for FFV get params
-Audio HAL to support FFV get_paramters via sound trigger
callback.

-FFV needs clients to pass down the SM handle info to get a few
paramerters with respect to the given SM handle but standard
get_parameters doesn't support kvpairs for input keys, it does
support for return of kvpairs, add support for a new delimiter
which will be used while sending keys in get_parameter.

-Enable Keep alive for Red Dragon

-Adjust volume gains based on the systems team tuned values

Change-Id: I96c7214b4a084568862e3550eaabbb9d51e253d9
2018-12-28 15:20:28 +05:30
Ramu Gottipati 3654709c63 hal: Add volume control for ULL playback
- LE needs volume control support for ULL playback.

Change-Id: Id8548675eb4425f210bfe7f98284e3f185dfb605
2018-12-28 11:39:22 +05:30
Vignesh Kulothungan 9f86d7ad62 hal: post_proc: make definition of instance id independent
Definition of instance id is misplaced inside definition of
hardware accelerated effects in makefile. Moving definition of
instance id outside to break the dependency. When instance id
flag is disabled, it causes acdb_audio_cal_cfg_t structure size
mismatch between HAL and ACDB loader.

CRs-Fixed: 2315791
Change-Id: Iedb50b10f03193c67494cdfc30223f1bd93a8c90
2018-12-26 20:03:42 -08:00
Ramu Gottipati 97a89a4836 hal: Update bt hfp cal input device selection for LINE_OUT
- For BT HFP call, default input selection device is
  SND_DEVICE_IN_HANDSET_MIC.
- Due to this, observing echo at far end for lineout.
- To fix this, updated input device as SND_DEVICE_IN_VOICE_SPEAKER_MIC
  for lineout device.

Change-Id: I68bc6356887890b881dfcc0676bd14780418dbee
2018-12-26 01:35:24 -08:00
Meng Wang 595b3d051e hal: add audio specific config files for kona
Create a new folder and add audio specific config files for kona.

Change-Id: Iaf9281fe3c93586cb358421d6190bde632a165bc
2018-12-26 15:07:42 +08:00
Linux Build Service Account 0337652dde Merge "QMAA: Add support for HAL module disable" 2018-12-25 21:15:01 -08:00
Deeraj Soman 4f9158588d hal: Add hdmi-arc support in transcode loopback usecase
Add support for HDMI-ARC source for transcode loopback
usecase.

Change-Id: Ie61a782f53483b63804a543b7d09ca84a2c4f9ff
2018-12-25 21:12:25 -08:00
Weiyin Jiang ea88d7a7fd hal: reset adm of ull when routing restored by voip call
When restoring realtime stream from compress voip call, adm still needs
to be updated.

Change-Id: I0c160a86f7271c42e5ebe899fd5970110093e522
CRs-Fixed: 2365346
2018-12-23 21:18:35 -08:00
Linux Build Service Account c510b19fd4 Merge "configs: enable compander for sm6150 qrd" 2018-12-23 21:00:34 -08:00