SetLocalOutput() public static method

public static SetLocalOutput ( uint in_uErrorLevel ) : void
in_uErrorLevel uint
return void
Exemplo n.º 1
0
    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));
    }
Exemplo n.º 2
0
    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));
    }
Exemplo n.º 4
0
 public static void SetMonitoringCallback(ErrorLevel in_Level, MonitoringCallback in_CB)
 {
     AkCallbackSerializer.SetLocalOutput((uint)in_Level);
     m_MonitoringCB = in_CB;
 }
Exemplo n.º 5
0
 /// Call this to set a function to call whenever Wwise prints a message (warnings or errors).
 static public void SetMonitoringCallback(AkMonitorErrorLevel in_Level, MonitoringCallback in_CB)
 {
     AkCallbackSerializer.SetLocalOutput(in_CB != null ? (uint)in_Level : 0);
     m_MonitoringCB = in_CB;
 }