platform_hardware_interfaces/audio
Kevin Rocard 6166ef40f9 Audio VTS: Move version specific code to its own file
Move most version specific VTS in their own files.
Keeping the mostly common code in a header.

Bug: 118203066
Test: compile
Change-Id: I458e120c702cc0199104ec13244752d5587686bd
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-11-28 20:29:52 -08:00
..
2.0 Audio V4: Move service entry point to common 2018-03-06 11:30:51 -08:00
4.0 Update comments for doc comments. 2018-05-18 10:10:32 -07:00
4.1/config audio: Add configuration for surround sound 2018-10-04 15:59:37 -07:00
common Audio HAL: Align V2 and V4 VTS 2018-11-28 17:56:19 -08:00
core Audio VTS: Move version specific code to its own file 2018-11-28 20:29:52 -08:00
effect Audio HAL: Align V2 and V4 VTS 2018-11-28 17:56:19 -08:00
README Audio V4: Copy 2.0 .hal files in 4.0 2018-01-31 10:39:47 -08:00

Directory structure of the audio HIDL related code.

audio
|-- 2.0              <== HIDL (.hal) can not be moved to fit the directory structure
|                        because that would create a separate HAL
|-- 4.0              <== Version 4.0 of the core API
|
|-- common           <== code common to audio core and effect API
|   |-- 2.0
|   |   |-- default  <== code that wraps the legacy API
|   |   `-- vts      <== vts of 2.0 core and effect API common code
|   |-- 4.0
|   |   |-- default
|   |   `-- vts
|   |-- ...          <== The future versions should continue this structure
|   |   |-- default
|   |   `-- vts
|   `-- all_versions <== code common to all version of both core and effect API
|       |-- default
|       `-- vts      <== vts of core and effect API common version independent code
|
|-- core           <== code relative to the core API
|   |-- 2.0          <== 2.0 core API code (except .hal, see audio/2.0)
|   |   |-- default
|   |   `-- vts
|   |-- 4.0
|   |   |-- default  <== default implementation of the core 4.0 api
|   |   `-- vts      <== vts code of the 4.0 API
|   |-- ...
|   |   |-- default
|   |   `-- vts
|   `-- all_versions
|       |-- default
|       `-- vts      <== vts of core API common version independent code
|
`-- effect           <== idem for the effect API
    |-- 2.0
    |   |-- default
    |   `-- vts
    |-- 4.0
    |   |-- default
    |   `-- vts
    |-- ...
    |   |-- default
    |   `-- vts
    `-- all_versions
        |-- default
        `-- vts