Feat : Wwise Integration

This commit is contained in:
Alex
2026-03-23 14:28:21 +01:00
parent 627d787695
commit 004bc328ed
1149 changed files with 226567 additions and 19 deletions
@@ -0,0 +1,22 @@
#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.4.1
//
// Do not make changes to this file unless you know what you are doing - modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
/// Main Sound Engine interface, specific Mac.
public enum AkAudioAPI {
/// Use AVFoundation framework (modern, has more capabilities, available only for macOS 10.15 or above)
AkAudioAPI_AVAudioEngine = 1 << 0,
/// Use AudioUnit framework (basic functionality, compatible with all macOS devices)
AkAudioAPI_AudioUnit = 1 << 1,
/// Default value, will select the more appropriate API (AVAudioEngine for compatible devices, AudioUnit for others)
AkAudioAPI_Default = AkAudioAPI_AVAudioEngine|AkAudioAPI_AudioUnit
}
#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 97fb5cf49edcea043953f680a79077a7
@@ -0,0 +1,82 @@
#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.4.1
//
// Do not make changes to this file unless you know what you are doing - modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
public class AkCommunicationSettings : global::System.IDisposable {
private global::System.IntPtr swigCPtr;
protected bool swigCMemOwn;
internal AkCommunicationSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkCommunicationSettings obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal virtual void setCPtr(global::System.IntPtr cPtr) {
Dispose();
swigCPtr = cPtr;
}
~AkCommunicationSettings() {
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_AkCommunicationSettings(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
}
}
public AkCommunicationSettings() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkCommunicationSettings(), true) {
}
public uint uPoolSize { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uPoolSize_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uPoolSize_get(swigCPtr); }
}
public ushort uDiscoveryBroadcastPort { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uDiscoveryBroadcastPort_get(swigCPtr); }
}
public ushort uCommandPort { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uCommandPort_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_uCommandPort_get(swigCPtr); }
}
public AkCommunicationSettings.AkCommSystem commSystem { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_commSystem_set(swigCPtr, (int)value); } get { return (AkCommunicationSettings.AkCommSystem)AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_commSystem_get(swigCPtr); }
}
public bool bInitSystemLib { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_bInitSystemLib_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_bInitSystemLib_get(swigCPtr); }
}
public string szAppNetworkName { set { AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_szAppNetworkName_set(swigCPtr, value); } get { return AkUnitySoundEngine.StringFromIntPtrString(AkUnitySoundEnginePINVOKE.CSharp_AkCommunicationSettings_szAppNetworkName_get(swigCPtr)); }
}
/// Allows selecting the communication system used to connect remotely the Authoring tool on the device.
public enum AkCommSystem {
AkCommSystem_Socket,
/// The recommended default communication system HTCS when available only, will default to AkCommSystem_Socket if the HTCS system is not available.
AkCommSystem_HTCS
}
}
#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: cae776214a9c5b444ac2d3db182ff9d6
@@ -0,0 +1,114 @@
#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.4.1
//
// Do not make changes to this file unless you know what you are doing - modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
/// Platform specific initialization settings
/// <seealso cref="AK.SoundEngine.Init"/>
/// <seealso cref="AK.SoundEngine.GetDefaultPlatformInitSettings"/>
public class AkPlatformInitSettings : global::System.IDisposable {
private global::System.IntPtr swigCPtr;
protected bool swigCMemOwn;
internal AkPlatformInitSettings(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkPlatformInitSettings obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal virtual void setCPtr(global::System.IntPtr cPtr) {
Dispose();
swigCPtr = cPtr;
}
~AkPlatformInitSettings() {
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_AkPlatformInitSettings(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
}
}
/// Lower engine threading properties
public AkThreadProperties threadLEngine { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadLEngine_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
get {
global::System.IntPtr cPtr = AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadLEngine_get(swigCPtr);
AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
return ret;
}
}
/// Ouput thread threading properties
public AkThreadProperties threadOutputMgr { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadOutputMgr_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
get {
global::System.IntPtr cPtr = AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadOutputMgr_get(swigCPtr);
AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
return ret;
}
}
/// Bank manager threading properties (its default priority is AK_THREAD_PRIORITY_NORMAL)
public AkThreadProperties threadBankManager { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadBankManager_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
get {
global::System.IntPtr cPtr = AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadBankManager_get(swigCPtr);
AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
return ret;
}
}
/// Monitor threading properties (its default priority is AK_THREAD_PRIORITY_ABOVENORMAL). This parameter is not used in Release build.
public AkThreadProperties threadMonitor { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadMonitor_set(swigCPtr, AkThreadProperties.getCPtr(value)); }
get {
global::System.IntPtr cPtr = AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_threadMonitor_get(swigCPtr);
AkThreadProperties ret = (cPtr == global::System.IntPtr.Zero) ? null : new AkThreadProperties(cPtr, false);
return ret;
}
}
/// Sampling Rate. Default 48000 Hz
public uint uSampleRate { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uSampleRate_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uSampleRate_get(swigCPtr); }
}
/// Number of refill buffers in voice buffer. 2 == double-buffered, defaults to 4.
public ushort uNumRefillsInVoice { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uNumRefillsInVoice_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uNumRefillsInVoice_get(swigCPtr); }
}
/// Main audio API to use. Leave to AkAPI_Default for the default sink (default value).
/// \ref AkAudioAPI
public AkAudioAPI eAudioAPI { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_eAudioAPI_set(swigCPtr, (int)value); } get { return (AkAudioAPI)AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_eAudioAPI_get(swigCPtr); }
}
/// Number of Apple Spatial Audio point sources to allocate for 3D audio use (each point source is a system audio object). Default: 128
public uint uNumSpatialAudioPointSources { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uNumSpatialAudioPointSources_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_uNumSpatialAudioPointSources_get(swigCPtr); }
}
/// Print detailed system output information to the console log
public bool bVerboseSystemOutput { set { AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_bVerboseSystemOutput_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkPlatformInitSettings_bVerboseSystemOutput_get(swigCPtr); }
}
}
#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e1406353a31704746b89332616a6532c
@@ -0,0 +1,73 @@
#if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (https://www.swig.org).
// Version 4.4.1
//
// Do not make changes to this file unless you know what you are doing - modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
public class AkThreadProperties : global::System.IDisposable {
private global::System.IntPtr swigCPtr;
protected bool swigCMemOwn;
internal AkThreadProperties(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
internal static global::System.IntPtr getCPtr(AkThreadProperties obj) {
return (obj == null) ? global::System.IntPtr.Zero : obj.swigCPtr;
}
internal virtual void setCPtr(global::System.IntPtr cPtr) {
Dispose();
swigCPtr = cPtr;
}
~AkThreadProperties() {
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_AkThreadProperties(swigCPtr);
}
swigCPtr = global::System.IntPtr.Zero;
}
global::System.GC.SuppressFinalize(this);
}
}
/// Thread priority
public int nPriority { set { AkUnitySoundEnginePINVOKE.CSharp_AkThreadProperties_nPriority_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkThreadProperties_nPriority_get(swigCPtr); }
}
/// Thread stack size
public uint uStackSize { set { AkUnitySoundEnginePINVOKE.CSharp_AkThreadProperties_uStackSize_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkThreadProperties_uStackSize_get(swigCPtr); }
}
/// Thread scheduling policy
public int uSchedPolicy { set { AkUnitySoundEnginePINVOKE.CSharp_AkThreadProperties_uSchedPolicy_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkThreadProperties_uSchedPolicy_get(swigCPtr); }
}
/// Affinity mask
public uint dwAffinityMask { set { AkUnitySoundEnginePINVOKE.CSharp_AkThreadProperties_dwAffinityMask_set(swigCPtr, value); } get { return AkUnitySoundEnginePINVOKE.CSharp_AkThreadProperties_dwAffinityMask_get(swigCPtr); }
}
public AkThreadProperties() : this(AkUnitySoundEnginePINVOKE.CSharp_new_AkThreadProperties(), true) {
}
}
#endif // #if (UNITY_STANDALONE_OSX && !UNITY_EDITOR) || UNITY_EDITOR_OSX
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 22317a912015ed94aa1887a0cabd220d
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 27155376379d617459d5d1df9aef3425
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: dc8357bbcd7c9434aa789c3e61b8a9f0