platform_hardware_interfaces/audio
Mikhail Naganov 6c070ca4e8 audio: Add IDevice::updateAudioPatch method
Add method 'updateAudioPatch' which should be used when
an existing patch needs to be updated with new routing.
Use of this method allows audio HAL to avoid disrupting
audio stream while changing routing.

Bug: 79248321
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I6c87f67fa4f2463ba9e8f0272a3232f5c9c55714
2019-12-13 19:28:37 -08:00
..
2.0 Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
4.0 Audio HAL: Add missing device to XSD 2019-10-11 23:32:30 +00:00
5.0 audio: add 'useForVolume' field to 'gain'. 2019-11-15 10:39:58 -08:00
6.0 audio: Add IDevice::updateAudioPatch method 2019-12-13 19:28:37 -08:00
common Merge "add SoundTrigger HAL V2.3" 2019-12-12 21:37:00 +00:00
core/all-versions audio: Add IDevice::updateAudioPatch method 2019-12-13 19:28:37 -08:00
effect Audio effect HAL: Add device ID to createEffect API 2019-12-09 09:46:37 -08:00
README Update README 2019-10-08 11:09:46 +01:00

Directory structure of the audio HIDL related code.

Run `common/all-versions/copyHAL.sh` to create a new version of the audio HAL
based on an existing one.

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