コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }