Home | History | Annotate | Download | only in camera

Lines Matching defs:mSoundPool

128         // mSoundPool is created every time load() is called and cleared every
130 private SoundPool mSoundPool;
141 mSoundPool = new SoundPool(NUM_SOUND_STREAMS, getAudioTypeForSoundPool(), 0);
142 mSoundPool.setOnLoadCompleteListener(this);
147 mSoundIDs[i] = mSoundPool.load(mContext, SOUND_RES[i], 1);
154 if (mSoundPool != null) {
155 mSoundPool.release();
156 mSoundPool = null;
170 mSoundIDs[index] = mSoundPool.load(mContext, SOUND_RES[index], 1);
176 mSoundPool.play(mSoundIDs[index], 1f, 1f, 0, 0, 1f);
202 mSoundPool.play(soundID, 1f, 1f, 0, 0, 1f);