Commit Graph

4873 Commits

Author SHA1 Message Date
qctecmdr 94c7597422 Merge "configs: add backend names for sub band devices" 2019-05-03 16:30:43 -07:00
qctecmdr d62f0d8ad9 Merge "configs: lito: Add platform_lpi_enable flag" 2019-05-03 16:30:43 -07:00
qctecmdr 10eb55ef08 Merge "configs: lito: Add in_channels_lpi param to lsm_usecase" 2019-05-03 16:30:43 -07:00
qctecmdr 5c3c007816 Merge "configs: lito: use the correct DMIC for SVA tmic and qmic setups" 2019-05-03 16:30:43 -07:00
qctecmdr d3db60acd0 Merge "hal: Initial target definition for atoll" 2019-05-03 16:30:43 -07:00
qctecmdr 198adc001c Merge "HAL: Fix compress record" 2019-05-02 02:03:33 -07:00
qctecmdr 69afc35492 Merge "hal: Add support for lito soundcard" 2019-05-02 02:03:33 -07:00
qctecmdr 07f7540ae2 Merge "hal: Update VOIP playback/record usecase handling" 2019-05-02 02:03:33 -07:00
qctecmdr 787d09575c Merge "configs: rename vendor properties" 2019-05-02 02:03:33 -07:00
Vatsal Bucha 2dcfd4117b configs: lito: Add in_channels_lpi param to lsm_usecase
LPI mode can only support a max of 3 channel FFNS. In order to
accommodote this without restricting the non-LPI usecases, this
change adds the in_channels_lpi param.

Change-Id: I03a57bba29b49ed96cc617d36fefd230f132ab4b
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-02 00:01:32 -07:00
Vatsal Bucha be13321820 configs: lito: Add platform_lpi_enable flag
On lito, it is assumed that all sessions will have the same setting
for LPI enablement. So this flag will move from each individual
sound_model_config to the common_config.

Change-Id: Iee1366513154ffa78894be2c8d40b06f712c71ff
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-02 00:00:36 -07:00
Vignesh Kulothungan 5472290027 configs: add backend names for sub band devices
Add hw interface table overrides for sub band devices.
Fix RTC issue which fails to display sub band devices.

CRs-Fixed: 2406603
Change-Id: I6db266577b701cfd53bc1f5ee3792cf47c225235
2019-05-01 12:07:43 -07:00
qctecmdr 04cca933de Merge "hal: Dolby trumpet security changes" 2019-05-01 01:44:43 -07:00
qctecmdr a49f94ae61 Merge "hal: Convert maxxaudio feature to runtime library" 2019-05-01 01:29:06 -07:00
qctecmdr b28b1df95b Merge "hal: Fix format check in platform_check_capture_codec_backend_cfg" 2019-05-01 01:29:06 -07:00
qctecmdr c0fe4c1404 Merge "hal: add support for SWB codec for BT SCO device" 2019-05-01 01:29:06 -07:00
qctecmdr 31a053a5c5 Merge "hal: use correct platform info for sdmmagpie qrd device" 2019-05-01 01:29:06 -07:00
Vatsal Bucha 764aa3d054 configs: lito: use the correct DMIC for SVA tmic and qmic setups
Update the sound trigger mixer paths to use the correct DMIC number
"DMIC4" for SVA tmic and qmic use cases.

Change-Id: Ie1ed6b41263fc0293a298357902f08714d0306fc
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-04-30 22:43:34 -07:00
Vatsal Bucha 5418eae0e0 configs: lito: use only the available decimator paths
Update capture path decimator paths to not exceed the
number of decimator paths available.

Change-Id: Id2a6470d5803646ff97b6fc490a90df534cf1472
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-04-30 22:43:19 -07:00
Vatsal Bucha 3b2938cbec configs: lito: Update pcm_ids for btfm and spkr calibration
Update pcm_ids based on dailinks added in machine driver.

Change-Id: I2d5743f882bb555eb6412ac76f4d105238435a86
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-04-30 22:42:48 -07:00
Aniket Kumar Lata 23d8cbf1ae hal: Update VOIP playback/record usecase handling
Existing handling for VOIP playback checks for flags
DIRECT|VOIP_RX to set up VOIP usecase. This handling
needs to be updated to consider client opening
stream with VOIP_RX only.
On input stream open, selected channel count and sample
rate need to be updated in hidl stream ptr.

Change-Id: I676d3e5a34f32b8996c95ddaf5db01725b225b58
2019-04-30 10:37:54 -07:00
Vatsal Bucha 6339b09ae5 hal: Add support for lito soundcard
Add soundcard support for multiple variants
of lito target.

Change-Id: I0049c7886a46314bb9bac6f9a4c8bf3b7a4153dd
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-04-30 00:34:08 -07:00
Weiyin Jiang b21ff8c887 configs: rename vendor properties
Rename vendor properties to be accessible by system.

CRs-Fixed: 2443266
Change-Id: Ib5bb5ebabb1b16332d747ce273f0b5be373b603d
2019-04-30 00:26:36 -07:00
Samyak Jain c37062fc7e HAL: Fix compress record
cin_configure_input_stream not getting called
for compress use case due to code movement

call cin_configure_input_stream for compress use case,
reset pcm_record_uc_state on error open

Change-Id: I10fe3d38b179ac8d56baa4676c5f42451daef3b4
2019-04-28 22:02:54 -07:00
kunleiz 3ae92e597c hal: use correct platform info for sdmmagpie qrd device
In sdmmagpie qrd device, wrong platform info and stereo
speaker setting are configured.

Fix it by adding sound card check to use correct platform
info and stereo speaker setting for sdmmagpie qrd device.

Change-Id: I14b1e287dac9cfc8533d3bf8fac3b0328cd38cf5
2019-04-28 17:13:11 +08:00
qctecmdr 9178f16874 Merge "audio: Add qssi removed entries for individual targets." 2019-04-28 00:21:31 -07:00
qctecmdr 23d45c8d15 Merge "configs: kona: modify dmic selection and update codec gain" 2019-04-27 21:54:32 -07:00
qctecmdr 40a24cec3a Merge "configs: kona: update the DMIC order and selection for SVA use cases" 2019-04-27 19:07:32 -07:00
qctecmdr cfc11948e2 Merge "audio: hal: do not convert zoom value in audio hal" 2019-04-27 17:44:28 -07:00
qctecmdr ef735d6335 Merge "audio: hal: support audio zoom interface for qdsp" 2019-04-27 16:01:40 -07:00
qctecmdr f958e4bdc5 Merge "audio: use SinkMetaData to route voice call with hearing aid." 2019-04-27 14:38:48 -07:00
qctecmdr 3170265466 Merge "hal: Add Mic Direction API" 2019-04-27 11:27:44 -07:00
Arun Mirpuri d750ac513c hal: Convert maxxaudio feature to runtime library
Add changes to convert compile time macro for maxxaudio to
dynamic feature enable controlled by config store. Default value
is true for stock framework and false for vendor enhanced fwks.

Change-Id: I2732dd6beec7193a1847148224d44205819a3004
2019-04-26 16:25:01 -07:00
qctecmdr 46ed49b436 Merge "configs: kona: add support for bt-sco-swb" 2019-04-26 03:20:31 -07:00
qctecmdr 0bd32d0a0f Merge "hal: Add lito target for audio_extn libs" 2019-04-26 03:19:38 -07:00
qctecmdr 23f8b677bb Merge "audio: enable vraudio on kona and msmnile" 2019-04-26 03:18:31 -07:00
Manisha Agarwal af4cc5eeb4 audio: Add qssi removed entries for individual targets.
Add entries of audio-kernel libs and properties removed from
qssi to individual target makefile.

Change-Id: If8a49bcf386ca8ce2a22da2e2d9991d2e0056d67
2019-04-26 15:09:38 +05:30
Deepthi Gunturi 81a7f80788 hal: Initial target definition for atoll
Add baseline config files for atoll target.

Change-Id: Idd31800e6ef4a09459fb3148b776222807eef004
2019-04-26 12:57:59 +05:30
Gangadhar S b02103418c hal: Dolby trumpet security changes
- ip-handler interface audio extension module changes to
  handle ADSP trumpet  security mechanism.
- Send the library ion fd to driver to assign the corresponding
  memory to DSP for decryption of the decoder library.
- adsp handler changes to handle COPP events from ADSP

Change-Id: I4e7628111bd482faa98c6d3ba9453d22c9dad755
2019-04-25 17:17:33 +05:30
Zhou Song 12c2950469 hal: add support for SWB codec for BT SCO device
Configure the codec of BT SCO device as SWB when sink
device supports this profile.

Change-Id: I68402d0f7040871f1d44a97ec14444456616dbc7
2019-04-25 10:32:34 +08:00
Xiaoyu Ye 6514f441e0 configs: kona: update the DMIC order and selection for SVA use cases
Update the sound trigger mixer paths to use the correct DMIC order
and selection for SVA mono mic, dmic, tmic and qmic use cases.

Change-Id: I05b762cf316f60c97791af68cb602c71045dd424
2019-04-24 19:32:29 -07:00
Vikram Panduranga 83444e7766 configs: kona: modify dmic selection and update codec gain
Based on the mic preference needed for Fluence
performance, dmic selection has been modified.
Increased the codec gain on Tx path for DEC0 to DEC3 and
offset the gain for headset mic.

Change-Id: Ide8ba9509d7a9a30ae8600c7456ce0888e059c86
2019-04-24 18:12:59 -07:00
justinweng 81bca28b73 audio: hal: do not convert zoom value in audio hal
Do not convert zoom float value to int in audio hal

Bug: 125191693
Test: set parameters successfully
Change-Id: Idcc0944fac882a0204fe2ac7f9210a6524c61a44
(cherry picked from commit 1a32f5e7f2deef611cb8566f9069589a62396fba)
2019-04-24 10:58:56 -07:00
qctecmdr c80b2ffa81 Merge "hal: optimize switch from combo to solo device" 2019-04-23 06:23:17 -07:00
qctecmdr 43209df18b Merge "hal: suppress redundant warning messages" 2019-04-23 06:21:56 -07:00
qctecmdr e40fb96855 Merge "hal: fix misc audio hal errors" 2019-04-23 06:20:14 -07:00
Weiyin Jiang 2afc62046c audio: enable vraudio on kona and msmnile
Enable vraudio on kona and msmnile.

Change-Id: Ib186a43aba7bc6ea0570ae71f50e1fcbd96e8146
2019-04-22 17:00:36 +08:00
Arun Mirpuri 3b5fcfbf5e hal: Fix format check in platform_check_capture_codec_backend_cfg
Fix format check to compare complete format (main and sub format)
when deciding whether to switch capture codec backend

Change-Id: Iefe31bc7338ed2e7ba828cfa2205d408dac582d6
2019-04-21 22:44:05 -07:00
qctecmdr 99c855a6b9 Merge "configs: Add support for sub band devices" 2019-04-21 18:45:22 -07:00
qctecmdr 3ee8e580af Merge "configs: Copy stock audio configs to target" 2019-04-21 18:45:22 -07:00