Searched defs:mSoundPool (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/media/libmedia/
H A DSoundPoolThread.h60 SoundPool* mSoundPool; member in class:android::SoundPoolThread
/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.java436 private SoundPool mSoundPool; field in class:SoundPool.EventHandler
440 mSoundPool = soundPool;
450 mOnLoadCompleteListener.onLoadComplete(mSoundPool, msg.arg1, msg.arg2);
H A DAudioService.java184 private SoundPool mSoundPool; field in class:AudioService
1593 if (mSoundPool != null) {
1596 mSoundPool = new SoundPool(NUM_SOUNDPOOL_CHANNELS, AudioSystem.STREAM_SYSTEM, 0);
1615 mSoundPool.release();
1616 mSoundPool = null;
1645 int sampleId = mSoundPool.load(filePath, 0);
1688 mSoundPool.release();
1689 mSoundPool = null;
1702 if (mSoundPool == null) {
1719 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/include/media/
H A DSoundPool.h148 SoundPool* mSoundPool; member in class:android::SoundChannel

Completed in 116 milliseconds