コード例 #1
0
ファイル: SoundSample.cs プロジェクト: shin527/cspspemu
		public static StereoIntSoundSample Mix(StereoIntSoundSample A, StereoIntSoundSample B)
		{
			return new StereoIntSoundSample((int)((A.Left + B.Left) / 2), (int)((A.Right + B.Right) / 2));
		}
コード例 #2
0
 public static StereoIntSoundSample Mix(StereoIntSoundSample a, StereoIntSoundSample b) =>
 new StereoIntSoundSample((a.Left + b.Left) / 2, (a.Right + b.Right) / 2);