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

/frameworks/base/media/java/android/media/
H A DMediaActionSound.java45 private SoundPool mSoundPool; field in class:MediaActionSound
97 mSoundPool = new SoundPool(NUM_MEDIA_SOUND_STREAMS,
99 mSoundPool.setOnLoadCompleteListener(mLoadCompleteListener);
125 mSoundPool.load(SOUND_FILES[soundName], 1);
164 mSoundPool.load(SOUND_FILES[soundName], 1);
167 mSoundPool.play(mSoundIds[soundName], 1.0f, 1.0f, 0, 0, 1.0f);
193 if (mSoundPool != null) {
194 mSoundPool.release();
195 mSoundPool = null;
H A DSoundPool.java574 private SoundPool mSoundPool; field in class:SoundPool.SoundPoolImpl.EventHandler
578 mSoundPool = soundPool;
588 mOnLoadCompleteListener.onLoadComplete(mSoundPool, msg.arg1, msg.arg2);
H A DAudioService.java184 private SoundPool mSoundPool; field in class:AudioService
1838 if (mSoundPool != null) {
1840 mSoundPool.setOnLoadCompleteListener(mSoundPoolCallBack);
3282 if (mSoundPool != null) {
3288 mSoundPool = new SoundPool(NUM_SOUNDPOOL_CHANNELS, AudioSystem.STREAM_SYSTEM, 0);
3309 mSoundPool.release();
3310 mSoundPool = null;
3339 int sampleId = mSoundPool.load(filePath, 0);
3384 mSoundPool.release();
3385 mSoundPool
[all...]
/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/av/media/libmedia/
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.cpp541 mSoundPool = soundPool;
571 audio_stream_type_t streamType = mSoundPool->streamType();
752 mSoundPool->addToStopList(this);
780 mSoundPool->done_l(this);
794 mSoundPool->done_l(this);
/frameworks/av/include/media/
H A DSoundPool.h153 SoundPool* mSoundPool; member in class:android::SoundChannel

Completed in 217 milliseconds