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 }); }
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 }); }