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. Added 'AUDIO_SOURCE_HOTWORD'. Bug: 122858783 Bug: 142480271 Test: audio smoke tests Change-Id: Ie5896775b6bc7dfd3ab158c4a7b497dbda827e9d
Loading
Please register or sign in to comment