commit | c9c49cdffb5c344d3ed81f3b4f9575d5b93b83e1 | [log] [tgz] |
---|---|---|
author | yucliu <yucliu@google.com> | Mon Jul 13 16:25:21 2020 -0700 |
committer | Yuchen Liu <yucliu@google.com> | Thu Aug 13 19:08:20 2020 +0000 |
tree | 6edf6d93a7a67eeefe765aa1e1b58097fd13baa2 | |
parent | 6559924d9f035c5707a2a2de0d415cd463e4c831 [diff] |
Add flag DIRECT to track flags for track running on DirectOutputThread If the playback thread is DirectOutputThread, add AUDIO_OUTPUT_FLAG_DIRECT to the track's flags. This allows HAL to receive `Flush`, as well as many other control signals, when client sends the commands. Bug: 111196161 Test: On device Change-Id: I48fae1e05cfb7aabf53a050c72ec78d18e478b0a