Code example for SoundPool

Methods: autoPause

0
 
	/** 
	 * Call when game is paused 
	 */ 
	public static void onPause() { 
		soundPool.autoPause();
	} 
 
	/** 
	 * Call when game is resumed 
	 */ 
	public static void onResume() { 
		soundPool.autoResume();
	} 
 
	/** 
	 * @Title: getInstance 
	 * @Description: 得到该类的实例 
	 * @param: @return 
	 * @return: FGSimpleSoundEffect