commit | 93ce89aa73e9f64925911655d8b35bc1fe27a2da | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Oct 01 15:08:00 2020 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Oct 08 17:24:50 2020 +0000 |
tree | fcc277d53f3af5fb723d9df522fe5e2082fda068 | |
parent | eb806d847dfbbb3a2c4738ff199e4bc96087106b [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: I7f32a7c7741dea88fa2fd8a2e7fe50d0c31eb2e7