History log of /frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3ed9daf7766fac289c891387479648052390f1da 18-May-2017 Eric Laurent <elaurent@google.com> libaudiohal: fix get supported parameters queries in HIDL mode

Add a special case for keyStreamSupportedChannels and
keyStreamSupportedSamplingRates in ConversionHelperHidl::keysFromHal().
In this case, the query also contains a key=value pair specifying
the audio format to consider and it must be passed to the audio
HAL including the value.

Bug: 38326193
Test: verify format specifier is sent to HAL for supported sampling
rates and channels queries

Change-Id: I14ac40da920122ec0242ab027a2a4ac1d92381c8
/frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp
e83be8af690ef1ac820a63414d522e77ca9d4db6 06-Jan-2017 Steven Moreland <smoreland@google.com> Remove usage of getStatus.

- remove from libaudiohal
- remove from services/radio
- remove from soundtrigger
- remove from omx

Bug: 31348667
Test: compiles
Change-Id: I75bb7b7388527dacfdc5bf128712cb8690bc286b
/frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp
9f57e3c9da8923649adff62e63c644537f565e90 05-Dec-2016 Mikhail Naganov <mnaganov@google.com> Crash audioserver if EPIPE (DEAD_OBJECT) is received from the HAL

audioflinger doesn't have a proper way to re-establish all
the opened streams if HAL crashes. The only valid way of dealing
with them is to restart the audioserver.

Although broadcastradio and sountrigger have cleaner protocols
for dealing with HAL failures and can handle HAL crash and restart,
since the audio side will anyway get broken, it makes sense
to also kill the audioserver when they detect HAL crash.

Change-Id: I5f8e8c1d0981042cdd435a3ddbb6526e9f226e6b
Test: kill audio-hal process, watch dmesg and logcat
/frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp
34e5d30e54650b210c1b9730b1e4b412ec1cdb0c 10-Dec-2016 Samuel Saccone <samccone@google.com> Revert "Crash audioserver if EPIPE (DEAD_OBJECT) is received from the HAL"

This reverts commit 9f55e5f998644d58cb8f3625e06d9b7a4e78555c.

Change-Id: Ic76c0cb5032af422699da2b43106b4b1de5ac935
/frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp
9f55e5f998644d58cb8f3625e06d9b7a4e78555c 05-Dec-2016 Mikhail Naganov <mnaganov@google.com> Crash audioserver if EPIPE (DEAD_OBJECT) is received from the HAL

audioflinger doesn't have a proper way to re-establish all
the opened streams if HAL crashes. The only valid way of dealing
with them is to restart the audioserver.

Although broadcastradio and sountrigger have cleaner protocols
for dealing with HAL failures and can handle HAL crash and restart,
since the audio side will anyway get broken, it makes sense
to also kill the audioserver when they detect HAL crash.

Test: kill audio-hal process, watch dmesg and logcat
Change-Id: Ib2150b69c791ac49de9404de08fc6c309a3fcbd5
/frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp
56b41990c77deea378c9af79d76348ca6f995687 08-Dec-2016 Mikhail Naganov <mnaganov@google.com> Do not log error codes received from HAL

audio HAL server already logs them, so logging them here is just
a spam. Only log RPC errors.

Change-Id: I55433d4446215b87099c9ad33f4c352f79109fd1
Test: check logcat
/frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp
f558e0218d2677a813c9c600886f673894eec927 15-Nov-2016 Mikhail Naganov <mnaganov@google.com> libaudiohal: Implement simple HIDL client

This client requires both HIDL client and server to be of the same
ABI version (e.g. 32-bit).

EffectHalHidl::process and EffectHalHidl::processReverse are stubs.

Some extra warnings are logged due to unimplemented functions
in the legacy HAL.

Bug: 30222631
Change-Id: Id074131dec6d6c4f1031695abcf3ea066e92a5af
Test: Play Music (play / EQ), YouTube, Loopback RTLT, Ok Google on N5X
/frameworks/av/media/libaudiohal/ConversionHelperHidl.cpp