Exemple #1
0
		private void Button13_Click(object sender, System.EventArgs e)
		{
			int left = 0;
			int right = 0;
			TStreamTime startpos = new TStreamTime();
			TStreamTime endpos = new TStreamTime();

			player.GetPlayerVolume(ref left, ref right);
			player.GetPosition(ref startpos);
			endpos.sec = System.Convert.ToUInt32(startpos.sec + 5);
			player.SlideVolume(TTimeFormat.tfSecond, ref startpos, left, right, TTimeFormat.tfSecond, ref endpos, 100, 100);
		}