Code example for SoundPool

Methods: unload

0
	 * If the sound is currently playing. Only knows if it is looping. 
	 */ 
	public boolean getPlaying() { return mLooping && mPlayed; }
	 
	public void release() { 
		SOUND_POOL.unload(mStreamId);
		SOUNDS.remove(this);
	} 
	 
	public static void releaseAll() { 
		if (SOUND_POOL != null) {
			SOUND_POOL.release();
			SOUND_POOL = null;
		} 
		SOUNDS.clear();
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java