Code example for SoundPool

Methods: release

0
			} 
		} 
	} 
 
	public void end() { 
		this.mSoundPool.release();
		this.mPathStreamIDsMap.clear();
		this.mPathSoundIDMap.clear();
		this.mEffecToPlayWhenLoadedArray.clear();
 
		this.mLeftVolume = 0.5f;
		this.mRightVolume = 0.5f;
 
		this.initData();
	} 
 
	public int createSoundIDFromAsset(final String pPath) {
		int soundID = Cocos2dxSound.INVALID_SOUND_ID;
 
		try { 
			if (pPath.startsWith("/")) {