Code example for SoundPool

Methods: releaseunload

0
			BlockHit = pool.load(cn, R.raw.turi, 1);
		} 
	}	 
	public static void sound_Unload(){ 
		if (pool != null) {
			pool.unload(SoundHit);
			pool.unload(BlockHit);
			pool.release();
			pool = null;
		} 
	} 
	public static void sound_Load_ex(Context cn){
		if(pool == null){
			pool = new SoundPool(10, AudioManager.STREAM_MUSIC, 0);
			SoundHit = pool.load(cn, R.raw.pon, 1);
			BlockHit = pool.load(cn, R.raw.turi, 1);
			BallHit =  pool.load(cn, R.raw.poyon, 1);
		} 
	} 
	public static void sound_Unload_ex(){ 
		if (pool != null) {