Code example for SoundPool

Methods: pause

0
	/** 
	 * Stops the sound if it is currently playing. 
	 * @return 
	 */ 
	public boolean stop() { 
		SOUND_POOL.pause(mStreamId);
		mLooping = false;
		return true; 
	} 
	 
	/** 
	 * Resumes the sound from the position stop() was called on it. 
	 */ 
	public void resume() { 
		SOUND_POOL.resume(mStreamId);
	} 
	 
	/** 
	 * Get the volume factor (a value from 0 to 1) of the sound during playback. 
	 */ 
Contextual code suggestions in your IDE  Get Codota for Java