platform_hardware_interfaces/audio
jiabin 1b38536a87 Use audio containers from libaudiofoundation.
It is suggested to do so according to Vector.h and SortedVector.h.
At framework side, there are audio containers such as FormatVector,
ChannelMaskSet, SampleRateSet to replace the usage of Vector
SortedVector for audio stuff. In default hal implementation, we can
use these audio containers to replace Vector and SortedVector.

Bug: 135621476
Test: play/record audio
Change-Id: I4d985327fb76cd06afe241860d8b592abcbfe4f2
2019-08-07 11:22:58 -07:00
..
2.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
4.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
5.0 Merge "Update hidl makefiles for bpfmt" am: ff0bd741ca 2019-04-18 14:34:45 -07:00
common Merge "Replaces 'oneshot' and 'interface' with 'onrestart restart audioserver'." am: 5bb99e24ad am: 3a6c4696bd am: 1fd3dbe764 am: e7342a0d84 2019-07-31 16:24:50 -07:00
core/all-versions Use audio containers from libaudiofoundation. 2019-08-07 11:22:58 -07:00
effect Version dependant target should included version in name 2019-06-24 15:39:54 -07:00
README Audio HAL: Update file tree documentation 2018-11-28 20:29:52 -08:00

Directory structure of the audio HIDL related code.

audio
|-- 2.0              <== core 2.0 HIDL API. .hal can not be moved into the core directory
|                        because that would change its namespace and include path
|-- 4.0              <== Version 4.0 of the core API
|
|-- ...
|
|-- common           <== code common to audio core and effect API
|   |-- 2.0          <== HIDL API of V2
|   |-- 4.0
|   |-- ...
|   `-- all_versions <== code common to all version of both core and effect API
|       |-- default  <== implementation shared code between core and effect impl
|       |-- test     <== utilities used by tests
|       `-- util     <== utilities used by both implementation and tests
|
|-- core             <== VTS and default implementation of the core API (not HIDL, see /audio/2.0))
|   `-- all_versions <== Code is version independent through #if and separate files
|       |-- default  <== code that wraps the legacy API
|       `-- vts      <== vts of core API
|           |-- 2.0  <== 2.0 specific tests and helpers
|           |-- 4.0
|           |-- ...
|
`-- effect           <== idem for the effect API
    |-- 2.0
    |-- 4.0
    |-- ...
    `-- all_versions
        |-- default
        `-- vts