92 lines
3.7 KiB
C#
92 lines
3.7 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.
|
|
//------------------------------------------------------------------------------
|
|
|
|
/// Playlist Item for Dynamic Sequence Playlist.
|
|
/// <seealso cref="
|
|
/// - AK.SoundEngine.DynamicSequence.Playlist
|
|
/// - AK.SoundEngine.PostEvent
|
|
/// - \ref integrating_external_sources"/>
|
|
|
|
public class AkPlaylistItem : global::System.IDisposable {
|
|
private global::System.IntPtr swigCPtr;
|
|
protected bool swigCMemOwn;
|
|
|
|
internal AkPlaylistItem(global::System.IntPtr cPtr, bool cMemoryOwn) {
|
|
swigCMemOwn = cMemoryOwn;
|
|
swigCPtr = cPtr;
|
|
}
|
|
|
|
internal static global::System.IntPtr getCPtr(AkPlaylistItem obj) {
|
|
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
|
|
}
|
|
|
|
internal virtual void setCPtr(global::System.IntPtr cPtr) {
|
|
Dispose();
|
|
swigCPtr = cPtr;
|
|
}
|
|
|
|
~AkPlaylistItem() {
|
|
Dispose(false);
|
|
}
|
|
|
|
public void Dispose() {
|
|
Dispose(true);
|
|
global::System.GC.SuppressFinalize(this);
|
|
}
|
|
|
|
protected virtual void Dispose(bool disposing) {
|
|
lock(this) {
|
|
if (swigCPtr != global::System.IntPtr.Zero) {
|
|
if (swigCMemOwn) {
|
|
swigCMemOwn = false;
|
|
AkUnitySoundEnginePINVOKE.CSharp_delete_AkPlaylistItem(swigCPtr);
|
|
}
|
|
swigCPtr = global::System.IntPtr.Zero;
|
|
}
|
|
global::System.GC.SuppressFinalize(this);
|
|
}
|
|
}
|
|
|
|
public AkPlaylistItem() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkPlaylistItem__SWIG_0(), true) {
|
|
}
|
|
|
|
public AkPlaylistItem(AkPlaylistItem in_rCopy) : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkPlaylistItem__SWIG_1(AkPlaylistItem.getCPtr(in_rCopy)), true) {
|
|
}
|
|
|
|
public AkPlaylistItem Assign(AkPlaylistItem in_rCopy) {
|
|
AkPlaylistItem ret = new AkPlaylistItem(AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_Assign(swigCPtr, AkPlaylistItem.getCPtr(in_rCopy)), false);
|
|
return ret;
|
|
}
|
|
|
|
public bool IsEqualTo(AkPlaylistItem in_rCopy) { return AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_IsEqualTo(swigCPtr, AkPlaylistItem.getCPtr(in_rCopy)); }
|
|
|
|
/// Sets the external sources used by this item.
|
|
/// <seealso cref="
|
|
/// \ref integrating_external_sources"/>
|
|
public AKRESULT SetExternalSources(uint in_nExternalSrc, AkExternalSourceInfoArray in_pExternalSrc) { return (AKRESULT)AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_SetExternalSources(swigCPtr, in_nExternalSrc, in_pExternalSrc.GetBuffer()); }
|
|
|
|
/// Unique ID of Audio Node
|
|
public uint audioNodeID { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_audioNodeID_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_audioNodeID_get(swigCPtr); }
|
|
}
|
|
|
|
/// Delay before playing this item, in milliseconds
|
|
public int msDelay { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_msDelay_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_msDelay_get(swigCPtr); }
|
|
}
|
|
|
|
/// Optional user data
|
|
public global::System.IntPtr pCustomInfo { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_pCustomInfo_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_pCustomInfo_get(swigCPtr); }
|
|
}
|
|
|
|
public global::System.IntPtr pExternalSrcs { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_pExternalSrcs_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkPlaylistItem_pExternalSrcs_get(swigCPtr); }
|
|
}
|
|
|
|
}
|
|
#endif // #if !(UNITY_QNX) // Disable under unsupported platforms. |