commit | b3cb72a17d9a472883e9e2faa18b42eac533fe99 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Sat Oct 12 17:05:19 2013 -0700 |
committer | Eric Laurent <elaurent@google.com> | Sat Oct 12 17:05:19 2013 -0700 |
tree | 0cd89996f1cd52cdee00325e69e8c287b7a89439 | |
parent | 15ad2470b2f2ac34473eb568b606ad75e8e63ac6 [diff] |
SoundPool: handle new audio track event If the AudioTrack is torn down, SoundPool will never receive the buffer end event and the track will stay active for ever. The fix consists in stopping the AudioTrack when a new audiotrack event is received. Bug: 11193583. Change-Id: I9876eb2a8f75c601368f669acd67b0accf6e2736