Lines Matching defs:mSoundPool
240 SoundPool mSoundPool; // playback synchronized on this
450 if (mSoundPool == null) {
451 mSoundPool = new SoundPool(1, AudioManager.STREAM_NOTIFICATION, 0);
452 mStartSound = mSoundPool.load(mContext, R.raw.start, 1);
453 mEndSound = mSoundPool.load(mContext, R.raw.end, 1);
454 mErrorSound = mSoundPool.load(mContext, R.raw.error, 1);
461 if (mSoundPool != null) {
462 mSoundPool.release();
463 mSoundPool = null;
813 if (mSoundPool == null) {
819 mSoundPool.play(mStartSound, 1.0f, 1.0f, 0, 0, 1.0f);
822 mSoundPool.play(mEndSound, 1.0f, 1.0f, 0, 0, 1.0f);
825 mSoundPool.play(mErrorSound, 1.0f, 1.0f, 0, 0, 1.0f);