コード例 #1
0
ファイル: IAudioEngine.cs プロジェクト: ermau/Gablarski
        public static void BeginCapture(this IAudioEngine self, AudioSource source, IUserInfo user)
        {
            if (self == null)
            {
                throw new ArgumentNullException("self");
            }
            if (user == null)
            {
                throw new ArgumentNullException("user");
            }

            self.BeginCapture(source, new[] { user });
        }
コード例 #2
0
ファイル: IAudioEngine.cs プロジェクト: ermau/Gablarski
        public static void BeginCapture(this IAudioEngine self, AudioSource source, IChannelInfo channel)
        {
            if (self == null)
            {
                throw new ArgumentNullException("self");
            }
            if (channel == null)
            {
                throw new ArgumentNullException("channel");
            }

            self.BeginCapture(source, new[] { channel });
        }