Commit Graph

20 Commits

Author SHA1 Message Date
Weiyin Jiang da604557e1 post_proc: fix mul-overflow
Fix mul-overflow due to uninitialized value being used.

Change-Id: I97d1f63534aa6f5ac28357bf489796607747b162
2019-10-17 13:20:22 +08: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
Aalique Grahame 22e4910d3d audio: unify hal
Unify audio hal components

CRs-Fixed: 2380934
Change-Id: Iacafdc44d935de5f343240421a1572a0a3241bd0
2019-01-25 15:15:46 +05:30
Vinay Verma addfa4a100 Fix VNDK Compilation Errors
VNDK restrictions doesn't includes standard headers by
default, add them explicitly.

Change-Id: Icafac6f07fcdf58fccaabde8d472509090fb3e6f
2018-05-08 05:17:02 -07:00
Manish Dewangan 338c50a293 audio-hal: 64 bit hal porting changes
-Use long for mixer control with integer type to match with
 kernel snd_ctl_elem_value definition.
-Use packed structure for mixer controls with byte type

Change-Id: I9fbb1d10c5ee212348b58fc4b27a3d74403d8bda
2017-10-23 15:03:03 +05:30
Preetam Singh Ranawat 61716b1bcc Merge 9c4ba54b3e on remote branch
Change-Id: I5a80c57243eda5a4fdd98a233766cd622b4ef9a3
2015-12-14 11:55:32 +05:30
Mingming Yin 497419fcb8 hal: compilation fix for extended feature flags
- Fix compilation error for offload, Dolby,
  HDMI pass through, FLAC decoder, and hardware
  accelerated effects when extended feature
  flags are disabled.

Change-Id: I5b36d7668f63a396ed930d62c0337c2c3f311c95
2015-07-06 10:44:23 -07:00
Sharad Sangle b27354b10e hal: compilation fix for extended feature flags
- Fix compilation error for offload, Dolby,
  HDMI pass through, FLAC decoder, and hardware
  accelerated effects when extended feature
  flags are disabled.

Change-Id: If64d5fa5d124b42d40d7e123b887db8e0a5d7426
2015-06-29 03:50:49 -07:00
Apoorv Raghuvanshi 8880cac757 audio: hal and post_proc KW and misc fixes
- KWBUG-811 fixes for NULL check and correct
pointer dereferece in HAL and post_proc

- KWBUG-813, KWBUG-883 fixes for strtok,
strcpy, strncpy strcat, strncat etc.

Conflicts:
	hal/audio_extn/utils.c
	hal/msm8974/platform.c
	post_proc/effect_api.c
Change-Id: I1a9626a7951aa3d54fb2d92a9167e5f92b5f523f
2015-05-25 18:28:51 +05:30
Linux Build Service Account 008b500b60 Merge "post_proc: Fix for KW reported P1 issues" 2015-04-15 01:28:14 -07:00
Dhananjay Kumar 5f15ff9b7d post_proc: add PBE effect for speaker
Enable PBE for speaker device.

Change-Id: I1a48dff038baf63376f1d4b355888159cf69ba81
2015-04-09 20:37:54 +05:30
Chaithanya Krishna Bacharaju b9bf50f6d1 post_proc: Fix for KW reported P1 issues
-Changes are made to address P1 issues reported by KW:
160375, 160376

Change-Id: I4ac3573142f68b0bbe0de162b3883f8a9484fe5e
2015-04-09 16:27:54 +05:30
Alexy Joseph d464f3b875 post_proc: Support Headphone:X in offload and non tunnel modes
Support Headphone:X in offload and non tunnel modes

Change-Id: Ib30d60bce67cb43556d58a2387735ce715d035a4
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-12-08 19:29:20 -08:00
Subhash Chandra Bose Naripeddy e40a7cd4a7 post_proc: Add support for non-tunnel DSP audio effects
Add hw accelerator module to send PCM data to DSP and get
back the effects processed data.

Expose a wrapper library for AudioFlinger to be able use the new
module to apply the DSP audio effects.

Change-Id: I6ee30c11f04a97b35f12201fb61b8cd901921e68
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-12-08 19:24:58 -08:00
Jitendra Naruka 1b6513f811 hardware/qcom/audio: Integrate Eagle framework for HeadphoneX
Add support to integrate the Eagle framework for HeadphoneX
audio post processing feature 1.1

Change-Id: Ib119c27c359950a6087d5e6ae200dfc1e83b7551
Signed-off-by: Jitendra Naruka <jitendra.naruka@dts.com>
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
2014-12-01 15:52:26 -08:00
wjiang ebb69fae68 post_proc: fix post and pre process KW issues
KW issue fix includes:
- handle memory allocation failure
- array index boundary check

Change-Id: I083952ba58d348a5b650601a83e6f492b0d686bb
2014-05-16 23:11:15 +08:00
Dhananjay Kumar 574f392723 post_proc: improve logging
Make logs more meaningful and remove
ones not necessary.

Change-Id: I9562cf34a5dee406b1c0347a9004db08de9cd5df
2014-05-01 21:31:48 +05:30
wjiang ca2685b2a0 post_proc: reverb preset id is not mapped correctly
Array index is not correct and causes uninitialized value being used
when 'Plate' is chosen. Correct index to retrieve the right preset id.

Change-Id: I2ad058bc7dc5d9b74882da2f5d4c0e3570f9e952
CRs-Fixed: 630429
2014-03-25 02:39:34 +08:00
Subhash Chandra Bose Naripeddy 090a2aa3f3 post_proc: include audio_effects.h from kernel exported headers
Currently, audio_effects.h header file is included with reference
to the absolute path. Instead, reference it from the kernel
exported headers.

Change-Id: I83880e0947e8b6a334b11c952fe8182b49ef5090
2014-02-20 12:33:11 -08:00
Subhash Chandra Bose Naripeddy 3eedc004e9 post_proc: Support effects in DSP for tunnel mode playback
Add interface to support configuring equlaizer, bass boost,
virtualizer and reverb effects in DSP for tunnel mode of
playback.

Change-Id: I9a93ad6136c4de06df5136967908b4e888dae44f
2013-11-29 01:25:46 -08:00