Lines Matching defs:mSoundPool
204 SoundPool mSoundPool; // playback synchronized on this
388 if (mSoundPool == null) {
389 mSoundPool = new SoundPool(1, AudioManager.STREAM_NOTIFICATION, 0);
390 mStartSound = mSoundPool.load(mContext, R.raw.start, 1);
391 mEndSound = mSoundPool.load(mContext, R.raw.end, 1);
392 mErrorSound = mSoundPool.load(mContext, R.raw.error, 1);
399 if (mSoundPool != null) {
400 mSoundPool.release();
401 mSoundPool = null;
627 if (mSoundPool == null) {
633 mSoundPool.play(mStartSound, 1.0f, 1.0f, 0, 0, 1.0f);
636 mSoundPool.play(mEndSound, 1.0f, 1.0f, 0, 0, 1.0f);
639 mSoundPool.play(mErrorSound, 1.0f, 1.0f, 0, 0, 1.0f);