History log of /hardware/interfaces/audio/2.0/IDevice.hal
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
40d3a9bd8c62714ee58f9363c4456f764aa5a95d 29-Mar-2017 Andreas Huber <andih@google.com> Convert all comments into "doxygen-ready" comments.

Bug: 36453077
Test: mma
Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
/hardware/interfaces/audio/2.0/IDevice.hal
acb010882d03dfadbc45c0ca289521442b63c0d4 09-Dec-2016 Yifan Hong <elsk@google.com> Update for colliding names in arguments and results.

Test: compiles

Bug: 33277700
Change-Id: I0c1a62fdea3617a06120f548105f778e011cb576
/hardware/interfaces/audio/2.0/IDevice.hal
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/2.0/IDevice.hal
10548295023bee99108e418499aff09fe578211e 31-Oct-2016 Mikhail Naganov <mnaganov@google.com> Implement audio devices and streams HAL delegating to legacy HAL

Changes made to the .hal definition:

- introduce Effect ID returned by the IEffectsFactory that
needs to be passed to IStream.{add|remove}Effect; otherwise
it's impossible to retrieve the underlying HAL effect handle;

- change "bus address" in DeviceAddress to "string" type;

- fix signature of some methods w.r.t. returning Result;

- remove unused "struct AudioPatch".

Bug: 30222631
Test: make
Change-Id: Icb51729ef57bb2a5b0b78609735e7481bc04f95c
/hardware/interfaces/audio/2.0/IDevice.hal
96b30be9d0bd14e4ae31533a9fc6844058352fcc 05-Oct-2016 Mikhail Naganov <mnaganov@google.com> Define audio HAL

Created after hardware/audio.h with the following changes:

- names changed to satisfy HAL style guide;

- defined getter / setter methods for properties, and interfaces
for devices where needed;

- stream out callback changed to be used over RPC;

- 'dump' method is already defined by BBinder, so in HAL
interfaces it is replaced by 'debugDump'.

Note that audio data is currently transferred using byte buffer,
which is not effective due to memory copy and HwBinder transaction
involved. The transfer method will be changed to FastMessageQueue.

Bug: 30222631
Test: make

Change-Id: Ibb3bd940a91820e81d1a2b53b38d63b9e3de148a
/hardware/interfaces/audio/2.0/IDevice.hal