Code example for AudioManager

Methods: setStreamMute

0
		public void onStartTrackingTouch(SeekBar bar) { 
			mDragging = true; 
			show(3600000); 
			mHandler.removeMessages(SHOW_PROGRESS); 
			if (mInstantSeeking) 
				mAM.setStreamMute(AudioManager.STREAM_MUSIC, true); 
			// if (mInfoView != null) { 
			// mInfoView.setText(""); 
			// mInfoView.setVisibility(View.VISIBLE); 
			// } 
		} 
 
		public void onProgressChanged(SeekBar bar, int progress, 
				boolean fromuser) { 
			if (!fromuser) 
				return; 
 
			long newposition = (mDuration * progress) / 1000; 
			String time = new SimpleDateFormat("HH:mm:ss", Locale.getDefault()) 
					.format(new Date(newposition)); 
			if (mInstantSeeking)