diff options
author | Mikhail Naganov <mnaganov@google.com> | 2020-10-01 15:08:00 -0700 |
---|---|---|
committer | Mikhail Naganov <mnaganov@google.com> | 2020-10-08 17:24:50 +0000 |
commit | 93ce89aa73e9f64925911655d8b35bc1fe27a2da (patch) | |
tree | fcc277d53f3af5fb723d9df522fe5e2082fda068 /rs/java/android/renderscript/ProgramStore.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions