Commit Graph

10 Commits

Author SHA1 Message Date
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
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