Searched defs:mSoundPool (Results 1 - 6 of 6) sorted by relevance
/frameworks/av/media/libmedia/ |
H A D | SoundPoolThread.h | 60 SoundPool* mSoundPool; member in class:android::SoundPoolThread
|
/frameworks/base/media/java/android/media/ |
H A D | MediaActionSound.java | 45 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 D | SoundPool.java | 574 private SoundPool mSoundPool; field in class:SoundPool.SoundPoolImpl.EventHandler 578 mSoundPool = soundPool; 588 mOnLoadCompleteListener.onLoadComplete(mSoundPool, msg.arg1, msg.arg2);
|
H A D | AudioService.java | 184 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 D | SoundPoolTest.java | 69 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 D | SoundPool.h | 153 SoundPool* mSoundPool; member in class:android::SoundChannel
|
Completed in 373 milliseconds