Beispiel #1
0
    public virtual void Dispose()
    {
        AkObjectInfo info = this;

        lock (info)
        {
            if (this.swigCPtr != IntPtr.Zero)
            {
                if (this.swigCMemOwn)
                {
                    this.swigCMemOwn = false;
                    AkSoundEnginePINVOKE.CSharp_delete_AkObjectInfo(this.swigCPtr);
                }
                this.swigCPtr = IntPtr.Zero;
            }
            GC.SuppressFinalize(this);
        }
    }
Beispiel #2
0
 public void Clone(AkObjectInfo other)
 {
     AkSoundEnginePINVOKE.CSharp_AkObjectInfo_Clone(swigCPtr, AkObjectInfo.getCPtr(other));
 }
Beispiel #3
0
 internal static global::System.IntPtr getCPtr(AkObjectInfo obj)
 {
     return((obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr);
 }
  public static AKRESULT QueryAudioObjectIDs(string in_pszEventName, ref uint io_ruNumItems, AkObjectInfo out_aObjectInfos) {
    AKRESULT ret = (AKRESULT)AkSoundEnginePINVOKE.CSharp_QueryAudioObjectIDs__SWIG_1(in_pszEventName, ref io_ruNumItems, AkObjectInfo.getCPtr(out_aObjectInfos));

    return ret;
  }
 internal static IntPtr getCPtr(AkObjectInfo obj) {
   return (obj == null) ? IntPtr.Zero : obj.swigCPtr;
 }
 internal static HandleRef getCPtr(AkObjectInfo obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Beispiel #7
0
 internal static HandleRef getCPtr(AkObjectInfo obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #8
0
 internal static IntPtr getCPtr(AkObjectInfo obj)
 {
     return((obj == null) ? IntPtr.Zero : obj.swigCPtr);
 }
Beispiel #9
0
 internal static IntPtr getCPtr(AkObjectInfo obj)
 {
     return((obj != null) ? obj.swigCPtr : IntPtr.Zero);
 }