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: I4538dd9114192464c25397e2e4b6b6153f947c36
Merged-In: I4538dd9114192464c25397e2e4b6b6153f947c36
1 file changed
tree: 2c2b4ae456cc6050aaca2d5d85163e324d1428ec
  1. doc/
  2. include/
  3. src/
  4. tests/
  5. tools/
  6. Android.bp
  7. OWNERS