commit | 9da19c7cfab19dd49080b33363efdfa60a02fd49 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri Oct 02 11:50:15 2020 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Oct 08 17:25:09 2020 +0000 |
tree | 9d59840ecf3307baf785b9214eeb6dbb7c899108 | |
parent | 943b0e629014cde20aff59ca0aa39409afc9d8a2 [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: I07e96ae99724f38fe0b40194f4feab7ff68418e7