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);
    }
Esempio n. 3
0
 public Sound(CSoundWrapper sound)
 {
     this.sound = sound;
 }
 internal static HandleRef getCPtr(CSoundWrapper obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }