commit | 3ee519e182dfc26a7d6179604c816892385f3b03 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Wed May 06 16:56:22 2020 -0700 |
committer | Phil Burk <philburk@google.com> | Thu May 07 11:14:56 2020 -0700 |
tree | 4148b6fb676d79604ceb54b5a5f4c0cd1f1f1738 | |
parent | 686dac0cdb04834b889b1264f7a41c5d6ce25d2a [diff] |
aaudio: align AAudioServiceMessage for 32/64 bits Chromebook sometimes runs 32 and 64-bit code together. That caused messages between the code to be rejected because the struct sizes did not match. So we used alignas(8) to force members to 8 byte boundaries. Bug: 155901581 Test: Launch OboeTester Test: Tap TEST OUTPUT Test: Tap OPEN and START Test: You should get "MMAP YES" if MMAP is supported by the device. Change-Id: I0cd6a59a974888ef17b06b38fa78f032d602cd57