commit | 5f7bf71e8bf9e43b55224900268de46eb61a3851 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Wed Feb 19 18:17:17 2020 -0800 |
committer | Andy Hung <hunga@google.com> | Wed Feb 19 19:45:09 2020 -0800 |
tree | f5101dedae28aa2bfdbcb18e1f080551f03557c5 | |
parent | 624328e32ab9a41b5d1d8f0b39fd543e65858c5a [diff] |
AudioMetadata: improve metadata bytestream parsing 1) simplify adding new types by automatically deducing the correct bytestream decoding method. 2) check bytestream length for all members. 3) update automatic parceling of simple structs a) allow empty structs b) compile time failure if number of members > 4. Test: atest metadata_tests Change-Id: Ia0e2f0ddb577e6f07026ab4ed736c2b52d9f6d2b