Files
Ipseity-Demo/Assets/Wwise/API/Runtime/Generated/Common/AkMusicSyncCallbackInfo.cs
T
2026-03-23 14:28:21 +01:00

94 lines
4.4 KiB
C#

#if !(UNITY_QNX) // Disable under unsupported platforms.
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.4.0
//
// Do not make changes to this file unless you know what you are doing - modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
public class AkMusicSyncCallbackInfo : AkCallbackInfo {
private global::System.IntPtr swigCPtr;
internal AkMusicSyncCallbackInfo(global::System.IntPtr cPtr, bool cMemoryOwn) : base(AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkMusicSyncCallbackInfo obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal override void setCPtr(global::System.IntPtr cPtr) {
base.setCPtr(AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_SWIGUpcast(cPtr));
swigCPtr = cPtr;
}
protected override void Dispose(bool disposing) {
lock(this) {
if (swigCPtr != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
AkUnitySoundEnginePINVOKE.CSharp_delete_AkMusicSyncCallbackInfo(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
base.Dispose(disposing);
}
}
/// Playing ID of Event, returned by PostEvent()
public uint playingID { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_playingID_get(swigCPtr); }
}
/// Current position of the segment, relative to the Entry Cue, in milliseconds. Range is [-iPreEntryDuration, iActiveDuration+iPostExitDuration].
public int segmentInfo_iCurrentPosition { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iCurrentPosition_get(swigCPtr); }
}
/// Duration of the pre-entry region of the segment, in milliseconds.
public int segmentInfo_iPreEntryDuration { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPreEntryDuration_get(swigCPtr); }
}
/// Duration of the active region of the segment (between the Entry and Exit Cues), in milliseconds.
public int segmentInfo_iActiveDuration { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iActiveDuration_get(swigCPtr); }
}
/// Duration of the post-exit region of the segment, in milliseconds.
public int segmentInfo_iPostExitDuration { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iPostExitDuration_get(swigCPtr); }
}
/// Number of milliseconds remaining in the "looking-ahead" state of the segment, when it is silent but streamed tracks are being prefetched.
public int segmentInfo_iRemainingLookAheadTime { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_iRemainingLookAheadTime_get(swigCPtr); }
}
/// Beat Duration in seconds.
public float segmentInfo_fBeatDuration { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBeatDuration_get(swigCPtr); }
}
/// Bar Duration in seconds.
public float segmentInfo_fBarDuration { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_fBarDuration_get(swigCPtr); }
}
/// Grid duration in seconds.
public float segmentInfo_fGridDuration { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridDuration_get(swigCPtr); }
}
/// Grid offset in seconds.
public float segmentInfo_fGridOffset { get { return AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_segmentInfo_fGridOffset_get(swigCPtr); }
}
/// Would be either AK_MusicSyncEntry, AK_MusicSyncBeat, AK_MusicSyncBar, AK_MusicSyncExit, AK_MusicSyncGrid, AK_MusicSyncPoint or AK_MusicSyncUserCue.
public AkCallbackType musicSyncType { get { return (AkCallbackType)AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_musicSyncType_get(swigCPtr); }
}
public string userCueName { get { return AkUnitySoundEngine.StringFromIntPtrString(AkUnitySoundEnginePINVOKE.CSharp_AkMusicSyncCallbackInfo_userCueName_get(swigCPtr)); }
}
public AkMusicSyncCallbackInfo() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkMusicSyncCallbackInfo(), true) {
}
}
#endif // #if !(UNITY_QNX) // Disable under unsupported platforms.