Feat : Wwise Integration
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
#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.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/// Information about an output device instance.
|
||||
/// This data can be retrieved by plug-ins via AK::IAkPluginContextBase::GetOutputDeviceInfo.
|
||||
|
||||
public class AkOutputDeviceInfo : global::System.IDisposable {
|
||||
private global::System.IntPtr swigCPtr;
|
||||
protected bool swigCMemOwn;
|
||||
|
||||
internal AkOutputDeviceInfo(global::System.IntPtr cPtr, bool cMemoryOwn) {
|
||||
swigCMemOwn = cMemoryOwn;
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
internal static global::System.IntPtr getCPtr(AkOutputDeviceInfo obj) {
|
||||
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
|
||||
}
|
||||
|
||||
internal virtual void setCPtr(global::System.IntPtr cPtr) {
|
||||
Dispose();
|
||||
swigCPtr = cPtr;
|
||||
}
|
||||
|
||||
~AkOutputDeviceInfo() {
|
||||
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_AkOutputDeviceInfo(swigCPtr);
|
||||
}
|
||||
swigCPtr = global::System.IntPtr.Zero;
|
||||
}
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
|
||||
/// Full plugin ID, including company ID and plugin type. See AKMAKECLASSID macro.
|
||||
public uint pluginID { set { AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_pluginID_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_pluginID_get(swigCPtr); }
|
||||
}
|
||||
|
||||
/// ID of shareset for this output device
|
||||
public uint audioDeviceShareset { set { AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_audioDeviceShareset_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_audioDeviceShareset_get(swigCPtr); }
|
||||
}
|
||||
|
||||
/// Device ID that was specified in the Output Settings for this output device
|
||||
public uint idDevice { set { AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_idDevice_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_idDevice_get(swigCPtr); }
|
||||
}
|
||||
|
||||
/// Channel configuration of the output device
|
||||
public AkChannelConfig channelConfig { set { AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_channelConfig_set(swigCPtr, AkChannelConfig.getCPtr(value)); }
|
||||
get {
|
||||
global::System.IntPtr cPtr = AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_channelConfig_get(swigCPtr);
|
||||
AkChannelConfig ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkChannelConfig(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
/// 3D Audio capabilities of the output device instance
|
||||
public Ak3DAudioSinkCapabilities capabilities { set { AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_capabilities_set(swigCPtr, Ak3DAudioSinkCapabilities.getCPtr(value)); }
|
||||
get {
|
||||
global::System.IntPtr cPtr = AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_capabilities_get(swigCPtr);
|
||||
Ak3DAudioSinkCapabilities ret = (cPtr == global::System.IntPtr.Zero) ? null : new Ak3DAudioSinkCapabilities(cPtr, false);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
/// Custom data containing additional information about the device. This is plug-in implementation-defined. For Wwise Motion, this can be cast to AkMotionDeviceData.
|
||||
public global::System.IntPtr customData { set { AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_customData_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkOutputDeviceInfo_customData_get(swigCPtr); }
|
||||
}
|
||||
|
||||
public AkOutputDeviceInfo() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkOutputDeviceInfo(), true) {
|
||||
}
|
||||
|
||||
}
|
||||
#endif // #if !(UNITY_QNX) // Disable under unsupported platforms.
|
||||
Reference in New Issue
Block a user