commit | 222c4ce6b3d0e34fcb29d2125d2f0db6f5670439 | [log] [tgz] |
---|---|---|
author | jiabin <[email protected]> | Thu Feb 18 01:03:41 2021 +0000 |
committer | jiabin <[email protected]> | Thu Feb 18 21:06:21 2021 +0000 |
tree | 008be32bde9ca6df0b13adddaf9aa485558f3dbb | |
parent | 34a3e6ef5262937a146793dd290ae53e1082342b [diff] |
Do not stop audio track when the buffer queue is empty. Stopping audio track is not required as there is automatic underrun detection in AudioFlinger. When the buffer queue is empty, the audio track will be underrun. When there is new buffer available, the audio track will be restarted automatically. Bug: 154868033 Test: Use OboeTester to play audio via OpenSL ES. Change-Id: Ia051b6639fac4d4fe7c505cff07676b52b6b4fa7