public CSourceWrapper LoadFile(string filePath) { IntPtr cPtr = SwigEnginePINVOKE.CEngineWrapper_LoadFile(swigCPtr, filePath); CSourceWrapper ret = (cPtr == IntPtr.Zero) ? null : new CSourceWrapper(cPtr, false); return(ret); }
public CSoundWrapper PlayFile(string filePath, bool playLooped, bool startPaused) { IntPtr cPtr = SwigEnginePINVOKE.CEngineWrapper_PlayFile__SWIG_1(swigCPtr, filePath, playLooped, startPaused); CSoundWrapper ret = (cPtr == IntPtr.Zero) ? null : new CSoundWrapper(cPtr, false); return(ret); }
public CSoundWrapper PlayFile(string filePath) { IntPtr cPtr = SwigEnginePINVOKE.CEngineWrapper_PlayFile__SWIG_0(swigCPtr, filePath); CSoundWrapper ret = (cPtr == IntPtr.Zero) ? null : new CSoundWrapper(cPtr, false); return(ret); }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; SwigEnginePINVOKE.delete_CSourceWrapper(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); } GC.SuppressFinalize(this); } }
public uint getPlayLength() { uint ret = SwigEnginePINVOKE.CSourceWrapper_getPlayLength(swigCPtr); return(ret); }
public CSourceWrapper(SWIGTYPE_p_ISoundSource source) : this(SwigEnginePINVOKE.new_CSourceWrapper(SWIGTYPE_p_ISoundSource.getCPtr(source)), true) { }
public uint getPlayPosition() { uint ret = SwigEnginePINVOKE.CSoundWrapper_getPlayPosition(swigCPtr); return(ret); }
public void Stop() { SwigEnginePINVOKE.CSoundWrapper_Stop(swigCPtr); }
public CSoundWrapper(SWIGTYPE_p_ISound sound) : this(SwigEnginePINVOKE.new_CSoundWrapper(SWIGTYPE_p_ISound.getCPtr(sound)), true) { }
public CEngineWrapper() : this(SwigEnginePINVOKE.new_CEngineWrapper(), true) { }