mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 12:38:24 +01:00
745 lines
35 KiB
C#
745 lines
35 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.OpenAlApi
|
|
{
|
|
using unsafe BufferCallbackSOFTFn = delegate* unmanaged[Cdecl]<uint, int, int, void*, void*, void>;
|
|
using unsafe BufferDataStaticFn = delegate* unmanaged[Cdecl]<uint, int, void*, int, int, void>;
|
|
using unsafe DebugMessageCallbackEXTFn = delegate* unmanaged[Cdecl]<void*, void*, void>;
|
|
using unsafe DebugMessageControlEXTFn = delegate* unmanaged[Cdecl]<int, int, int, int, uint*, Bool8, void>;
|
|
using unsafe DebugMessageInsertEXTFn = delegate* unmanaged[Cdecl]<int, int, uint, int, int, byte*, void>;
|
|
using unsafe DeferUpdatesSOFTFn = delegate* unmanaged[Cdecl]<void>;
|
|
using unsafe EventCallbackSOFTFn = delegate* unmanaged[Cdecl]<void*, void*, void>;
|
|
using unsafe EventControlSOFTFn = delegate* unmanaged[Cdecl]<int, int*, Bool8, void>;
|
|
using unsafe GetBuffer3PtrSOFTFn = delegate* unmanaged[Cdecl]<uint, int, void**, void**, void**, void>;
|
|
using unsafe GetBufferPtrSOFTFn = delegate* unmanaged[Cdecl]<uint, int, void**, void>;
|
|
using unsafe GetBufferPtrvSOFTFn = delegate* unmanaged[Cdecl]<uint, int, void**, void>;
|
|
using unsafe GetDebugMessageLogEXTFn = delegate* unmanaged[Cdecl]<
|
|
uint,
|
|
int,
|
|
int*,
|
|
int*,
|
|
uint*,
|
|
int*,
|
|
int*,
|
|
byte*,
|
|
uint>;
|
|
using unsafe GetObjectLabelEXTFn = delegate* unmanaged[Cdecl]<int, uint, int, int*, byte*, void>;
|
|
using unsafe GetPointerEXTFn = delegate* unmanaged[Cdecl]<int, void*>;
|
|
using unsafe GetPointerSOFTFn = delegate* unmanaged[Cdecl]<int, void*>;
|
|
using unsafe GetPointervEXTFn = delegate* unmanaged[Cdecl]<int, void**, void>;
|
|
using unsafe GetPointervSOFTFn = delegate* unmanaged[Cdecl]<int, void**, void>;
|
|
using unsafe GetSource3dSOFTFn = delegate* unmanaged[Cdecl]<uint, int, double*, double*, double*, void>;
|
|
using unsafe GetSource3i64SOFTFn = delegate* unmanaged[Cdecl]<uint, int, long*, long*, long*, void>;
|
|
using unsafe GetSourcedSOFTFn = delegate* unmanaged[Cdecl]<uint, int, double*, void>;
|
|
using unsafe GetSourcedvSOFTFn = delegate* unmanaged[Cdecl]<uint, int, double*, void>;
|
|
using unsafe GetSourcei64SOFTFn = delegate* unmanaged[Cdecl]<uint, int, long*, void>;
|
|
using unsafe GetSourcei64vSOFTFn = delegate* unmanaged[Cdecl]<uint, int, long*, void>;
|
|
using unsafe GetStringiSOFTFn = delegate* unmanaged[Cdecl]<int, int, byte*>;
|
|
using unsafe ObjectLabelEXTFn = delegate* unmanaged[Cdecl]<int, uint, int, byte*, void>;
|
|
using unsafe PopDebugGroupEXTFn = delegate* unmanaged[Cdecl]<void>;
|
|
using unsafe ProcessUpdatesSOFTFn = delegate* unmanaged[Cdecl]<void>;
|
|
using unsafe PushDebugGroupEXTFn = delegate* unmanaged[Cdecl]<int, uint, int, byte*, void>;
|
|
using unsafe Source3dSOFTFn = delegate* unmanaged[Cdecl]<uint, int, double, double, double, void>;
|
|
using unsafe Source3i64SOFTFn = delegate* unmanaged[Cdecl]<uint, int, long, long, long, void>;
|
|
using unsafe SourcedSOFTFn = delegate* unmanaged[Cdecl]<uint, int, double, void>;
|
|
using unsafe SourcedvSOFTFn = delegate* unmanaged[Cdecl]<uint, int, double*, void>;
|
|
using unsafe Sourcei64SOFTFn = delegate* unmanaged[Cdecl]<uint, int, long, void>;
|
|
using unsafe Sourcei64vSOFTFn = delegate* unmanaged[Cdecl]<uint, int, long*, void>;
|
|
using unsafe SourcePlayAtTimeSOFTFn = delegate* unmanaged[Cdecl]<uint, long, void>;
|
|
using unsafe SourcePlayAtTimevSOFTFn = delegate* unmanaged[Cdecl]<int, uint*, long, void>;
|
|
|
|
public static unsafe partial class Al
|
|
{
|
|
/// <summary>
|
|
/// Cached unmanaged function pointers for the in-scope alext.h entry points, each resolved once via <c>alcGetProcAddress</c> against the null device. A null field means the loaded binary does not export that symbol; the paired <see cref="PInvoke"/> method throws instead of dereferencing it.
|
|
/// </summary>
|
|
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
|
|
{
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_STATIC_BUFFER</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_latency</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_deferred_updates</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void DeferUpdatesSOFT()
|
|
{
|
|
if (ExtPointers.alDeferUpdatesSOFT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alDeferUpdatesSOFT", "AL_SOFT_deferred_updates");
|
|
}
|
|
ExtPointers.alDeferUpdatesSOFT();
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_deferred_updates</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void ProcessUpdatesSOFT()
|
|
{
|
|
if (ExtPointers.alProcessUpdatesSOFT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alProcessUpdatesSOFT", "AL_SOFT_deferred_updates");
|
|
}
|
|
ExtPointers.alProcessUpdatesSOFT();
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_resampler</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_events</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_events</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void EventCallbackSOFT(void* callback, void* userParam)
|
|
{
|
|
if (ExtPointers.alEventCallbackSOFT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alEventCallbackSOFT", "AL_SOFT_events");
|
|
}
|
|
ExtPointers.alEventCallbackSOFT(callback, userParam);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_events</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void* GetPointerSOFT(int pname)
|
|
{
|
|
if (ExtPointers.alGetPointerSOFT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alGetPointerSOFT", "AL_SOFT_events");
|
|
}
|
|
return ExtPointers.alGetPointerSOFT(pname);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_events</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void GetPointervSOFT(int pname, void** values)
|
|
{
|
|
if (ExtPointers.alGetPointervSOFT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alGetPointervSOFT", "AL_SOFT_events");
|
|
}
|
|
ExtPointers.alGetPointervSOFT(pname, values);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_callback_buffer</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_callback_buffer</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_callback_buffer</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_callback_buffer</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_start_delay</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_SOFT_source_start_delay</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void DebugMessageCallbackEXT(void* callback, void* userParam)
|
|
{
|
|
if (ExtPointers.alDebugMessageCallbackEXT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alDebugMessageCallbackEXT", "AL_EXT_debug");
|
|
}
|
|
ExtPointers.alDebugMessageCallbackEXT(callback, userParam);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void PopDebugGroupEXT()
|
|
{
|
|
if (ExtPointers.alPopDebugGroupEXT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alPopDebugGroupEXT", "AL_EXT_debug");
|
|
}
|
|
ExtPointers.alPopDebugGroupEXT();
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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
|
|
);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void* GetPointerEXT(int pname)
|
|
{
|
|
if (ExtPointers.alGetPointerEXT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alGetPointerEXT", "AL_EXT_debug");
|
|
}
|
|
return ExtPointers.alGetPointerEXT(pname);
|
|
}
|
|
|
|
/// <summary>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Provided by <c>AL_EXT_debug</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
|
/// </para>
|
|
/// </remarks>
|
|
public static void GetPointervEXT(int pname, void** values)
|
|
{
|
|
if (ExtPointers.alGetPointervEXT is null)
|
|
{
|
|
AlExtensionException.ThrowMissing("alGetPointervEXT", "AL_EXT_debug");
|
|
}
|
|
ExtPointers.alGetPointervEXT(pname, values);
|
|
}
|
|
}
|
|
}
|
|
}
|