Exemple #1
0
 public void setPos(SWIGTYPE_p_pj_uint32_t samples)
 {
     pjsua2PINVOKE.AudioMediaPlayer_setPos(swigCPtr, SWIGTYPE_p_pj_uint32_t.getCPtr(samples));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
    public SWIGTYPE_p_pj_uint32_t getPos()
    {
        SWIGTYPE_p_pj_uint32_t ret = new SWIGTYPE_p_pj_uint32_t(pjsua2PINVOKE.AudioMediaPlayer_getPos(swigCPtr), true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pj_uint32_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }