commit | 5d3eb44a749ece55ce345f9d8ac608fc3715f9da | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Mar 21 15:35:10 2013 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Mar 25 16:28:35 2013 -0700 |
tree | 902536fd62aec3a9b267c6aa631cb33a8221d7d9 | |
parent | c1905339bcb67c11380a366c5ac98da82e6e9b7b [diff] |
AudioService: rewrite sound effects loading Handle all access to SoundPool in the message Handler to synchronize load/unload and play requests. Add a timeout to load operations in case a problem occurs while loading a sample and the SoundPool callback is not called. Bug 6633095 Change-Id: I39949e4c8b2f7ca2d8b760b1f92c7e0fcd0a46e1