Commit Graph

24 Commits

Author SHA1 Message Date
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
Aalique Grahame 6de37c0554 audio: revert invalid markings
Revert invalid markings added to AOSP files.

CRs-Fixed: 2380934
Change-Id: I5e729616dccb5e04e870e26462f822e16433879d
2019-02-07 11:51:59 -08: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
Naresh Tanniru f129015268 QMAA: Add support for HAL module disable
- Disable audio HAL modules compilation
  based on QMAA flag

Change-Id: I3ec8c82bfcf699a3bbf5e7133480a4bda1240a5a
2018-12-18 23:02:27 +05:30
Vatsal Bucha c09ae066d5 audio: Add flags to makefiles
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>
2018-11-14 13:25:50 +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
Revathi Uddaraju e8bd13c719 audio: Access header files through header libs
Access header files through header libs which are not accessed
directly.

Change-Id: Ia98e31fd43d56e9bb4786ee00de49961047808d4
2018-04-04 09:32:08 -07: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
Vikram Panduranga 93f080ecd8 audio: Add dedicated streams for VoIP call
Add dedicated streams for VoIP usecase. This includes adding
a new direct output and input types that use audio playback
and record paths respectively. It falls back to compress VoIP
wherever this feature is not applicable.

Change-Id: I9b7654819b9d8deb00f8888fbfc31f0fbbae5266
2017-08-15 14:52:10 -07:00
kunleiz 8181235036 hal: Add voice processing effect mode in Effect descriptors
When VoIP use fast capture to record, the audio ec and ns
cannot enable. This due to EFFECT_FLAG_HW_ACC_TUNNEL is
missed in effect description.

Fix this by adding EFFECT_FLAG_HW_ACC_TUNNEL in effect descriptors.
CRs-Fixed: 2037518

Change-Id: Id4d27ddb8d79e98d7f4fc617ea96efd0ae502569
2017-08-11 17:20:05 -07:00
Weiyin Jiang ae97a68402 audio: update audio_effects.conf to use vendor
Update librariy path in audio_effects.conf and hard coded lines.

Change-Id: I75cd66fd66910074cf534e08a7a65b6a5795bfee
2017-07-11 15:41:16 -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
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
Dhananjay Kumar a5d42b38dd audio: correct dependencies for compilation with AOSP flag
Add liblog to the dependency list for voice_processing and
disable compilation of audiod when AOSP flag is set.

Change-Id: Ie60559806a3ee02e6b84626ba2a3ee89844a1a7a
2017-01-23 22:39:10 -08:00
Andy Hung eae4d56548 DO NOT MERGE Fix AudioEffect reply overflow
Bug: 28173666
Change-Id: I055af37a721b20c5da0f1ec4b02f630dcd5aee02
(cherry picked from commit 57fd9637536d40ec8c40a6bed76a71471dab0f64)
2016-08-04 10:20:10 -07:00
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 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
Eric Laurent bdfd2924d5 add device specific voice processing descriptors
Add the possibility to define device specific effect descriptors
in libqcomvoiceprocessingdescriptors.so. This will allow
exposing different implementation UUISs according to device tuning
so that applications can distinguish one from the other.

Bug: 9126576.

Change-Id: I8e6ca00cbc6386498a5df99b514b1c7b7b1fd82c
2013-05-30 18:21:56 -07:00
Eric Laurent 73fb11d932 audio: add voice processing effect wrapper
Added wrapper library to expose Fluence AEC and NS to effect
framework.

Bug 7241490

Change-Id: I9cec4a5e7dde210e0eb9f4dd3de341b9c83b340d
2013-04-30 16:10:24 -07:00