| commit | e6c17b6670e9c2993f161aebde3e769bb3f9bbb1 | [log] [tgz] |
|---|---|---|
| author | jiabin <jiabin@google.com> | Tue May 27 23:37:58 2025 +0000 |
| committer | jiabin <jiabin@google.com> | Tue May 27 23:37:58 2025 +0000 |
| tree | 08bd5df2de16a6277bce5f66c3fbe41068e8a2c2 | |
| parent | 4ca44fb4a649daca47d1b8358541513509ece14b [diff] |
Only return early from data processing if it is not using data callback. For data callback case, it is relying on the wakeup time to control the callback is called at the right frequency to avoid xrun. In that case, when using data callback, it should still suspend until the wakup time even if all data has been processed. Bug: 420739849 Test: atest AAudioTests Test: OboeTester, test output in shared mode Flag: EXEMPT bugfix Change-Id: I7c3747bcb347316f403a28ee84e2f82b30494793