Code example for SoundPool

Methods: releaseunload

0
	 
	@Override 
	protected void onPause() { 
		super.onPause(); 
		if (isFinishing()) {
			sound_pool.unload(explosion_id);
			sound_pool.release();
		} 
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java