Code example for AudioManager

Methods: setStreamMute

0
		return true; 
	} 
	 
	private void mute() { 
		if (!m_muted) {
			m_am.setStreamMute(AudioManager.STREAM_RING, true);
			m_muted = true;
		} 
	} 
 
	private void unmute() { 
		if (m_muted) {
			m_am.setStreamMute(AudioManager.STREAM_RING, false);
			m_muted = false;
		} 
	} 
}