History log of /hardware/interfaces/audio/effect/2.0/default/Conversions.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6e81e9bb3c13d8c51fde503cf8be2bfb56e1ca1d 17-Nov-2016 Mikhail Naganov <mnaganov@google.com> Audio HAL: fixes for issues discovered after client conversion

Several issues addressed:

-- added IDevice.supportsAudioPatches to query whether
create/removeAudioPatch is actually supported by HAL;

-- IStreamOutCallback proxy needs to be owned by IStreamOut
implementation. In order for the client to reset the reference,
added method IStreamOut.clearCallback;

-- IDevice.open{Input|Output}Stream need to return a "suggested" audio
config from HAL;

-- code for converting between system/audio.h and HIDL
data structures has been moved to
android.hardware.audio.common@2.0-util library for reuse;

-- added a workaround for the issue with QC effects HAL trying to write
into the input parameters buffer, which is r/o by Binder design.

Bug: 30222631
Change-Id: I64af24d79c12d6ac3b0f87d085a821913e29237b
Test: tried using with WIP HIDL client on N5X
/hardware/interfaces/audio/effect/2.0/default/Conversions.cpp
7cbf2f1fb15a2a7d9b8b61ca81ad93fa9ddcaea3 28-Oct-2016 Mikhail Naganov <mnaganov@google.com> Implement audio effects HAL delegating to legacy HAL

Changes made to the .hal definition:

- added missing generated Result for methods implemented via legacy
"command" function;

- fixed Aux Channels feature definition;

- added "size" parameter for reply data in cases where the wrapper
needs to allocate a reply buffer;

- added method for generic support of feature configs;

- added new Result type;

- use arrays instead of strings in effect descriptor to ease
conversion from / to legacy HAL;

- added missing method to the Preset Reverb interface;

- fixed names of the Visualizer enums to avoid clashes with defines
from the legacy HAL file.

The implementation isn't hooked up to the server yet. Need to implement
devices and streams first.

Bug: 30222631
Change-Id: I75bb42f19ac3303759e918b6d6a91646b1555f8c
Test: make
/hardware/interfaces/audio/effect/2.0/default/Conversions.cpp