commit | 5cc83c3b8acc43b760be23a4e3b96fbbb06d8e93 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Tue Nov 28 15:43:18 2017 -0800 |
committer | Phil Burk <philburk@google.com> | Wed Jan 24 15:21:34 2018 +0000 |
tree | 81c8578d69173d3e948a938e46d54e8385d254c4 | |
parent | bb8ad0e6ebf1a74245929720fd6336feda926ea9 [diff] |
aaudio: fix some state transitions Now requestStop() and requestPause() do the appropriate thing based on state. Flush is allowed when OPEN, PAUSED or STOPPED because there might be pre-roll data. Bug: 69810494 Test: test_various.cpp Change-Id: Ie1b306b17734a58fa71b1742bb186482893656b7