//
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
#nullable enable
namespace Brutal.OpenAlApi
{
using unsafe BufferCallbackSOFTFn = delegate* unmanaged[Cdecl];
using unsafe BufferDataStaticFn = delegate* unmanaged[Cdecl];
using unsafe DebugMessageCallbackEXTFn = delegate* unmanaged[Cdecl];
using unsafe DebugMessageControlEXTFn = delegate* unmanaged[Cdecl];
using unsafe DebugMessageInsertEXTFn = delegate* unmanaged[Cdecl];
using unsafe DeferUpdatesSOFTFn = delegate* unmanaged[Cdecl];
using unsafe EventCallbackSOFTFn = delegate* unmanaged[Cdecl];
using unsafe EventControlSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetBuffer3PtrSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetBufferPtrSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetBufferPtrvSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetDebugMessageLogEXTFn = delegate* unmanaged[Cdecl]<
uint,
int,
int*,
int*,
uint*,
int*,
int*,
byte*,
uint>;
using unsafe GetObjectLabelEXTFn = delegate* unmanaged[Cdecl];
using unsafe GetPointerEXTFn = delegate* unmanaged[Cdecl];
using unsafe GetPointerSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetPointervEXTFn = delegate* unmanaged[Cdecl];
using unsafe GetPointervSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetSource3dSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetSource3i64SOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetSourcedSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetSourcedvSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetSourcei64SOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetSourcei64vSOFTFn = delegate* unmanaged[Cdecl];
using unsafe GetStringiSOFTFn = delegate* unmanaged[Cdecl];
using unsafe ObjectLabelEXTFn = delegate* unmanaged[Cdecl];
using unsafe PopDebugGroupEXTFn = delegate* unmanaged[Cdecl];
using unsafe ProcessUpdatesSOFTFn = delegate* unmanaged[Cdecl];
using unsafe PushDebugGroupEXTFn = delegate* unmanaged[Cdecl];
using unsafe Source3dSOFTFn = delegate* unmanaged[Cdecl];
using unsafe Source3i64SOFTFn = delegate* unmanaged[Cdecl];
using unsafe SourcedSOFTFn = delegate* unmanaged[Cdecl];
using unsafe SourcedvSOFTFn = delegate* unmanaged[Cdecl];
using unsafe Sourcei64SOFTFn = delegate* unmanaged[Cdecl];
using unsafe Sourcei64vSOFTFn = delegate* unmanaged[Cdecl];
using unsafe SourcePlayAtTimeSOFTFn = delegate* unmanaged[Cdecl];
using unsafe SourcePlayAtTimevSOFTFn = delegate* unmanaged[Cdecl];
public static unsafe partial class Al
{
///
/// Cached unmanaged function pointers for the in-scope alext.h entry points, each resolved once via alcGetProcAddress against the null device. A null field means the loaded binary does not export that symbol; the paired method throws instead of dereferencing it.
///
internal static unsafe class ExtPointers
{
internal static readonly BufferDataStaticFn alBufferDataStatic = (BufferDataStaticFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alBufferDataStatic"u8);
internal static readonly SourcedSOFTFn alSourcedSOFT = (SourcedSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alSourcedSOFT"u8);
internal static readonly Source3dSOFTFn alSource3dSOFT = (Source3dSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alSource3dSOFT"u8);
internal static readonly SourcedvSOFTFn alSourcedvSOFT = (SourcedvSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alSourcedvSOFT"u8);
internal static readonly GetSourcedSOFTFn alGetSourcedSOFT = (GetSourcedSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetSourcedSOFT"u8);
internal static readonly GetSource3dSOFTFn alGetSource3dSOFT = (GetSource3dSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetSource3dSOFT"u8);
internal static readonly GetSourcedvSOFTFn alGetSourcedvSOFT = (GetSourcedvSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetSourcedvSOFT"u8);
internal static readonly Sourcei64SOFTFn alSourcei64SOFT = (Sourcei64SOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alSourcei64SOFT"u8);
internal static readonly Source3i64SOFTFn alSource3i64SOFT = (Source3i64SOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alSource3i64SOFT"u8);
internal static readonly Sourcei64vSOFTFn alSourcei64vSOFT = (Sourcei64vSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alSourcei64vSOFT"u8);
internal static readonly GetSourcei64SOFTFn alGetSourcei64SOFT = (GetSourcei64SOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetSourcei64SOFT"u8);
internal static readonly GetSource3i64SOFTFn alGetSource3i64SOFT = (GetSource3i64SOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetSource3i64SOFT"u8);
internal static readonly GetSourcei64vSOFTFn alGetSourcei64vSOFT = (GetSourcei64vSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetSourcei64vSOFT"u8);
internal static readonly DeferUpdatesSOFTFn alDeferUpdatesSOFT = (DeferUpdatesSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alDeferUpdatesSOFT"u8);
internal static readonly ProcessUpdatesSOFTFn alProcessUpdatesSOFT = (ProcessUpdatesSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alProcessUpdatesSOFT"u8);
internal static readonly GetStringiSOFTFn alGetStringiSOFT = (GetStringiSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetStringiSOFT"u8);
internal static readonly EventControlSOFTFn alEventControlSOFT = (EventControlSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alEventControlSOFT"u8);
internal static readonly EventCallbackSOFTFn alEventCallbackSOFT = (EventCallbackSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alEventCallbackSOFT"u8);
internal static readonly GetPointerSOFTFn alGetPointerSOFT = (GetPointerSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetPointerSOFT"u8);
internal static readonly GetPointervSOFTFn alGetPointervSOFT = (GetPointervSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetPointervSOFT"u8);
internal static readonly BufferCallbackSOFTFn alBufferCallbackSOFT = (BufferCallbackSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alBufferCallbackSOFT"u8);
internal static readonly GetBufferPtrSOFTFn alGetBufferPtrSOFT = (GetBufferPtrSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetBufferPtrSOFT"u8);
internal static readonly GetBuffer3PtrSOFTFn alGetBuffer3PtrSOFT = (GetBuffer3PtrSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetBuffer3PtrSOFT"u8);
internal static readonly GetBufferPtrvSOFTFn alGetBufferPtrvSOFT = (GetBufferPtrvSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetBufferPtrvSOFT"u8);
internal static readonly SourcePlayAtTimeSOFTFn alSourcePlayAtTimeSOFT = (SourcePlayAtTimeSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alSourcePlayAtTimeSOFT"u8);
internal static readonly SourcePlayAtTimevSOFTFn alSourcePlayAtTimevSOFT = (SourcePlayAtTimevSOFTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alSourcePlayAtTimevSOFT"u8);
internal static readonly DebugMessageCallbackEXTFn alDebugMessageCallbackEXT = (DebugMessageCallbackEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alDebugMessageCallbackEXT"u8);
internal static readonly DebugMessageInsertEXTFn alDebugMessageInsertEXT = (DebugMessageInsertEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alDebugMessageInsertEXT"u8);
internal static readonly DebugMessageControlEXTFn alDebugMessageControlEXT = (DebugMessageControlEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alDebugMessageControlEXT"u8);
internal static readonly PushDebugGroupEXTFn alPushDebugGroupEXT = (PushDebugGroupEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alPushDebugGroupEXT"u8);
internal static readonly PopDebugGroupEXTFn alPopDebugGroupEXT = (PopDebugGroupEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alPopDebugGroupEXT"u8);
internal static readonly GetDebugMessageLogEXTFn alGetDebugMessageLogEXT = (GetDebugMessageLogEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetDebugMessageLogEXT"u8);
internal static readonly ObjectLabelEXTFn alObjectLabelEXT = (ObjectLabelEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alObjectLabelEXT"u8);
internal static readonly GetObjectLabelEXTFn alGetObjectLabelEXT = (GetObjectLabelEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetObjectLabelEXT"u8);
internal static readonly GetPointerEXTFn alGetPointerEXT = (GetPointerEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetPointerEXT"u8);
internal static readonly GetPointervEXTFn alGetPointervEXT = (GetPointervEXTFn)
Alc.GetProcAddressUtf8(AlcDevice.Null, "alGetPointervEXT"u8);
}
public static partial class PInvoke
{
///
///
///
///
/// Provided by AL_EXT_STATIC_BUFFER. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void BufferDataStatic(uint buffer, int format, void* data, int size, int freq)
{
if (ExtPointers.alBufferDataStatic is null)
{
AlExtensionException.ThrowMissing("alBufferDataStatic", "AL_EXT_STATIC_BUFFER");
}
ExtPointers.alBufferDataStatic(buffer, format, data, size, freq);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void SourcedSOFT(uint source, int param, double value)
{
if (ExtPointers.alSourcedSOFT is null)
{
AlExtensionException.ThrowMissing("alSourcedSOFT", "AL_SOFT_source_latency");
}
ExtPointers.alSourcedSOFT(source, param, value);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void Source3dSOFT(uint source, int param, double value1, double value2, double value3)
{
if (ExtPointers.alSource3dSOFT is null)
{
AlExtensionException.ThrowMissing("alSource3dSOFT", "AL_SOFT_source_latency");
}
ExtPointers.alSource3dSOFT(source, param, value1, value2, value3);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void SourcedvSOFT(uint source, int param, double* values)
{
if (ExtPointers.alSourcedvSOFT is null)
{
AlExtensionException.ThrowMissing("alSourcedvSOFT", "AL_SOFT_source_latency");
}
ExtPointers.alSourcedvSOFT(source, param, values);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetSourcedSOFT(uint source, int param, double* value)
{
if (ExtPointers.alGetSourcedSOFT is null)
{
AlExtensionException.ThrowMissing("alGetSourcedSOFT", "AL_SOFT_source_latency");
}
ExtPointers.alGetSourcedSOFT(source, param, value);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetSource3dSOFT(uint source, int param, double* value1, double* value2, double* value3)
{
if (ExtPointers.alGetSource3dSOFT is null)
{
AlExtensionException.ThrowMissing("alGetSource3dSOFT", "AL_SOFT_source_latency");
}
ExtPointers.alGetSource3dSOFT(source, param, value1, value2, value3);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetSourcedvSOFT(uint source, int param, double* values)
{
if (ExtPointers.alGetSourcedvSOFT is null)
{
AlExtensionException.ThrowMissing("alGetSourcedvSOFT", "AL_SOFT_source_latency");
}
ExtPointers.alGetSourcedvSOFT(source, param, values);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void Sourcei64SOFT(uint source, int param, long value)
{
if (ExtPointers.alSourcei64SOFT is null)
{
AlExtensionException.ThrowMissing("alSourcei64SOFT", "AL_SOFT_source_latency");
}
ExtPointers.alSourcei64SOFT(source, param, value);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void Source3i64SOFT(uint source, int param, long value1, long value2, long value3)
{
if (ExtPointers.alSource3i64SOFT is null)
{
AlExtensionException.ThrowMissing("alSource3i64SOFT", "AL_SOFT_source_latency");
}
ExtPointers.alSource3i64SOFT(source, param, value1, value2, value3);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void Sourcei64vSOFT(uint source, int param, long* values)
{
if (ExtPointers.alSourcei64vSOFT is null)
{
AlExtensionException.ThrowMissing("alSourcei64vSOFT", "AL_SOFT_source_latency");
}
ExtPointers.alSourcei64vSOFT(source, param, values);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetSourcei64SOFT(uint source, int param, long* value)
{
if (ExtPointers.alGetSourcei64SOFT is null)
{
AlExtensionException.ThrowMissing("alGetSourcei64SOFT", "AL_SOFT_source_latency");
}
ExtPointers.alGetSourcei64SOFT(source, param, value);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetSource3i64SOFT(uint source, int param, long* value1, long* value2, long* value3)
{
if (ExtPointers.alGetSource3i64SOFT is null)
{
AlExtensionException.ThrowMissing("alGetSource3i64SOFT", "AL_SOFT_source_latency");
}
ExtPointers.alGetSource3i64SOFT(source, param, value1, value2, value3);
}
///
///
///
///
/// Provided by AL_SOFT_source_latency. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetSourcei64vSOFT(uint source, int param, long* values)
{
if (ExtPointers.alGetSourcei64vSOFT is null)
{
AlExtensionException.ThrowMissing("alGetSourcei64vSOFT", "AL_SOFT_source_latency");
}
ExtPointers.alGetSourcei64vSOFT(source, param, values);
}
///
///
///
///
/// Provided by AL_SOFT_deferred_updates. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void DeferUpdatesSOFT()
{
if (ExtPointers.alDeferUpdatesSOFT is null)
{
AlExtensionException.ThrowMissing("alDeferUpdatesSOFT", "AL_SOFT_deferred_updates");
}
ExtPointers.alDeferUpdatesSOFT();
}
///
///
///
///
/// Provided by AL_SOFT_deferred_updates. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void ProcessUpdatesSOFT()
{
if (ExtPointers.alProcessUpdatesSOFT is null)
{
AlExtensionException.ThrowMissing("alProcessUpdatesSOFT", "AL_SOFT_deferred_updates");
}
ExtPointers.alProcessUpdatesSOFT();
}
///
///
///
///
/// Provided by AL_SOFT_source_resampler. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static byte* GetStringiSOFT(int pname, int index)
{
if (ExtPointers.alGetStringiSOFT is null)
{
AlExtensionException.ThrowMissing("alGetStringiSOFT", "AL_SOFT_source_resampler");
}
return ExtPointers.alGetStringiSOFT(pname, index);
}
///
///
///
///
/// Provided by AL_SOFT_events. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void EventControlSOFT(int count, int* types, Bool8 enable)
{
if (ExtPointers.alEventControlSOFT is null)
{
AlExtensionException.ThrowMissing("alEventControlSOFT", "AL_SOFT_events");
}
ExtPointers.alEventControlSOFT(count, types, enable);
}
///
///
///
///
/// Provided by AL_SOFT_events. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void EventCallbackSOFT(void* callback, void* userParam)
{
if (ExtPointers.alEventCallbackSOFT is null)
{
AlExtensionException.ThrowMissing("alEventCallbackSOFT", "AL_SOFT_events");
}
ExtPointers.alEventCallbackSOFT(callback, userParam);
}
///
///
///
///
/// Provided by AL_SOFT_events. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void* GetPointerSOFT(int pname)
{
if (ExtPointers.alGetPointerSOFT is null)
{
AlExtensionException.ThrowMissing("alGetPointerSOFT", "AL_SOFT_events");
}
return ExtPointers.alGetPointerSOFT(pname);
}
///
///
///
///
/// Provided by AL_SOFT_events. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetPointervSOFT(int pname, void** values)
{
if (ExtPointers.alGetPointervSOFT is null)
{
AlExtensionException.ThrowMissing("alGetPointervSOFT", "AL_SOFT_events");
}
ExtPointers.alGetPointervSOFT(pname, values);
}
///
///
///
///
/// Provided by AL_SOFT_callback_buffer. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void BufferCallbackSOFT(uint buffer, int format, int freq, void* callback, void* userptr)
{
if (ExtPointers.alBufferCallbackSOFT is null)
{
AlExtensionException.ThrowMissing("alBufferCallbackSOFT", "AL_SOFT_callback_buffer");
}
ExtPointers.alBufferCallbackSOFT(buffer, format, freq, callback, userptr);
}
///
///
///
///
/// Provided by AL_SOFT_callback_buffer. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetBufferPtrSOFT(uint buffer, int param, void** ptr)
{
if (ExtPointers.alGetBufferPtrSOFT is null)
{
AlExtensionException.ThrowMissing("alGetBufferPtrSOFT", "AL_SOFT_callback_buffer");
}
ExtPointers.alGetBufferPtrSOFT(buffer, param, ptr);
}
///
///
///
///
/// Provided by AL_SOFT_callback_buffer. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetBuffer3PtrSOFT(uint buffer, int param, void** ptr0, void** ptr1, void** ptr2)
{
if (ExtPointers.alGetBuffer3PtrSOFT is null)
{
AlExtensionException.ThrowMissing("alGetBuffer3PtrSOFT", "AL_SOFT_callback_buffer");
}
ExtPointers.alGetBuffer3PtrSOFT(buffer, param, ptr0, ptr1, ptr2);
}
///
///
///
///
/// Provided by AL_SOFT_callback_buffer. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetBufferPtrvSOFT(uint buffer, int param, void** ptr)
{
if (ExtPointers.alGetBufferPtrvSOFT is null)
{
AlExtensionException.ThrowMissing("alGetBufferPtrvSOFT", "AL_SOFT_callback_buffer");
}
ExtPointers.alGetBufferPtrvSOFT(buffer, param, ptr);
}
///
///
///
///
/// Provided by AL_SOFT_source_start_delay. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void SourcePlayAtTimeSOFT(uint source, long startTime)
{
if (ExtPointers.alSourcePlayAtTimeSOFT is null)
{
AlExtensionException.ThrowMissing("alSourcePlayAtTimeSOFT", "AL_SOFT_source_start_delay");
}
ExtPointers.alSourcePlayAtTimeSOFT(source, startTime);
}
///
///
///
///
/// Provided by AL_SOFT_source_start_delay. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void SourcePlayAtTimevSOFT(int n, uint* sources, long startTime)
{
if (ExtPointers.alSourcePlayAtTimevSOFT is null)
{
AlExtensionException.ThrowMissing("alSourcePlayAtTimevSOFT", "AL_SOFT_source_start_delay");
}
ExtPointers.alSourcePlayAtTimevSOFT(n, sources, startTime);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void DebugMessageCallbackEXT(void* callback, void* userParam)
{
if (ExtPointers.alDebugMessageCallbackEXT is null)
{
AlExtensionException.ThrowMissing("alDebugMessageCallbackEXT", "AL_EXT_debug");
}
ExtPointers.alDebugMessageCallbackEXT(callback, userParam);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void DebugMessageInsertEXT(
int source,
int type,
uint id,
int severity,
int length,
byte* message
)
{
if (ExtPointers.alDebugMessageInsertEXT is null)
{
AlExtensionException.ThrowMissing("alDebugMessageInsertEXT", "AL_EXT_debug");
}
ExtPointers.alDebugMessageInsertEXT(source, type, id, severity, length, message);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void DebugMessageControlEXT(
int source,
int type,
int severity,
int count,
uint* ids,
Bool8 enable
)
{
if (ExtPointers.alDebugMessageControlEXT is null)
{
AlExtensionException.ThrowMissing("alDebugMessageControlEXT", "AL_EXT_debug");
}
ExtPointers.alDebugMessageControlEXT(source, type, severity, count, ids, enable);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void PushDebugGroupEXT(int source, uint id, int length, byte* message)
{
if (ExtPointers.alPushDebugGroupEXT is null)
{
AlExtensionException.ThrowMissing("alPushDebugGroupEXT", "AL_EXT_debug");
}
ExtPointers.alPushDebugGroupEXT(source, id, length, message);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void PopDebugGroupEXT()
{
if (ExtPointers.alPopDebugGroupEXT is null)
{
AlExtensionException.ThrowMissing("alPopDebugGroupEXT", "AL_EXT_debug");
}
ExtPointers.alPopDebugGroupEXT();
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static uint GetDebugMessageLogEXT(
uint count,
int logBufSize,
int* sources,
int* types,
uint* ids,
int* severities,
int* lengths,
byte* logBuf
)
{
if (ExtPointers.alGetDebugMessageLogEXT is null)
{
AlExtensionException.ThrowMissing("alGetDebugMessageLogEXT", "AL_EXT_debug");
}
return ExtPointers.alGetDebugMessageLogEXT(
count,
logBufSize,
sources,
types,
ids,
severities,
lengths,
logBuf
);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void ObjectLabelEXT(int identifier, uint name, int length, byte* label)
{
if (ExtPointers.alObjectLabelEXT is null)
{
AlExtensionException.ThrowMissing("alObjectLabelEXT", "AL_EXT_debug");
}
ExtPointers.alObjectLabelEXT(identifier, name, length, label);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetObjectLabelEXT(int identifier, uint name, int bufSize, int* length, byte* label)
{
if (ExtPointers.alGetObjectLabelEXT is null)
{
AlExtensionException.ThrowMissing("alGetObjectLabelEXT", "AL_EXT_debug");
}
ExtPointers.alGetObjectLabelEXT(identifier, name, bufSize, length, label);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void* GetPointerEXT(int pname)
{
if (ExtPointers.alGetPointerEXT is null)
{
AlExtensionException.ThrowMissing("alGetPointerEXT", "AL_EXT_debug");
}
return ExtPointers.alGetPointerEXT(pname);
}
///
///
///
///
/// Provided by AL_EXT_debug. Dispatched via alcGetProcAddress; throws if the loaded binary lacks it.
///
///
public static void GetPointervEXT(int pname, void** values)
{
if (ExtPointers.alGetPointervEXT is null)
{
AlExtensionException.ThrowMissing("alGetPointervEXT", "AL_EXT_debug");
}
ExtPointers.alGetPointervEXT(pname, values);
}
}
}
}