summaryrefslogtreecommitdiffstats
path: root/post_proc
Commit message (Collapse)AuthorAgeFilesLines
* volume listener: fix process() function for accumulate mode.Eric Laurent2015-09-101-2/+23
| | | | | | | Honor output buffer accumulation mode requested by config command. Bug: 23796255. Change-Id: I349682d5f76e343a16e4e41f7ad556ecbb697aa3
* volume_listener: fix releaseAndy Hung2015-09-081-2/+2
| | | | | | | use safe iteration of list when removing node. Bug: 23731264 Change-Id: I6d0c51638b6a3de684cf595833dc4d0fc7e8c8b5
* hal: MBDRC: send MBDRC step level only for speaker devicevivek mehta2015-08-201-6/+6
| | | | | | | | | | - set MBDRC level only for speaker device. Ignore combo device - this will fix printing wrong failure log in case Headphone is connect and alarm / notification is played. BUG=23362209 Change-Id: I675dfa1da0546483068f737d61ca0f2dd311ce52
* hal: post_proc: add volume based audio calibration supportvivek mehta2015-06-252-0/+786
| | | | | | | | | | | | - add new effect module to listen to volume and device change - based on volume levels of all streams active over speaker compute gain based calibration level and communicate with audio HAL to send the same to ACDB loader - make audio HAL singleton Bug: 22100304. Change-Id: If74bf66d32def85022d79ccb9f84c3b85c8a2dc9
* Enable support for msm8992 & msm8994 targetsAjay Dudani2015-04-161-3/+3
| | | | Change-Id: I8da8a5b9885c7202d858b181d610aadc12544852
* Fix build warnings on shamuGlenn Kasten2015-04-091-0/+1
| | | | | | for implicit and incompatible declarations of malloc, free, calloc Change-Id: I9bae9d032bbaea3955bef1073b9b8b7c187dec43
* Fix "hardware/qcom/audio/post_proc/effect_api.c:67:17: error: use of ↵Elliott Hughes2014-12-291-0/+1
| | | | | | undeclared identifier 'EINVAL'" Change-Id: I09c96c1a0b6f57c42969a375fedb0cb5b0b66c40
* audio: fix razor checkbuildEric Laurent2014-08-071-0/+3
| | | | | | Do not build post processing wrapper library on msm8960 platform. Change-Id: I9e08f4e0a994a1605a81109c2d498ad58f2606f6
* audio: compilation & warning fixes for offload effectsHaynes Mathew George2014-08-066-20/+15
| | | | | | | Fix compilation errors & unused param warnings in offload effect modules. Change-Id: I58fa250c413e07702cf4a4f96aa85f985883b343
* post_proc: Offload effects combined patchsetHaynes Mathew George2014-08-0613-0/+3559
* 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. (cherry-picked from CAF commit 3eedc004e9adf5967f393d65c22b7806d0c63e6c) * post_proc: Enable effects param in DSP to start effect -During switch to tunnel playback, offload effects-flags remain disabled. This stops effects being applied on tunnel playback. -Send effects enable params to DSP to start effects during switch. (cherry-picked from CAF commit d02f2cd710334cc2be6a866da537a595256ae623) * post_proc: disable adsp reverb when preset is 'None' Audio HAL set corresponding preset id into adsp, but doesn't disabe reverb explicitly when 'None' preset is chosen. However, preset=0 means custom preset in adsp, so adsp won't stop reverb processing. (cherry-picked from CAF commit b27e25f062edfeebb6860078013c7b413b8c4301) * post_proc: send ENABLE_FLAG directly to offload effect driver Enable flag should be sent directly through offload effect driver to adsp whenever bundle receives EFFECT_CMD_ENABLE. Otherwise enablement will only take effect in adsp after subsequent parameters being set, and that's not expected. (cherry-picked from CAF commit d45948e2153c03b41f55577debd943408f9c8280) * 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. (cherry-picked from CAF commit ca2685b2a0a695a7c4ac78883e750a92dcad0515) * post_proc: disable Bassboost and Virtualizer for certain devices WFD, Hdmi and usb audio are not intended to be applied with SA+ bassboost and virtualizer, so add into invalid device list. (cherry-picked from CAF ee2ff9621d25d83151ccb24a416f21533fdfbd31) * post_proc: disable effect immediately when routed to invalid devices Offload effect is still perceived when invalid output device is connected. We should send disable command immediately once phone is routed to unexpected device and forbid effect enablement during temporary disabled state. (cherry-picked from CAF commit 95d74c2232721631f3a04f6ccf35760b37b33fea) * post_proc: Enable reverb in DSP to start effect During switch to tunnel playback, reverb enable command is not sent to DSP and causes reverb effect not applied continuously. Send reverb enable params to DSP to start effects during switch. (cherry-picked from CAF commit c37c260fa174453f4822261bcd531ddb2706ab2c) * 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. (cherry-picked from CAF commit 090a2aa3f38298196ad9f47e3b6578535e1f7e10) * hal: Add support for audio effects in DSP for tunnel mode playback Add support to enable or disable audio post processing effects in DSP for tunnel mode playback. (cherry-picked from CAF commit 1d0891672175d431e8872dd7dff21e0ce507361a) Change-Id: I7ead6da4c216fd87e8ca1884811c4e0155053f49