Aetheria/Assets/Wwise/API/Runtime/Generated/Common/AkDurationCallbackInfo.cs
2021-04-30 07:09:07 +01:00

66 lines
No EOL
2.5 KiB
C#

#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
public class AkDurationCallbackInfo : AkEventCallbackInfo {
private global::System.IntPtr swigCPtr;
internal AkDurationCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkDurationCallbackInfo obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal override void setCPtr(global::System.IntPtr cPtr) {
base.setCPtr(AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_SWIGUpcast(cPtr));
swigCPtr = cPtr;
}
~AkDurationCallbackInfo() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
AkSoundEnginePINVOKE.CSharp_delete_AkDurationCallbackInfo(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
base.Dispose();
}
}
public float fDuration { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_fDuration_get(swigCPtr); }
}
public float fEstimatedDuration { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_fEstimatedDuration_get(swigCPtr); }
}
public uint audioNodeID { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_audioNodeID_get(swigCPtr); }
}
public uint mediaID { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_mediaID_get(swigCPtr); }
}
public bool bStreaming { get { return AkSoundEnginePINVOKE.CSharp_AkDurationCallbackInfo_bStreaming_get(swigCPtr); }
}
public AkDurationCallbackInfo() : this(AkSoundEnginePINVOKE.CSharp_new_AkDurationCallbackInfo(), true) {
}
}
#endif // #if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_WIIU || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms.