summaryrefslogtreecommitdiffstats
path: root/visualizer
Commit message (Collapse)AuthorAgeFilesLines
* visualizer: fix sub-overflowMingshu Pang2020-01-071-2/+4
| | | | | | | Fix visualizer crash due to sub-overflow. CRs-Fixed: 2571235 Change-Id: Id695dcadc6e5a4d333ddaabe7834db42ca52ed75
* visualizer: fix sub-overflowWeiyin Jiang2019-12-261-3/+3
| | | | | | | Fix visualizer crash due to sub-overflow. CRs-Fixed: 2571235 Change-Id: I37dc0ac9b0011243f8f4ce11141869228fb858a4
* Revert "hal: Enable integer overflow sanitizer"Meng Wang2019-06-141-3/+0
| | | | | | | | This reverts commit 1719d7c0c0e86a0c17529f96a5f0d5566f5b1979. This will be re-enabled once root cause the issue for audio regression. Change-Id: If045a40850bd08e25dbf251dd5996f4c1c7982ef
* hal: Enable integer overflow sanitizerVikram Panduranga2019-05-311-0/+3
| | | | | | Enable integer overflow sanitizer in audio HAL for kona. Change-Id: I16a81af39c888f9e5c3c10187ad81d29035a8bc0
* Merge "hal: visualizer: replace string api"qctecmdr2019-05-141-4/+4
|\
| * hal: visualizer: replace string apiAalique Grahame2019-05-101-4/+4
| | | | | | | | | | | | | | Use a different api for string parsing CRs-Fixed: 2451049 Change-Id: I1496a6f2dd9dcddacbe4e68a6a8272d657968cee
* | Merge "visualizer:Handle pcmopen error for WFD+visualizer"qctecmdr2019-05-101-0/+1
|\ \ | |/ |/|
| * visualizer:Handle pcmopen error for WFD+visualizerSujin Panicker2019-03-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WFD and offload visualizer effect both use same proxy capture device resulting in pcm_open failure when offload playback with visualizer effect is enabled on WFD device.This is handled by APM to fallback to deep-buffer so that software visualizer effect is enabled. This change ensures to avoid pcm_open until APM invalidates offload track, that is, changing the visualizer effect state transition. CRs-Fixed: 2310784 Change-Id: I13ccf1051d10b67898a35d7a8a855c9b1f6c1e58
* | hal: visualizer: dynamically read pcm deviceAalique Grahame2019-04-092-6/+106
|/ | | | | | | | Dynamically read the sound card number and device id of the pcm device used for visualizer from procfs. CRs-Fixed: 2430458 Change-Id: Ie757b7810eeeb8cebdbee557be1d930b6cab3f03
* Initial Android target definition for lito.Manisha Agarwal2019-02-271-1/+1
| | | | | | Initial Android target definition for lito. Change-Id: I3ec264577ecef549bb7c3c355cea40b68161bed7
* Initial Android target definition for trinketHari Veerubhotla2019-02-181-1/+1
| | | | | | | Initial Android target definition for trinket configuration files. Change-Id: Ie1761dff7235a6625ebf4c378596c944a67d66ef
* audio: revert invalid markingsAalique Grahame2019-02-072-2/+2
| | | | | | | Revert invalid markings added to AOSP files. CRs-Fixed: 2380934 Change-Id: I5e729616dccb5e04e870e26462f822e16433879d
* hal: add audio support for konaMeng Wang2019-01-311-1/+1
| | | | | | Add audio support for kona. Change-Id: Ib1eb05209ce3220e00fa15cddc5338b3f62871f9
* audio: unify halAalique Grahame2019-01-252-11/+18
| | | | | | | Unify audio hal components CRs-Fixed: 2380934 Change-Id: Iacafdc44d935de5f343240421a1572a0a3241bd0
* QMAA: Add support for HAL module disableNaresh Tanniru2018-12-181-0/+2
| | | | | | | - Disable audio HAL modules compilation based on QMAA flag Change-Id: I3ec8c82bfcf699a3bbf5e7133480a4bda1240a5a
* audio: Add flags to makefilesVatsal Bucha2018-11-142-0/+19
| | | | | | | | | Enable GCOV if config is set to true. Also add gcov_flush in source files to get enhanced code coverage. Change-Id: I39776cc6d6f16cd23da05b66669eea22fc4cba81 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
* Fix VNDK Compilation ErrorsVinay Verma2018-05-081-0/+2
| | | | | | | VNDK restrictions doesn't includes standard headers by default, add them explicitly. Change-Id: Icafac6f07fcdf58fccaabde8d472509090fb3e6f
* Initial android target definition for msmsteppeTanya Dixit2018-04-251-1/+1
| | | | Change-Id: I4c2f93bf5b109210bb27cbf9f2068d3cf260f3d9
* hal: Rename sdm670 to sdm710.Naresh Tanniru2018-04-101-1/+1
| | | | Change-Id: Ic30a5e1c5afb883dd60eac4b944bb75ea59cabb1
* audio: Access header files through header libsRevathi Uddaraju2018-04-041-0/+2
| | | | | | | Access header files through header libs which are not accessed directly. Change-Id: Ia98e31fd43d56e9bb4786ee00de49961047808d4
* hal: add audio support for msmnileXiaoyu Ye2018-02-151-1/+1
| | | | | | Add audio support for msmnile. Change-Id: I742d9acbc42221476d1364e9c7bcce8a5d782bf4
* Bypass compilation errors due to compiler upgradeAbhishek Arpure2018-02-051-0/+2
| | | | | | Bypass CLANG compilation errors by adding ignore flags Change-Id: I99317ca2ccf5ee953ca5796e01db63dd396d622d
* HACK: Modify .mk files to avoid strict compiler errorsSoumil Shah2018-01-221-0/+11
| | | | Change-Id: I95dd11f96d8aaad31078b599eca1745be912b488
* audio: make sure audio hal compile for qcs605Ashok Sidipotu2017-11-081-1/+1
| | | | | | | Added target qcs605 in the make files to enable compilation Change-Id: I03caf5b62c55c08818bc89295170006c1987ca9b
* visualizer: update PCM device id for sdm670 targetSharad Sangle2017-10-271-1/+1
| | | | | | | | Update PCM device id for sdm670 target to support visualizer client CRs-Fixed: 2132607 Change-Id: I688149413a8906ab7cb2add17dc696114164d348
* visualizer: remove stereo channel checkWeiyin Jiang2017-07-281-1/+0
| | | | | | | | | Even if data flow might be in various channels during pcm offload use case, pcm read from proxy is always stereo. There's no need to check against stereo. Change-Id: I60d2380bb7a20024fbc9e50ccd77ae69bafc35ca CRs-Fixed: 2077166
* hal: configs: effects: update conf & lib pathsNaresh Tanniru2017-06-141-0/+1
| | | | | | | | - Update config & make files to /vendor path instead /system for system and vendor image support Change-Id: I2c1886441e3d31b9eb4e66caba0d70030a4a8f27
* Revert "hal: configs: effects: Enable treble feature"Naresh Tanniru2017-06-141-2/+0
| | | | | | | This reverts commit cab4a7d4333b75f403ea39f9a2b498f6622c5bab. Change-Id: Ic8a6827e5719b469dbd73af5934b9998d53c42c0
* Merge "apq8098_latv: Initial commit for new target apq8098_latv."Linux Build Service Account2017-06-091-1/+1
|\
| * apq8098_latv: Initial commit for new target apq8098_latv.Venkataraman Nerellapalli2017-06-091-1/+1
| | | | | | | | Change-Id: Id07501d58dd1c1a9dd9af610caa2f4d7b4a0cd2b
* | Merge "hal: configs: effects: Enable treble feature"Linux Build Service Account2017-06-091-0/+2
|\ \ | |/ |/|
| * hal: configs: effects: Enable treble featureNaresh Tanniru2017-06-071-0/+2
| | | | | | | | | | | | | | | | | | | | - All qcom proprietary modules should use /vendor path instead /system for treble compatibility - Modify configs and android makefiles accordingly Change-Id: I1a4db8c39b5e7585d1a4d60584d5b1672c9599ac
* | visualizer: update PCM device id for sdm845 targetAniket Kumar Lata2017-06-071-1/+1
|/ | | | | | | Update PCM device id for sdm845 target to support visualizer client CRs-Fixed: 2057748 Change-Id: Id2058cf5d53b9f8d352d75194204b4bd2d186f8d
* visualizer: correct copyright yearsWeiyin Jiang2017-05-111-1/+1
| | | | | | | Correct copyright years. Change-Id: I1c40d643599c842d7fd94b33ad2cf93465a794b1 CRs-Fixed: 2032490
* Merge "visualizer: fix warnings due to uninitialized return values"Linux Build Service Account2017-05-051-2/+2
|\
| * visualizer: fix warnings due to uninitialized return valuesDhananjay Kumar2017-05-051-2/+2
| | | | | | | | | | | | | | | | | | Provide default initialization for return values in visualizer_hal_start_output and visualizer_hal_stop_output as in few conditions these are getting returned without any explicit assignment. Change-Id: Iac5b5ffb7c71dfeabd29bff9978dfc62f69ec7db
* | visualizer: update PCM device id for sdm660 targetWeiyin Jiang2017-05-052-6/+5
|/ | | | | | | Update PCM device id for sdm660 target. Change-Id: Icc27d5319ac3273c34f1c32d8fcbbd4b57255fda CRs-Fixed: 2032490
* Fix potential NULL dereference in Visualizer effectrago2017-01-241-3/+7
| | | | | | | | | Bug: 30229821 Test: fixing CL. Existing unit tests still pass. Change-Id: I73d3fe413dd7590470c5b3b19569d6a7969c4dd8 (cherry picked from commit 0c39abc483ba980f7c417e57a0aa39139136c97a)
* Merge audio-userspace.lnx.2.1-rel on remote branchLinux Build Service Account2016-11-232-3/+3
|\ | | | | | | Change-Id: I181b4424624c7ddbe084efcfd06b3170340a1103
| * hal: Rename all instances of msmcobalt to msm8998Ben Romberger2016-11-212-3/+3
| | | | | | | | | | | | | | | | Rename all instances of msmcobalt to msm8998. Rename the config directory, defines, functions, and look for the renamed target and soundcard. Change-Id: Idbc4c5a425c837342069c2db17b6ec984021bf60
* | Fix potential overflow in Visualizer effectrago2016-11-081-0/+8
|/ | | | | | | | Bug: 30229821 Change-Id: Iea1c4a21735e893aeded95b980044ec0861a7ea8 (cherry picked from commit 2fa52194ef64843c2908c69527384c6c2fcdbafa) (cherry picked from commit 57ac66340ad488a17fc285b6fc2635cb7375d72b) (cherry picked from commit 9cb9810ecb63c8ff55ecf4bc77431dc5b0688b5f)
* visualizer: Update PCM device id for visualizerGarmond Leung2016-09-152-0/+8
| | | | | | | | Offload visualizer had a hardcoded PCM device. Since the device number changed, update the hash define Change-Id: Ice44a5c8c3dbee6eb04188b661e2b7ea4d056937 CRs-Fixed: 1057902
* hal: effect: visualizer: support two offload sessionsvivek mehta2015-09-221-9/+29
| | | | | | | add support to get visualizer data for two offload session. Change-Id: I273aa392080e67a605137c43a3a5b798f66513fb
* visualizer: do not apply calibration on audio routed to afe proxyRavi Kumar Alamanda2015-02-262-0/+27
| | | | | | | | | | | | When compress offload playback is active, if the Visualizer effect is enabled, decoded PCM audio is routed to AFE Proxy port and read from it by the Visualizer wrapper library. When audio is routed to proxy port, current output device specific calibration is also being applied which is not desired. Avoid this by sending default audio calibration i.e. no post-processing to be applied the data. Change-Id: Id576c4ed7bbb482683074e3e33aa5760b7597d37
* audio: Change LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATHApoorv Raghuvanshi2014-05-291-1/+1
| | | | | | | | | | | To comply with multi-arch build system changes for 64-bit support, LOCAL_MODULE_RELATIVE_PATH needs to be used. Drop explicit use of LOCAL_MODULE_PATH, and use relative path to avoid build system to overwrite one of multi-arch library variants with the other arch variant. Change-Id: I21f9b952a79c3930b15ff5549ac3c21ca827cc3a
* post_proc: fix post and pre process KW issueswjiang2014-05-161-0/+9
| | | | | | | | KW issue fix includes: - handle memory allocation failure - array index boundary check Change-Id: I083952ba58d348a5b650601a83e6f492b0d686bb
* hal: Add support for audio effects in DSP for tunnel mode playbackSubhash Chandra Bose Naripeddy2013-11-291-10/+27
| | | | | | | Add support to enable or disable audio post processing effects in DSP for tunnel mode playback. Change-Id: I4e0b01ab4ae29d4b1c7986f2a6146e18e8bce2c1
* Level measurement in offloaded visualizerJean-Michel Trivi2013-09-241-16/+136
| | | | | | | | | Add Peak and RMS measurement capabilities in the "offloaded" version of the visualizer effect. Bug 8413913 Change-Id: I09a88f4cc791db6c68f0769dc23ced0d3aac955c
* add offloaded audio visualizerEric Laurent2013-09-174-0/+1347
Add library for visualizer effect used when audio decompression is offloaded to QCOM audio DSP. The implementation reads PCM back from the proxy port in the audio DSP. The audio HAL dynamically loads the effect library if present and indicates offloaded output activity. The PCM capture is only active when an offloaded output is active and at least one effect is enabled on this output. Bug: 8174410. Change-Id: Ic78de932f9116e246494f9171c1cc7c3e35a0ea1