summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2019-07-02 14:35:42 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2019-09-10 15:46:25 +0000
commit7324049f9a5945be664a74db0d139dd330b29442 (patch)
tree369d76b728994c51abb9f11c7d064c5e42faafba /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent96b3acd780ba9b8044e5d06d2e3875097495678d (diff)
Refactor SoundEffectsHelper for asynchronous loading
Use a dedicated thread for all SoundPool and MediaPlayer operations. This ensures that the client (AudioService) doesn't get blocked or delayed. This also removes the need to use locking as all access to data happens on the same thread. Simplify the implementation of the mapping between UI effect IDs and SoundPool sample IDs. Add event logging for sound effects loading. Bug: 135763139 Test: normal scenario media volume responsiveness with stuck SoundPool behavior when declared sound assets are missing Change-Id: Ie5a1684a2cabe05ff53270ad97cab161a87a59f9 Merged-In: Ie5a1684a2cabe05ff53270ad97cab161a87a59f9
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions