Home | History | Annotate | Download | only in camera

Lines Matching refs:mSoundPool

126         // mSoundPool is created every time load() is called and cleared every
128 private SoundPool mSoundPool;
139 mSoundPool = new SoundPool(NUM_SOUND_STREAMS, getAudioTypeForSoundPool(), 0);
140 mSoundPool.setOnLoadCompleteListener(this);
145 mSoundIDs[i] = mSoundPool.load(mContext, SOUND_RES[i], 1);
152 if (mSoundPool != null) {
153 mSoundPool.release();
154 mSoundPool = null;
168 mSoundIDs[index] = mSoundPool.load(mContext, SOUND_RES[index], 1);
174 mSoundPool.play(mSoundIDs[index], 1f, 1f, 0, 0, 1f);
200 mSoundPool.play(soundID, 1f, 1f, 0, 0, 1f);