commit | 32011ea4f144b46b5ab64577465983caf6303f2d | [log] [tgz] |
---|---|---|
author | Niels Egberts <nielse@google.com> | Tue Feb 13 13:24:56 2018 +0000 |
committer | Niels Egberts <nielse@google.com> | Tue Feb 13 18:13:36 2018 +0000 |
tree | 233caf28b7c384314812d5d9f9a1cf03dbf035e2 | |
parent | 2f711fec15b132b46e0d216d61b868aa27cb7064 [diff] |
Fix race condition with calling stop() before run() The code assumed that when stop() is called before run(), it's not neccessary to signal mNotFull, but in rare cases the synthesizer may already have filled the buffer before run() is called. Test: manual Bug: 70887227 Change-Id: I83117f3541d37830b344bc9eda34e1f380b58e76