diff options
author | Mikhail Naganov <mnaganov@google.com> | 2020-10-02 11:50:15 -0700 |
---|---|---|
committer | Mikhail Naganov <mnaganov@google.com> | 2020-11-24 03:44:08 +0000 |
commit | 12776a1b3d5fba29b2019aee0661e91d5d06d3a3 (patch) | |
tree | fdd0ed5fe1ec9b56915c63f7fbe8c473a98af450 /boot/1.2/default/BootControl.cpp | |
parent | c86759a16bbafdbc60e38abebda7cd625dec5410 (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
Merged-In: I07e96ae99724f38fe0b40194f4feab7ff68418e7
Diffstat (limited to 'boot/1.2/default/BootControl.cpp')
0 files changed, 0 insertions, 0 deletions