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
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
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
- 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
- Enable decoder test app for AAC, AMR,
AMRWB, and MP3 formats.
- Enable encoder for AMRWB, AAC, EVRC,
and QCELP formats.
Change-Id: I0c75dcc4fb02044f127270a64d3578d62bf6eeda