static public AKRESULT Init(int BufferSize) { m_pNotifMem = (BufferSize > 0) ? Marshal.AllocHGlobal(BufferSize) : IntPtr.Zero; #if UNITY_EDITOR AkCallbackSerializer.SetLocalOutput((uint)AkMonitorErrorLevel.ErrorLevel_All); #endif return(AkCallbackSerializer.Init(m_pNotifMem, (uint)BufferSize)); }
public static void Init(InitializationSettings settings) { IsLoggingEnabled = settings.IsLoggingEnabled; #if UNITY_EDITOR AkCallbackSerializer.SetLocalOutput((uint)AkMonitorErrorLevel.ErrorLevel_All); #endif AkCallbackSerializer.Init(); }
public static AKRESULT Init(InitializationSettings settings) { IsLoggingEnabled = settings.IsLoggingEnabled; m_pNotifMem = settings.BufferSize > 0 ? System.Runtime.InteropServices.Marshal.AllocHGlobal(settings.BufferSize) : System.IntPtr.Zero; #if UNITY_EDITOR AkCallbackSerializer.SetLocalOutput((uint)AkMonitorErrorLevel.ErrorLevel_All); #endif return(AkCallbackSerializer.Init(m_pNotifMem, (uint)settings.BufferSize)); }
public static AKRESULT Init() { m_pNotifMem = Marshal.AllocHGlobal(0x1000); return(AkCallbackSerializer.Init(m_pNotifMem, 0x1000)); }
static public AKRESULT Init() { //Allocate 4k for notifications that will happen during one game frame. m_pNotifMem = Marshal.AllocHGlobal(4096); return(AkCallbackSerializer.Init(m_pNotifMem, 4096)); }
static public AKRESULT Init(int BufferSize) { m_pNotifMem = (BufferSize > 0) ? Marshal.AllocHGlobal(BufferSize) : IntPtr.Zero; return(AkCallbackSerializer.Init(m_pNotifMem, (uint)BufferSize)); }
public static AKRESULT Init() { AkCallbackManager.m_pNotifMem = Marshal.AllocHGlobal(4096); return(AkCallbackSerializer.Init(AkCallbackManager.m_pNotifMem, 4096u)); }