Commit Graph

4935 Commits

Author SHA1 Message Date
qctecmdr 2d88d216fb Merge "visualizer:Handle pcmopen error for WFD+visualizer" 2019-05-10 20:10:56 -07:00
qctecmdr d92a65fe2f Merge "audio: fix null pointer dereferenced issue" 2019-05-10 20:10:56 -07:00
qctecmdr 99c1fc0d8b Merge "hal: enable audio zoom feature dynamically" 2019-05-09 02:59:17 -07:00
qctecmdr f1c4627eda Merge "configs: Add support for TWSP codec on BT playback" 2019-05-09 02:57:42 -07:00
Weiyin Jiang 301dac68f0 audio: fix null pointer dereferenced issue
Fix null pointer dereferenced issue.

Change-Id: I4b7deb66192d836b9b444b13b9a5ed080272f2a7
CRs-Fixed: 2448899
2019-05-08 15:10:56 +08:00
qctecmdr 496f84ff55 Merge "audio: correct setting sequence" 2019-05-07 22:35:10 -07:00
qctecmdr 5b5fb85dc1 Merge "hal: Add msm8998 for audioextn feature compilation" 2019-05-07 22:35:10 -07:00
qctecmdr 302f8aaa9a Merge "hal: Fix platform_info_file name" 2019-05-07 22:35:10 -07:00
qctecmdr 05e5e335fd Merge "hal: Revert copyright change for maxaudio file" 2019-05-07 22:35:10 -07:00
qctecmdr 454b5fb847 Merge "audio: fix misc defects in AHAL" 2019-05-07 22:35:10 -07:00
qctecmdr 7865194a14 Merge "configs: lito: update the DMIC order and selection for SVA use cases" 2019-05-07 22:35:10 -07:00
qctecmdr 8e69c4adeb Merge "hal: Correct mixer control name for 3.5mm headphone" 2019-05-07 03:43:13 -07:00
qctecmdr a57ced5e49 Merge "audio_hw: make mixer_path obey limits of MIXER_PATH_MAX_LENGTH" 2019-05-07 03:40:01 -07:00
qctecmdr c0dade0396 Merge "Add USB input channel index masks" 2019-05-07 03:37:48 -07:00
qctecmdr 61f4432549 Merge "hal: fix for voip volume setting when select_devices()" 2019-05-07 03:35:01 -07:00
qctecmdr 4b5e38540f Merge "audio: fix potential messy offload state." 2019-05-07 03:31:34 -07:00
qctecmdr 27ed721749 Merge "audio: restrict the force route condition" 2019-05-07 03:29:56 -07:00
qctecmdr 127fbdb8e9 Merge "audio: Enhance latency and tuning in voice call with hearing aid" 2019-05-07 03:28:07 -07:00
qctecmdr 3b163569e2 Merge "Effects: set effect monitor flag to track volume" 2019-05-07 03:25:22 -07:00
qctecmdr 2cc81558c7 Merge "hal: Remove mode check on open input for Telephony Rx device" 2019-05-07 03:23:32 -07:00
qctecmdr 5b4b1278e2 Merge "audio: select camcorder snd device according to camera orientation" 2019-05-07 03:21:54 -07:00
qctecmdr a7409fdc81 Merge "audio: remove soft mute to avoid muting unexpected sound" 2019-05-07 03:20:05 -07:00
qctecmdr 0c71a3fa4a Merge "qcom/audio/hal: add offset to MMAP input time" 2019-05-07 03:16:10 -07:00
qctecmdr 7b877adb63 Merge "audio: MAXXAUDIO supports orientation" 2019-05-07 03:13:31 -07:00
qctecmdr 9b7552a7d2 Merge "qcom/audio/hal: add offset to MMAP output time" 2019-05-07 03:11:05 -07:00
qctecmdr 49a27df81b Merge "voice processing: support several sessions per input stream" 2019-05-07 03:09:05 -07:00
qctecmdr db0bdc7edf Merge "hal: fix incorrect wsatz name in QRD config" 2019-05-07 03:04:41 -07:00
qctecmdr bd41154723 Merge "a2dp: Fix AAC frame size control" 2019-05-07 03:00:24 -07:00
qctecmdr 928866f7b5 Merge "hal: add error check for voice call start" 2019-05-07 02:57:07 -07:00
qctecmdr 18af6892f9 Merge "configs: add effect config table for int codec and QRD" 2019-05-07 02:54:14 -07:00
qctecmdr b27567fd69 Merge "audio: support custom acdb for external device" 2019-05-07 02:50:34 -07:00
qctecmdr 38277e3462 Merge "hal: update sub-band fluence module id in effect config table" 2019-05-07 02:47:07 -07:00
vivek mehta ba5ed1505a hal: enable audio zoom feature dynamically
- based on libaudiozoom and runtime feature flag
  enable \ disable audio zoom feature

Change-Id: I3dcab630e84e99108a541614b3467f0e70c1f274
2019-05-06 20:58:29 -07:00
Arun Mirpuri a13495c269 hal: Fix platform_info_file name
Fix platform_info_file name so that ACDB init when invovked
picks up the target-specific platform file

Change-Id: I4ce9e6c8d11f078b98e4d02d5fc6a605e8f077c4
2019-05-06 11:58:53 -07:00
Vatsal Bucha 7fe95a80d6 hal: Revert copyright change for maxaudio file
Revert copyright change for thrid party copyright
files maxaudio.c and maxaudio.h

Change-Id: Ieeac155a5bbfcb4ff85881cb29a2b770dfa7e1a5
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-06 15:28:13 +05:30
Vatsal Bucha 331b9093b8 configs: lito: 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: I71cb1ed5918fca23deee3cfa9fc60ec4a8de1dc4
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-05-06 14:57:51 +05:30
Sujin Panicker 4d0d27abbd hal: Add msm8998 for audioextn feature compilation
- Add msm8998 to select msm8974 platform for
  compilation of audio extn features

Change-Id: I16ec6c9817e219ef182d941a28b7d90fa2c49aca
2019-05-06 11:17:54 +05:30
juyuchen 2d415996e0 audio: Enhance latency and tuning in voice call with hearing aid
1. Reduce microphone latency in voice call
2. Use specific acdb tuning

Bug: 120869034
Test: manual audio test

Change-Id: Ifabd1ce2cce5bb4285cc33cd792070c0c3b20f1a
Signed-off-by: juyuchen <juyuchen@google.com>
(cherry picked from commit d194b43135d3799610a0272902b256c6bd95fa9e)
2019-05-05 10:37:40 -07:00
Eric Laurent 4b084132f0 audio: select camcorder snd device according to camera orientation
Add audio parameter indicating use of front or back camera to select
proper input path tuning in camcorder mode.
Also take device orientation for stereo channel swaping.

Bug: 118022272

Test: verified with camera service patch sending camera facing parameter
Change-Id: If24b47d922aeedaaa144f4a5f4cacddce2c9eeaf
(cherry picked from commit 5f4ca9505df8177127c1f1a7d292d684ec30ff50)
(cherry picked from commit 5727439e2f5302a225310f4af3f373e9e8424495)
2019-05-05 10:34:47 -07:00
Jasmine Cha 4dcc109aed audio: correct setting sequence
Persist audio calibration delta data should be set
before sending audio calibration.

Bug: 127239681
Test: two scenarios
  - LR swap real time, LR swap offline
  - preset change real time, preset change offline
scenario#1
  1. playback and set preset with low volume
  2. reboot or kill audioserver
  3. playback again and current preset is loud setting
scenario#2
  1. playback and set loud or low volume preset
  2. pause and standby thread
  3. change volume to different preset setting (ex. low -> loud or loud -> low)
  4. resume playback and current preset is incorrect.

Change-Id: Idca3c617d03056b770dbfe8f4b9ab3080e200113
Signed-off-by: Jasmine Cha <chajasmine@google.com>
(cherry picked from commit fb2ea2c3d7e61ab4a66d3fdbf0fbdc8d099a0618)
2019-05-05 10:26:48 -07:00
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
Vignesh Kulothungan 765eeb1a79 configs: add effect config table for int codec and QRD
Add effect config table for internal codec and QRD audio platforms.
Update module id for sub band devices in effect config table for
audio platform xml.

Change-Id: Ifae97e0131d19fe2e291f796ca19587a07c16b8d
2019-05-03 15:17:50 -07:00
Vignesh Kulothungan 033fd43f5c hal: update sub-band fluence module id in effect config table
Add definitions for new sub band modules.
Update module and instance id for fluence sub band devices in
effect config table.

CRs-Fixed: 2406603
Change-Id: I7aa792421c11452a8fc693433bacc5164d28c5bc
2019-05-03 14:58:47 -07:00
Vignesh Kulothungan cf4b932fed hal: add error check for voice call start
Add error check for pcm start during voice call start.
When pcm start fails dont start voice call, because voice path
is not setup.

CRs-Fixed: 2446818
Change-Id: I658c41da1ec457445cb3bb6481cb65c1bbe1e7eb
2019-05-03 14:20:17 -07:00
Weiyin Jiang 29c08a46dc audio: fix misc defects in AHAL
Fix misc defects in AHAL.

Change-Id: I5817ba328f0242e20b127b446a4e7e1655583968
CRs-Fixed: 2444364
2019-05-03 09:16:07 -07:00
Eric Laurent bdd19becdb voice processing: support several sessions per input stream
Bug: 128419018
Test: CTS AudioPreProcessingTest, manual tests for VoIP calls and
camcorder.

Change-Id: I5fe39451c30889e8abd56a16ddbb6bdf378ef2f2
(cherry picked from commit f69b0d0f1b2f3ea236961ca2c15ef8bec8087f26)
2019-05-02 23:10:32 -07:00