Commit Graph

24 Commits

Author SHA1 Message Date
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
Asish Bhattacharya d066587b04 hal: Add new path for dlkm
Add new header paths.

Change-Id: I413de5e738db4e35904df7a09c3a4cdad68079da
2017-10-31 17:21:19 +05:30
yidongh ddd67d43d5 hal: audio-test: remove code sections referring to audio-alsa
audio-alsa is removed from mm-audio, reomve code sections
referring to audio-alsa.

CRs-Fixed: 2126971
Change-Id: I50bd466a931a39846dc2fc5f136a38a9f64b2148
2017-10-25 19:12:12 -07:00
Sachin Mohan Gadag 10aefdac16 mm-audio: Fix Security Issues
Add validation for input paramters for test
app.

Change-Id: I36c7e1a9af42dede6bb21d4619c3c549fc4f2701
2017-09-12 19:57:31 +05:30
Preetam Singh Ranawat 83382efdec Revert "hal: audio-test: Move omx tests mm-audio-internal"
This reverts commit 2ce1027d13.

Also Fix NULL stream pointer LLVM issue by performing
NULL check before dereference the pointer

Change-Id: Ia2a8b3492b5424993e6c651555054d899f2ca3f2
2017-09-12 19:53:40 +05:30
Asish Bhattacharya 0b9bfb0bc6 hal: fix audio compilation for techpack.
Change-Id: Ifd3ddf97b7a642569bfbc99a00d48bc781590212
2017-08-04 20:35:17 +05:30
Aniket Kumar Lata 010009d1c1 mm-audio: aenc: Fix VTS failures for encoders
VTS does not expect Input/Output omx port to send OMX_EventCmdComplete.
The fix is to avoid sending OMX_EventCmdComplete. VTS will timeout and
handle the error properly.

Change-Id: I998cf2e4b9e4ecba9e9837e56683bf44cc57207b
CRs-Fixed: 2077073
2017-07-27 12:21:48 -07:00
Preetam Singh Ranawat ab52d5e894 mm-audio: Fix clang error for encoders
Change-Id: I13203ad8bc17889b0e391406e9deec4275fad808
2017-07-27 12:21:21 -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
Aniket Kumar Lata 2ce1027d13 hal: audio-test: Move omx tests mm-audio-internal
Moving omx test applications for encoders and decoders to
mm-audio-internal.

CRs-Fixed: 2014832
Change-Id: I8df3703dc84f7f277258b036bd6df87946af6efb
2017-05-05 02:40:09 -07:00
Pavan Chikkala 15acd351dc mm-audio: Avoid command thread loop if omx component is stopped
When omx init and deinit are called in short duration,there
is a possibility that deinit is called before command thread
is started. omx_thread_stop closes respective pipe and waits
for the command thread to exit.
In a specific scenario, same pipe fd is allocated in another
module and command thread in omx continues to read from the
same pipe although it is closed by the main omx thread.
omx_thread_stop is blocked infinitely due to this reason

Fix is to set a flag in omx_thread_stop to avoid command
thread to go into the read loop if it is started after
omx_thread_stop is called

Change-Id: I4b9c4909c7178010568219fddcd05eaafdddc769
2016-07-14 03:26:54 -07:00
Mingming Yin 4051676fe3 mm-audio: omx: Fix handling of flush error on session not found
If the current session is not found in the driver, a special
error code is returned. On observing this error, stop waiting for a
response from the current (presumably) dead session to avoid
stalling indefinitely.

Change-Id: Ife1ace9c34178d15eff723a5634b4514cd1e1545
2016-02-09 00:52:07 -08:00
Linux Build Service Account d028157708 Merge "mm-audio: omx: Fix OMX encoders timestamp" 2015-08-09 00:22:22 -07:00
Ben Romberger 29f8d2918f mm-audio: omx: Fix OMX encoders timestamp
Timestamp format of encoder output structure
incorrect. Timestamp is of format of
least significant bits first. Encoder
out structure formated incorrectly to
expect most significant bits first.

Change-Id: I9cc152dfc8ccb6dc78f715461a2bece1fe2a7819
2015-07-21 17:00:17 -07:00
Dhanalakshmi Siddani 28cdd2ebac mm-audio: omx: post error to omx during SSR
Add support to post error to omx component for NT mode session
during SSR

Change-Id: I768793331e8dd79a886b80a3bcac8173e5da73ea
2015-07-16 20:00:42 -07:00
Mingming Yin a5374a3a8e hal: Remove unnecessary check in make file
- Remove unnecessary target check in make file
- Remove unnecessary mm-audio flag in OMX encoders

Change-Id: I4f8d660e145586e9bc7b4beebde921732e0fecf0
2014-06-30 16:12:04 -07:00
Manish Dewangan 80a1156bf7 mm-audio: Fix 64 bit compilation warnings
Fix compilation warnings seen with 64 bit lpdk builds

Change-Id: Ia82c54f81531c31569a96b8cdde48b7f7fc7a4b7
2014-05-30 16:31:04 +05:30
Karthik Reddy Katta be61caaa0a mm-audio: omx: add 64 bit support
-Changes to support omx encoders on 64 bit platform

Change-Id: I05749f619efaf66e107b1438635a38f92a11b523
2014-05-04 09:21:39 +05:30
Naresh Tanniru 8b919ac27a Audio: Bear family(8916) audio HAL bringup changes
- Added new files for platform specific code

  Separate platform specific code from generic audio HAL code.
  Platform specific code is:
    - platform initialization
    - pcm device selection
    - pcm stream configuration
    - sound device selection
    - acdb ID selection
  Modified makefiles for 8916 support

Change-Id: Idf53d19c355feb26ce9f35f9e5dd0734b542eae6
2014-02-03 18:43:31 +05:30
Aviral Gupta d21e583299 hal: Add audio support for 8092
- Add support for OMX audio encoder components for mpq8092.

Change-Id: I7a652581fd48fc22c025193d2c825b6e747edcfe
2013-11-22 11:45:21 +05:30
Banajit Goswami c30f96d2b6 hal: Add audio support for APQ8084
- Add support for OMX audio encoder components for apq8084.

Change-Id: I0cf2bba74fe9a90b2dd9c9b96f0f8f3cf28de743
2013-11-14 13:14:17 -08:00
Mingming Yin 486032d272 audio: audio encoder/decoder enhancement
- Enable decoder test app for AAC, AMR,
  AMRWB, and MP3 formats.
- Enable encoder for AMRWB, AAC, EVRC,
  and QCELP formats.

Change-Id: I0c75dcc4fb02044f127270a64d3578d62bf6eeda
2013-10-09 17:21:38 -07:00