commit | 6ac34ec0647d97944d84c4b1a1c22e84262b4771 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Oct 01 15:08:31 2020 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Mon Oct 12 14:32:51 2020 -0700 |
tree | 70830135f19b78a0dd3e192ce966232a0c40def4 | |
parent | 384be0372436adb927edf3f54629a2f83206884f [diff] |
Convert mask types from uint32_t to enum type This applies to the following types: - audio_gain_mode_t; - audio_flags_mask_t; - audio_channel_representation_t; - audio_channel_mask_t; - audio_devices_t. Enum types are distinct thus proper overloading on the type is possible in C++. Also, assignments to enum types are less prone to errors. Bug: 169889714 Test: basic audio functionality Change-Id: I1efb2289bbab3f5d1cab4d8c404f468f472ff33b