public static AudioEngine create(EngineInitSettings initSettings) { global::System.IntPtr cPtr = Audio360CSharpPINVOKE.AudioEngine_create__SWIG_0(EngineInitSettings.getCPtr(initSettings)); AudioEngine ret = (cPtr == global::System.IntPtr.Zero) ? null : new AudioEngine(cPtr, true); if (Audio360CSharpPINVOKE.SWIGPendingException.Pending) { throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static global::System.Runtime.InteropServices.HandleRef getCPtr(EngineInitSettings obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }