private static IntPtr CreateBasedOn(AudioGenerator basedOn, string name) { IntPtr handle; UInt32 status = OpenNIImporter.xnCreateMockNodeBasedOn(basedOn.GetContext().InternalObject, basedOn.InternalObject, name, out handle); WrapperUtils.CheckStatus(status); return handle; }
private static IntPtr CreateBasedOn(AudioGenerator basedOn, string name) { IntPtr handle; UInt32 status = OpenNIImporter.xnCreateMockNodeBasedOn(basedOn.GetContext().InternalObject, basedOn.InternalObject, name, out handle); WrapperUtils.CheckStatus(status); return(handle); }
public MockAudioGenerator(AudioGenerator basedOn) : this(basedOn, null) { }
public MockAudioGenerator(AudioGenerator basedOn, string name) : this(CreateBasedOn(basedOn, name), false) { }