Code example for SoundPool

Methods: release

0
	/** 
	 * Deallocates the resources and Instance of SoundManager 
	 */ 
	public static void cleanup() 
	{ 
		if (mSoundPool != null) mSoundPool.release();
		mSoundPool = null;
		if (mSoundPoolMap != null) mSoundPoolMap.clear();
		if (mAudioManager != null) mAudioManager.unloadSoundEffects();
	    _instance = null;
  
	} 
  
}