platform_hardware_interfaces/audio/7.0/config
Mikhail Naganov c9dbca51e6 audio: Align lists of enum values between framework and HAL
Enum values defined in the XSD now correspond to the
"no system definitions" lists of enums in
system/media/audio/audio-hal-enums.h.

Added channel masks that used to be in s/m/a/audio-base-utils.h.
Removed use of "vectors of vectors" for channel masks
since individual channels are not allowed to be used
in the APM config and at the HAL transport level.

Fixed definition of the gain mode of audio ports:

1. Since it's a bit mask in the framework, it must be a list in
   the audio policy configuration XML file. Note that the old
   definition is compatible with the new one as one element is a
   valid list.
2. As gain mode is defined in the XSD file, it shouldn't be
   defined again in types.hal.

Bug: 122858783
Bug: 142480271
Test: audio smoke tests
Change-Id: I2df5eb4bc4a393611d3adb0ee30583767197591b
Merged-In: I2df5eb4bc4a393611d3adb0ee30583767197591b
2020-12-01 23:37:53 +00:00
..
api audio: Align lists of enum values between framework and HAL 2020-12-01 23:37:53 +00:00
Android.bp Audio: Copy HAL V6 into V7 2020-10-27 15:24:36 +01:00
audio_policy_configuration.xsd audio: Align lists of enum values between framework and HAL 2020-12-01 23:37:53 +00:00
update_audio_policy_config.sh audio: HAL V7 tweaks 2020-11-21 01:15:03 +00:00