Home | History | Annotate | Download | only in camera

Lines Matching defs:mSoundPool

113         // mSoundPool is created every time load() is called and cleared every
115 private SoundPool mSoundPool;
128 mSoundPool = new SoundPool(NUM_SOUND_STREAMS, audioType, 0);
129 mSoundPool.setOnLoadCompleteListener(this);
134 mSoundIDs[i] = mSoundPool.load(mContext, SOUND_RES[i], 1);
141 if (mSoundPool != null) {
142 mSoundPool.release();
143 mSoundPool = null;
157 mSoundIDs[index] = mSoundPool.load(mContext, SOUND_RES[index], 1);
163 mSoundPool.play(mSoundIDs[index], 1f, 1f, 0, 0, 1f);
189 mSoundPool.play(soundID, 1f, 1f, 0, 0, 1f);