Commit Graph

29 Commits

Author SHA1 Message Date
Xiaoyu Ye 91553e693e hal: add audio support for msmnile
Add audio support for msmnile.

Change-Id: I742d9acbc42221476d1364e9c7bcce8a5d782bf4
2018-02-15 16:44:15 -08:00
Abhishek Arpure ce11235bcc Bypass compilation errors due to compiler upgrade
Bypass CLANG compilation errors by adding ignore flags

Change-Id: I99317ca2ccf5ee953ca5796e01db63dd396d622d
2018-02-05 21:31:51 -08:00
Soumil Shah 196157e2ec HACK: Modify .mk files to avoid strict compiler errors
Change-Id: I95dd11f96d8aaad31078b599eca1745be912b488
2018-01-22 17:39:48 -08:00
Ashok Sidipotu 5accc8d04d audio: make sure audio hal compile for qcs605
Added target qcs605 in the make files to enable
compilation

Change-Id: I03caf5b62c55c08818bc89295170006c1987ca9b
2017-11-08 17:24:10 +05:30
Sharad Sangle 2452982d9f visualizer: update PCM device id for sdm670 target
Update PCM device id for sdm670 target to support
visualizer client

CRs-Fixed: 2132607
Change-Id: I688149413a8906ab7cb2add17dc696114164d348
2017-10-27 00:56:52 -07:00
Weiyin Jiang fb61e203b5 visualizer: remove stereo channel check
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
2017-07-28 10:52:47 -07:00
Naresh Tanniru 10758b6746 hal: configs: effects: update conf & lib paths
- Update config & make files to
  /vendor path instead /system for
  system and vendor image support

Change-Id: I2c1886441e3d31b9eb4e66caba0d70030a4a8f27
2017-06-14 19:16:02 +05:30
Naresh Tanniru a717d88792 Revert "hal: configs: effects: Enable treble feature"
This reverts commit
 cab4a7d433.

Change-Id: Ic8a6827e5719b469dbd73af5934b9998d53c42c0
2017-06-14 19:03:09 +05:30
Linux Build Service Account 21002aef23 Merge "apq8098_latv: Initial commit for new target apq8098_latv." 2017-06-09 07:56:29 -07:00
Linux Build Service Account d42c0be134 Merge "hal: configs: effects: Enable treble feature" 2017-06-09 07:56:24 -07:00
Venkataraman Nerellapalli b8689ecac0 apq8098_latv: Initial commit for new target apq8098_latv.
Change-Id: Id07501d58dd1c1a9dd9af610caa2f4d7b4a0cd2b
2017-06-09 11:04:18 +05:30
Aniket Kumar Lata dc477cd88c visualizer: update PCM device id for sdm845 target
Update PCM device id for sdm845 target to support visualizer client

CRs-Fixed: 2057748
Change-Id: Id2058cf5d53b9f8d352d75194204b4bd2d186f8d
2017-06-07 10:26:36 -07:00
Naresh Tanniru cab4a7d433 hal: configs: effects: Enable treble feature
- All qcom proprietary modules should use
  /vendor path instead /system for
  treble compatibility

- Modify configs and android makefiles accordingly

Change-Id: I1a4db8c39b5e7585d1a4d60584d5b1672c9599ac
2017-06-07 05:29:25 -07:00
Weiyin Jiang 813b888e5c visualizer: correct copyright years
Correct copyright years.

Change-Id: I1c40d643599c842d7fd94b33ad2cf93465a794b1
CRs-Fixed: 2032490
2017-05-11 04:20:29 -07:00
Linux Build Service Account 703444d058 Merge "visualizer: fix warnings due to uninitialized return values" 2017-05-05 11:24:59 -07:00
Dhananjay Kumar 5f90a5aca9 visualizer: fix warnings due to uninitialized return values
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
2017-05-05 02:44:10 -07:00
Weiyin Jiang 2d95548ccb visualizer: update PCM device id for sdm660 target
Update PCM device id for sdm660 target.

Change-Id: Icc27d5319ac3273c34f1c32d8fcbbd4b57255fda
CRs-Fixed: 2032490
2017-05-05 02:33:09 -07:00
rago 95b51a58de Fix potential NULL dereference in Visualizer effect
Bug: 30229821

Test: fixing CL. Existing unit tests still pass.

Change-Id: I73d3fe413dd7590470c5b3b19569d6a7969c4dd8
(cherry picked from commit 0c39abc483ba980f7c417e57a0aa39139136c97a)
2017-01-24 00:58:57 -08:00
Linux Build Service Account a154c895d3 Merge audio-userspace.lnx.2.1-rel on remote branch
Change-Id: I181b4424624c7ddbe084efcfd06b3170340a1103
2016-11-23 01:09:17 -08:00
Ben Romberger 22d4123dd4 hal: Rename all instances of msmcobalt to msm8998
Rename all instances of msmcobalt to msm8998. Rename
the config directory, defines, functions, and look for
the renamed target and soundcard.

Change-Id: Idbc4c5a425c837342069c2db17b6ec984021bf60
2016-11-21 19:51:58 -08:00
rago d8c80c2fb0 Fix potential overflow in Visualizer effect
Bug: 30229821
Change-Id: Iea1c4a21735e893aeded95b980044ec0861a7ea8
(cherry picked from commit 2fa52194ef64843c2908c69527384c6c2fcdbafa)
(cherry picked from commit 57ac66340ad488a17fc285b6fc2635cb7375d72b)
(cherry picked from commit 9cb9810ecb63c8ff55ecf4bc77431dc5b0688b5f)
2016-11-08 10:40:28 -08:00
Garmond Leung 6406e9d287 visualizer: Update PCM device id for visualizer
Offload visualizer had a hardcoded PCM device. Since the device
number changed, update the hash define

Change-Id: Ice44a5c8c3dbee6eb04188b661e2b7ea4d056937
CRs-Fixed: 1057902
2016-09-15 18:56:33 -07:00
vivek mehta 39cfce6113 hal: effect: visualizer: support two offload sessions
add support to get visualizer data for two offload
session.

Change-Id: I273aa392080e67a605137c43a3a5b798f66513fb
2015-09-22 12:27:34 -07:00
Ravi Kumar Alamanda 518bcbb6ab visualizer: do not apply calibration on audio routed to afe proxy
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
2015-02-26 13:59:24 -08:00
Apoorv Raghuvanshi 1b555f7332 audio: Change LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
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
2014-05-29 12:51:51 -07: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
Subhash Chandra Bose Naripeddy 1d08916721 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.

Change-Id: I4e0b01ab4ae29d4b1c7986f2a6146e18e8bce2c1
2013-11-29 01:26:10 -08:00
Jean-Michel Trivi a6c11c11e2 Level measurement in offloaded visualizer
Add Peak and RMS measurement capabilities in the "offloaded" version
  of the visualizer effect.

Bug 8413913

Change-Id: I09a88f4cc791db6c68f0769dc23ced0d3aac955c
2013-09-24 15:45:55 -07:00
Eric Laurent c4aef75c2c add offloaded audio visualizer
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
2013-09-17 17:44:42 -07:00