OSDN Git Service

DO NOT MERGE SoundPool: add lock for findSample access from SoundPoolThread
authorAndy Hung <hunga@google.com>
Tue, 1 Dec 2015 00:09:55 +0000 (16:09 -0800)
committerAndy Hung <hunga@google.com>
Wed, 2 Dec 2015 23:28:28 +0000 (23:28 +0000)
commit0a887bcd5c5a8056735d221ad71afcff1f6eb1a6
treed587bbf883406fc0d8b0c7bb1a2482522d312f30
parentb7768918014d34c2e4d74abefeb03956aee421fc
DO NOT MERGE SoundPool: add lock for findSample access from SoundPoolThread

Sample decoding still occurs in SoundPoolThread
without holding the SoundPool lock.

Bug: 25781119
Change-Id: I11fde005aa9cf5438e0390a0d2dfe0ec1dd282e8
(cherry picked from commit 0275a982abecee683f16c827d405eafe51fb67ae)
media/jni/soundpool/SoundPool.cpp
media/jni/soundpool/SoundPool.h