Mikhail Naganov 6e81e9bb3c 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
2016-12-01 13:48:58 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-21 16:28:54 -08:00
2016-11-24 13:41:27 +01:00
2016-11-21 16:28:54 -08:00
2016-11-22 23:23:12 +00:00
2016-11-21 16:28:54 -08:00
2016-11-22 17:25:36 +00:00
2016-11-21 16:28:54 -08:00
2016-10-26 12:04:37 +02:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%