Code example for SoundPool

Methods: autoResume

0
		} 
	} 
 
	public static void resumeAll() 
	{ 
		mSoundPool.autoResume();
 
		if (mediaPlayer != null && mMusicWasPlaying && !mAudioManager.isMusicActive()) {
			mediaPlayer.start ();
		}	 
		 
	} 
	private static int _poolReady = 0;
	public static int isPoolReady(){ 
		return _poolReady;
	} 
	/* 
	 * Sound effects using SoundPool 
	 * 
	 * This allows for low latency and CPU load but sounds must be 100kB or smaller 
Contextual code suggestions in your IDE  Get Codota for Java