예제 #1
0
        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
        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 });
        }