commit | 6e8bf981aca33625e133ab8f9daafd1652b0eced | [log] [tgz] |
---|---|---|
author | Tomoharu Kasahara <tomoharu.kasahara@sony.com> | Fri Jun 09 16:17:33 2017 +0900 |
committer | Tomoharu Kasahara <tomoharu.kasahara@sony.com> | Wed Aug 08 13:04:48 2018 +0900 |
tree | f2d0795e2315bd37e6b598394d042e5068ac3120 | |
parent | 25af42f8bff5a973205bbc36d8617a133e908c51 [diff] |
Prevent old callback events when track is recycled When a track is reused from SoundPool and started again, the previous callback events could be done after track started, then the new playback will be stopped unintentionally. Clear the old cblk flags when recycled track is started again to avoid triggering unexpected callback events. Bug: 112269355 Test: Playback with SoundPool frequently Change-Id: I111b085d08b73c333fbb0fc2896efe1c013c584c