commit | 88536dfa674d6abd4fed0bca29241aa3621c3da9 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon Jul 26 17:30:29 2021 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Jul 27 16:31:25 2021 -0700 |
tree | a455252e7615d2f6d6d2729c9288fe684ab39199 | |
parent | 5ee3b99005b5670980795a5a9196a39fdd6d2c63 [diff] |
Refactor AudioIoDescriptor The following changes were made: 1. Make the class mostly immutable (except for the 'mPatch' field). 2. Provide constructors for specific use cases. 3. Add 'isInput' field instead of deducing it by patch data. 4. Provide conversion to string for logging. 5. Rename 'audio_io_config_event' to 'audio_io_config_event_t' to conform to other enum type names. Bug: 188932434 Test: m Change-Id: I35e5c83bcb917f60d01ee977eef9b869c3894074