public virtual EngineError open(string nameAndPath, AssetDescriptor ad) { EngineError ret = (EngineError)Audio360CSharpPINVOKE.NativeAudioObject_open__SWIG_1(swigCPtr, nameAndPath, AssetDescriptor.getCPtr(ad)); if (Audio360CSharpPINVOKE.SWIGPendingException.Pending) { throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual EngineError open(string nameAndPath, AssetDescriptor ad, ChannelMap map) { EngineError ret = (EngineError)Audio360CSharpPINVOKE.NativeSpatDecoderFile_open__SWIG_2(swigCPtr, nameAndPath, AssetDescriptor.getCPtr(ad), (int)map); if (Audio360CSharpPINVOKE.SWIGPendingException.Pending) { throw Audio360CSharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }