CSPspEmu.Core.Audio.StereoIntSoundSample.Mix C# (CSharp) Method

Mix() private method

private Mix ( StereoIntSoundSample A, StereoIntSoundSample B ) : StereoIntSoundSample
A StereoIntSoundSample
B StereoIntSoundSample
return StereoIntSoundSample
        public static StereoIntSoundSample Mix(StereoIntSoundSample A, StereoIntSoundSample B)
        {
            return new StereoIntSoundSample((int)((A.Left + B.Left) / 2), (int)((A.Right + B.Right) / 2));
        }