Searched refs:mSoundPool (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java69 private SoundPool mSoundPool = null; field in class:SoundPoolTest.TestThread
83 synchronized(mSoundPool) {
89 mSoundPool.notify();
96 int id = mSoundPool.load(getApplicationContext(), resId, priority);
105 if (mSoundPool != null) {
107 mSoundPool.release();
108 mSoundPool = null;
114 mSoundPool = new SoundPool(numStreams, AudioSystem.STREAM_MUSIC, 0);
115 mSoundPool.setOnLoadCompleteListener(new LoadCompleteCallback());
120 synchronized(mSoundPool) {
[all...]
/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.cpp62 mSoundPool(soundPool)
106 sp <Sample> sample = mSoundPool->findSample(sampleID);
111 mSoundPool->notify(SoundPoolEvent(SoundPoolEvent::SAMPLE_LOADED, sampleID, status));
H A DSoundPoolThread.h60 SoundPool* mSoundPool; member in class:android::SoundPoolThread
H A DSoundPool.cpp543 mSoundPool = soundPool;
573 int streamType = mSoundPool->streamType();
752 mSoundPool->addToStopList(this);
778 mSoundPool->done_l(this);
792 mSoundPool->done_l(this);
H A DSoundPool.h148 SoundPool* mSoundPool; member in class:android::SoundChannel
/frameworks/base/media/java/android/media/
H A DSoundPool.java438 private SoundPool mSoundPool; field in class:SoundPool.EventHandler
442 mSoundPool = soundPool;
452 mOnLoadCompleteListener.onLoadComplete(mSoundPool, msg.arg1, msg.arg2);
H A DAudioService.java147 private SoundPool mSoundPool; field in class:AudioService
1025 if (mSoundPool != null) {
1028 mSoundPool = new SoundPool(NUM_SOUNDPOOL_CHANNELS, AudioSystem.STREAM_SYSTEM, 0);
1029 if (mSoundPool == null) {
1051 mSoundPool.release();
1052 mSoundPool = null;
1081 int sampleId = mSoundPool.load(filePath, 0);
1124 mSoundPool.release();
1125 mSoundPool = null;
1138 if (mSoundPool
[all...]

Completed in 210 milliseconds