Code example for AudioManager

Methods: setStreamMute

0
			// mInfoView.setText(""); 
			// mInfoView.setVisibility(View.GONE); 
			// } 
			show(sDefaultTimeout); 
			mHandler.removeMessages(SHOW_PROGRESS); 
			mAM.setStreamMute(AudioManager.STREAM_MUSIC, false); 
			mDragging = false; 
			mHandler.sendEmptyMessageDelayed(SHOW_PROGRESS, 1000); 
		} 
	}; 
 
	private View.OnClickListener mSkipForwardListener = new View.OnClickListener() {
 
		public void onClick(View v) { 
			long skipOffset = (long) 10000 + mPlayer.getCurrentPosition(); 
			long duration = mPlayer.getDuration(); 
			if (skipOffset > duration) { 
				skipOffset = duration - 1; 
			} 
			mPlayer.seekTo(skipOffset); 
			show();