History log of /frameworks/av/media/libaudiohal/EffectHalHidl.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6b111f32247800dccd34dd396e731b9e7888b185 28-Apr-2017 Mikhail Naganov <mnaganov@google.com> audiohal: Always load A2DP module locally

This makes legitimate unix socket interaction between A2DP
module and the Bluetooth stack.

Implemented by allowing both "local" and "hidl" interface
wrappers to co-exist for devices and streams. A "hybrid" device
factory is introduced to create an appropriate implementation
of a device depending on the requested module name.

Bug: 37640821
Test: Play Music over BT headset
Change-Id: I5592961dd5b56840418fb122680979d11a261b6c
/frameworks/av/media/libaudiohal/EffectHalHidl.h
40be8a343e8ceb7ae087bfb8988247731fa5ae75 27-Apr-2017 Mikhail Naganov <mnaganov@google.com> audiohal: Support stateful downmixer effects

Fraunhofer's downmixer has additional buffering, this is incompatible
with how DownmixerBufferProvider used to process incomplete buffers.

Now the effects HIDL wrapper delivers frameCount updates in
audiobuffers to the server side. This fixes playback of multichannel
sound streams.

Bug: 36181621
Test: play 5.1 track from Play Music
Change-Id: I3b2cd097d61873c6ba329f1a574235ac88b21cac
/frameworks/av/media/libaudiohal/EffectHalHidl.h
ed01be521e6e265dd8a27e43b581d13342e2528b 17-Feb-2017 Mikhail Naganov <mnaganov@google.com> audiohal: Support 64-bit audioflinger with 32-bit hal. Part II

Also convert "get config" effects command. It doesn't seem to
be really used, but nevertheless nice to have it called correctly
in mixed ABI case.

Change-Id: Ib29124933f5bfb8fd164f29a3059b3a5a3e8052b
Test: none
/frameworks/av/media/libaudiohal/EffectHalHidl.h
f508bd4692736e1455553099f3276f43f4229e27 16-Feb-2017 Mikhail Naganov <mnaganov@google.com> audiohal: Support 64-bit audioflinger with 32-bit hal

effect_config_t size depends on the architecture because it
uses pointers. Need to convert it into HIDL structure when
passing to HAL.

Test: build 64-bit af with 32-bit hal server in binderized mode
run Play Music, apply effects

Change-Id: I16ff9cd3accc00b6cb30f86418880ca5b749fdad
/frameworks/av/media/libaudiohal/EffectHalHidl.h
022b9953153bdb1984f0abb17d21ef8c1826ad49 05-Jan-2017 Mikhail Naganov <mnaganov@google.com> Re-implement HIDL effect processing using FMQ and IMemory

Result: no hwbinder calls due music processing.

Test: make, use Play Music with effects, check traces
Bug: 30222631
Change-Id: I06d0e94e603688874b31824427f3b0878b5f7c8e
/frameworks/av/media/libaudiohal/EffectHalHidl.h
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/EffectHalHidl.h