mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
16 changed files with 784842 additions and 0 deletions
101
Brutal.OpenAl/Generated/Alc/Alc.Constants.gen.cs
Normal file
101
Brutal.OpenAl/Generated/Alc/Alc.Constants.gen.cs
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
public static unsafe partial class Alc
|
||||
{
|
||||
public static class Constants
|
||||
{
|
||||
[Obsolete("Use 0 instead")]
|
||||
public const int ALC_INVALID = unchecked((int)0);
|
||||
public const int ALC_FALSE = unchecked((int)0);
|
||||
public const int ALC_TRUE = unchecked((int)1);
|
||||
public const int ALC_FREQUENCY = unchecked((int)0x1007);
|
||||
public const int ALC_REFRESH = unchecked((int)0x1008);
|
||||
public const int ALC_SYNC = unchecked((int)0x1009);
|
||||
public const int ALC_NO_ERROR = unchecked((int)0);
|
||||
public const int ALC_INVALID_DEVICE = unchecked((int)0xA001);
|
||||
public const int ALC_INVALID_CONTEXT = unchecked((int)0xA002);
|
||||
public const int ALC_INVALID_ENUM = unchecked((int)0xA003);
|
||||
public const int ALC_INVALID_VALUE = unchecked((int)0xA004);
|
||||
public const int ALC_OUT_OF_MEMORY = unchecked((int)0xA005);
|
||||
public const int ALC_MAJOR_VERSION = unchecked((int)0x1000);
|
||||
public const int ALC_MINOR_VERSION = unchecked((int)0x1001);
|
||||
public const int ALC_ATTRIBUTES_SIZE = unchecked((int)0x1002);
|
||||
public const int ALC_ALL_ATTRIBUTES = unchecked((int)0x1003);
|
||||
public const int ALC_DEFAULT_DEVICE_SPECIFIER = unchecked((int)0x1004);
|
||||
public const int ALC_DEVICE_SPECIFIER = unchecked((int)0x1005);
|
||||
public const int ALC_EXTENSIONS = unchecked((int)0x1006);
|
||||
public const int ALC_MONO_SOURCES = unchecked((int)0x1010);
|
||||
public const int ALC_STEREO_SOURCES = unchecked((int)0x1011);
|
||||
public const int ALC_CAPTURE_DEVICE_SPECIFIER = unchecked((int)0x310);
|
||||
public const int ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER = unchecked((int)0x311);
|
||||
public const int ALC_CAPTURE_SAMPLES = unchecked((int)0x312);
|
||||
public const int ALC_DEFAULT_ALL_DEVICES_SPECIFIER = unchecked((int)0x1012);
|
||||
public const int ALC_ALL_DEVICES_SPECIFIER = unchecked((int)0x1013);
|
||||
public const int ALC_EFX_MAJOR_VERSION = unchecked((int)0x20001);
|
||||
public const int ALC_EFX_MINOR_VERSION = unchecked((int)0x20002);
|
||||
public const int ALC_MAX_AUXILIARY_SENDS = unchecked((int)0x20003);
|
||||
public const int ALC_CONNECTED = unchecked((int)0x313);
|
||||
public const int ALC_FORMAT_CHANNELS_SOFT = unchecked((int)0x1990);
|
||||
public const int ALC_FORMAT_TYPE_SOFT = unchecked((int)0x1991);
|
||||
public const int ALC_BYTE_SOFT = unchecked((int)0x1400);
|
||||
public const int ALC_UNSIGNED_BYTE_SOFT = unchecked((int)0x1401);
|
||||
public const int ALC_SHORT_SOFT = unchecked((int)0x1402);
|
||||
public const int ALC_UNSIGNED_SHORT_SOFT = unchecked((int)0x1403);
|
||||
public const int ALC_INT_SOFT = unchecked((int)0x1404);
|
||||
public const int ALC_UNSIGNED_INT_SOFT = unchecked((int)0x1405);
|
||||
public const int ALC_FLOAT_SOFT = unchecked((int)0x1406);
|
||||
public const int ALC_MONO_SOFT = unchecked((int)0x1500);
|
||||
public const int ALC_STEREO_SOFT = unchecked((int)0x1501);
|
||||
public const int ALC_QUAD_SOFT = unchecked((int)0x1503);
|
||||
public const int ALC_5POINT1_SOFT = unchecked((int)0x1504);
|
||||
public const int ALC_6POINT1_SOFT = unchecked((int)0x1505);
|
||||
public const int ALC_7POINT1_SOFT = unchecked((int)0x1506);
|
||||
public const int ALC_HRTF_SOFT = unchecked((int)0x1992);
|
||||
public const int ALC_DONT_CARE_SOFT = unchecked((int)0x0002);
|
||||
public const int ALC_HRTF_STATUS_SOFT = unchecked((int)0x1993);
|
||||
public const int ALC_HRTF_DISABLED_SOFT = unchecked((int)0x0000);
|
||||
public const int ALC_HRTF_ENABLED_SOFT = unchecked((int)0x0001);
|
||||
public const int ALC_HRTF_DENIED_SOFT = unchecked((int)0x0002);
|
||||
public const int ALC_HRTF_REQUIRED_SOFT = unchecked((int)0x0003);
|
||||
public const int ALC_HRTF_HEADPHONES_DETECTED_SOFT = unchecked((int)0x0004);
|
||||
public const int ALC_HRTF_UNSUPPORTED_FORMAT_SOFT = unchecked((int)0x0005);
|
||||
public const int ALC_NUM_HRTF_SPECIFIERS_SOFT = unchecked((int)0x1994);
|
||||
public const int ALC_HRTF_SPECIFIER_SOFT = unchecked((int)0x1995);
|
||||
public const int ALC_HRTF_ID_SOFT = unchecked((int)0x1996);
|
||||
public const int ALC_OUTPUT_LIMITER_SOFT = unchecked((int)0x199A);
|
||||
public const int ALC_DEVICE_CLOCK_SOFT = unchecked((int)0x1600);
|
||||
public const int ALC_DEVICE_LATENCY_SOFT = unchecked((int)0x1601);
|
||||
public const int ALC_DEVICE_CLOCK_LATENCY_SOFT = unchecked((int)0x1602);
|
||||
public const int ALC_AMBISONIC_LAYOUT_SOFT = unchecked((int)0x1997);
|
||||
public const int ALC_AMBISONIC_SCALING_SOFT = unchecked((int)0x1998);
|
||||
public const int ALC_AMBISONIC_ORDER_SOFT = unchecked((int)0x1999);
|
||||
public const int ALC_MAX_AMBISONIC_ORDER_SOFT = unchecked((int)0x199B);
|
||||
public const int ALC_BFORMAT3D_SOFT = unchecked((int)0x1507);
|
||||
public const int ALC_FUMA_SOFT = unchecked((int)0x0000);
|
||||
public const int ALC_ACN_SOFT = unchecked((int)0x0001);
|
||||
public const int ALC_SN3D_SOFT = unchecked((int)0x0001);
|
||||
public const int ALC_N3D_SOFT = unchecked((int)0x0002);
|
||||
public const int ALC_OUTPUT_MODE_SOFT = unchecked((int)0x19AC);
|
||||
public const int ALC_ANY_SOFT = unchecked((int)0x19AD);
|
||||
public const int ALC_STEREO_BASIC_SOFT = unchecked((int)0x19AE);
|
||||
public const int ALC_STEREO_UHJ_SOFT = unchecked((int)0x19AF);
|
||||
public const int ALC_STEREO_HRTF_SOFT = unchecked((int)0x19B2);
|
||||
public const int ALC_SURROUND_5_1_SOFT = unchecked((int)0x1504);
|
||||
public const int ALC_SURROUND_6_1_SOFT = unchecked((int)0x1505);
|
||||
public const int ALC_SURROUND_7_1_SOFT = unchecked((int)0x1506);
|
||||
public const int ALC_CONTEXT_FLAGS_EXT = unchecked((int)0x19CF);
|
||||
public const int ALC_CONTEXT_DEBUG_BIT_EXT = unchecked((int)0x0001);
|
||||
public const int ALC_PLAYBACK_DEVICE_SOFT = unchecked((int)0x19D4);
|
||||
public const int ALC_CAPTURE_DEVICE_SOFT = unchecked((int)0x19D5);
|
||||
public const int ALC_EVENT_TYPE_DEFAULT_DEVICE_CHANGED_SOFT = unchecked((int)0x19D6);
|
||||
public const int ALC_EVENT_TYPE_DEVICE_ADDED_SOFT = unchecked((int)0x19D7);
|
||||
public const int ALC_EVENT_TYPE_DEVICE_REMOVED_SOFT = unchecked((int)0x19D8);
|
||||
public const int ALC_EVENT_SUPPORTED_SOFT = unchecked((int)0x19D9);
|
||||
public const int ALC_EVENT_NOT_SUPPORTED_SOFT = unchecked((int)0x19DA);
|
||||
}
|
||||
}
|
||||
}
|
||||
289
Brutal.OpenAl/Generated/Alc/Alc.Ext.gen.cs
Normal file
289
Brutal.OpenAl/Generated/Alc/Alc.Ext.gen.cs
Normal file
|
|
@ -0,0 +1,289 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
using unsafe DevicePauseSOFTFn = delegate* unmanaged[Cdecl]<nint, void>;
|
||||
using unsafe DeviceResumeSOFTFn = delegate* unmanaged[Cdecl]<nint, void>;
|
||||
using unsafe EventCallbackSOFTFn = delegate* unmanaged[Cdecl]<void*, void*, void>;
|
||||
using unsafe EventControlSOFTFn = delegate* unmanaged[Cdecl]<int, int*, Bool8, Bool8>;
|
||||
using unsafe EventIsSupportedSOFTFn = delegate* unmanaged[Cdecl]<int, int, int>;
|
||||
using unsafe GetInteger64vSOFTFn = delegate* unmanaged[Cdecl]<nint, int, int, long*, void>;
|
||||
using unsafe GetStringiSOFTFn = delegate* unmanaged[Cdecl]<nint, int, int, byte*>;
|
||||
using unsafe GetThreadContextFn = delegate* unmanaged[Cdecl]<nint>;
|
||||
using unsafe IsRenderFormatSupportedSOFTFn = delegate* unmanaged[Cdecl]<nint, int, int, int, Bool8>;
|
||||
using unsafe LoopbackOpenDeviceSOFTFn = delegate* unmanaged[Cdecl]<byte*, nint>;
|
||||
using unsafe RenderSamplesSOFTFn = delegate* unmanaged[Cdecl]<nint, void*, int, void>;
|
||||
using unsafe ReopenDeviceSOFTFn = delegate* unmanaged[Cdecl]<nint, byte*, int*, Bool8>;
|
||||
using unsafe ResetDeviceSOFTFn = delegate* unmanaged[Cdecl]<nint, int*, Bool8>;
|
||||
using unsafe SetThreadContextFn = delegate* unmanaged[Cdecl]<nint, Bool8>;
|
||||
|
||||
public static unsafe partial class Alc
|
||||
{
|
||||
/// <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 SetThreadContextFn alcSetThreadContext = (SetThreadContextFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcSetThreadContext"u8);
|
||||
internal static readonly GetThreadContextFn alcGetThreadContext = (GetThreadContextFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcGetThreadContext"u8);
|
||||
internal static readonly LoopbackOpenDeviceSOFTFn alcLoopbackOpenDeviceSOFT = (LoopbackOpenDeviceSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcLoopbackOpenDeviceSOFT"u8);
|
||||
internal static readonly IsRenderFormatSupportedSOFTFn alcIsRenderFormatSupportedSOFT =
|
||||
(IsRenderFormatSupportedSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcIsRenderFormatSupportedSOFT"u8);
|
||||
internal static readonly RenderSamplesSOFTFn alcRenderSamplesSOFT = (RenderSamplesSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcRenderSamplesSOFT"u8);
|
||||
internal static readonly DevicePauseSOFTFn alcDevicePauseSOFT = (DevicePauseSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcDevicePauseSOFT"u8);
|
||||
internal static readonly DeviceResumeSOFTFn alcDeviceResumeSOFT = (DeviceResumeSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcDeviceResumeSOFT"u8);
|
||||
internal static readonly GetStringiSOFTFn alcGetStringiSOFT = (GetStringiSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcGetStringiSOFT"u8);
|
||||
internal static readonly ResetDeviceSOFTFn alcResetDeviceSOFT = (ResetDeviceSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcResetDeviceSOFT"u8);
|
||||
internal static readonly GetInteger64vSOFTFn alcGetInteger64vSOFT = (GetInteger64vSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcGetInteger64vSOFT"u8);
|
||||
internal static readonly ReopenDeviceSOFTFn alcReopenDeviceSOFT = (ReopenDeviceSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcReopenDeviceSOFT"u8);
|
||||
internal static readonly EventIsSupportedSOFTFn alcEventIsSupportedSOFT = (EventIsSupportedSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcEventIsSupportedSOFT"u8);
|
||||
internal static readonly EventControlSOFTFn alcEventControlSOFT = (EventControlSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcEventControlSOFT"u8);
|
||||
internal static readonly EventCallbackSOFTFn alcEventCallbackSOFT = (EventCallbackSOFTFn)
|
||||
Alc.GetProcAddressUtf8(AlcDevice.Null, "alcEventCallbackSOFT"u8);
|
||||
}
|
||||
|
||||
public static partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_EXT_thread_local_context</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static Bool8 SetThreadContext(AlcContext context)
|
||||
{
|
||||
if (ExtPointers.alcSetThreadContext is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcSetThreadContext", "ALC_EXT_thread_local_context");
|
||||
}
|
||||
return ExtPointers.alcSetThreadContext(context.Pointer.Value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_EXT_thread_local_context</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static AlcContext GetThreadContext()
|
||||
{
|
||||
if (ExtPointers.alcGetThreadContext is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcGetThreadContext", "ALC_EXT_thread_local_context");
|
||||
}
|
||||
var result = ExtPointers.alcGetThreadContext();
|
||||
return (void*)result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_loopback</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static AlcDevice LoopbackOpenDeviceSOFT(byte* deviceName)
|
||||
{
|
||||
if (ExtPointers.alcLoopbackOpenDeviceSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcLoopbackOpenDeviceSOFT", "ALC_SOFT_loopback");
|
||||
}
|
||||
var result = ExtPointers.alcLoopbackOpenDeviceSOFT(deviceName);
|
||||
return (void*)result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_loopback</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static Bool8 IsRenderFormatSupportedSOFT(AlcDevice device, int freq, int channels, int type)
|
||||
{
|
||||
if (ExtPointers.alcIsRenderFormatSupportedSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcIsRenderFormatSupportedSOFT", "ALC_SOFT_loopback");
|
||||
}
|
||||
return ExtPointers.alcIsRenderFormatSupportedSOFT(device.Pointer.Value, freq, channels, type);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_loopback</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static void RenderSamplesSOFT(AlcDevice device, void* buffer, int samples)
|
||||
{
|
||||
if (ExtPointers.alcRenderSamplesSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcRenderSamplesSOFT", "ALC_SOFT_loopback");
|
||||
}
|
||||
ExtPointers.alcRenderSamplesSOFT(device.Pointer.Value, buffer, samples);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_pause_device</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static void DevicePauseSOFT(AlcDevice device)
|
||||
{
|
||||
if (ExtPointers.alcDevicePauseSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcDevicePauseSOFT", "ALC_SOFT_pause_device");
|
||||
}
|
||||
ExtPointers.alcDevicePauseSOFT(device.Pointer.Value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_pause_device</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static void DeviceResumeSOFT(AlcDevice device)
|
||||
{
|
||||
if (ExtPointers.alcDeviceResumeSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcDeviceResumeSOFT", "ALC_SOFT_pause_device");
|
||||
}
|
||||
ExtPointers.alcDeviceResumeSOFT(device.Pointer.Value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_HRTF</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static byte* GetStringiSOFT(AlcDevice device, int paramName, int index)
|
||||
{
|
||||
if (ExtPointers.alcGetStringiSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcGetStringiSOFT", "ALC_SOFT_HRTF");
|
||||
}
|
||||
return ExtPointers.alcGetStringiSOFT(device.Pointer.Value, paramName, index);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_HRTF</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static Bool8 ResetDeviceSOFT(AlcDevice device, int* attribs)
|
||||
{
|
||||
if (ExtPointers.alcResetDeviceSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcResetDeviceSOFT", "ALC_SOFT_HRTF");
|
||||
}
|
||||
return ExtPointers.alcResetDeviceSOFT(device.Pointer.Value, attribs);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_device_clock</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static void GetInteger64vSOFT(AlcDevice device, int pname, int size, long* values)
|
||||
{
|
||||
if (ExtPointers.alcGetInteger64vSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcGetInteger64vSOFT", "ALC_SOFT_device_clock");
|
||||
}
|
||||
ExtPointers.alcGetInteger64vSOFT(device.Pointer.Value, pname, size, values);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_reopen_device</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static Bool8 ReopenDeviceSOFT(AlcDevice device, byte* deviceName, int* attribs)
|
||||
{
|
||||
if (ExtPointers.alcReopenDeviceSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcReopenDeviceSOFT", "ALC_SOFT_reopen_device");
|
||||
}
|
||||
return ExtPointers.alcReopenDeviceSOFT(device.Pointer.Value, deviceName, attribs);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_system_events</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static int EventIsSupportedSOFT(int eventType, int deviceType)
|
||||
{
|
||||
if (ExtPointers.alcEventIsSupportedSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcEventIsSupportedSOFT", "ALC_SOFT_system_events");
|
||||
}
|
||||
return ExtPointers.alcEventIsSupportedSOFT(eventType, deviceType);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_system_events</c>. Dispatched via <c>alcGetProcAddress</c>; throws if the loaded binary lacks it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public static Bool8 EventControlSOFT(int count, int* events, Bool8 enable)
|
||||
{
|
||||
if (ExtPointers.alcEventControlSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcEventControlSOFT", "ALC_SOFT_system_events");
|
||||
}
|
||||
return ExtPointers.alcEventControlSOFT(count, events, enable);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Provided by <c>ALC_SOFT_system_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.alcEventCallbackSOFT is null)
|
||||
{
|
||||
AlExtensionException.ThrowMissing("alcEventCallbackSOFT", "ALC_SOFT_system_events");
|
||||
}
|
||||
ExtPointers.alcEventCallbackSOFT(callback, userParam);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
122
Brutal.OpenAl/Generated/Alc/Alc.PInvoke.gen.cs
Normal file
122
Brutal.OpenAl/Generated/Alc/Alc.PInvoke.gen.cs
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
public static unsafe partial class Alc
|
||||
{
|
||||
public static partial class PInvoke
|
||||
{
|
||||
/// <summary>
|
||||
/// Create and attach a context to the given device.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcCreateContext")]
|
||||
public static partial AlcContext CreateContext(AlcDevice device, int* attrlist);
|
||||
|
||||
[LibraryImport(Dll, EntryPoint = "alcMakeContextCurrent")]
|
||||
public static partial Bool8 MakeContextCurrent(AlcContext context);
|
||||
|
||||
/// <summary>
|
||||
/// Resumes processing updates for the given context.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcProcessContext")]
|
||||
public static partial void ProcessContext(AlcContext context);
|
||||
|
||||
/// <summary>
|
||||
/// Suspends updates for the given context.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcSuspendContext")]
|
||||
public static partial void SuspendContext(AlcContext context);
|
||||
|
||||
/// <summary>
|
||||
/// Remove a context from its device and destroys it.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcDestroyContext")]
|
||||
public static partial void DestroyContext(AlcContext context);
|
||||
|
||||
/// <summary>
|
||||
/// Returns the currently active context.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcGetCurrentContext")]
|
||||
public static partial AlcContext GetCurrentContext();
|
||||
|
||||
/// <summary>
|
||||
/// Returns the device that a particular context is attached to.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcGetContextsDevice")]
|
||||
public static partial AlcDevice GetContextsDevice(AlcContext context);
|
||||
|
||||
/// <summary>
|
||||
/// Opens the named playback device.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcOpenDevice")]
|
||||
public static partial AlcDevice OpenDevice(byte* devicename);
|
||||
|
||||
/// <summary>
|
||||
/// Closes the given playback device.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcCloseDevice")]
|
||||
public static partial Bool8 CloseDevice(AlcDevice device);
|
||||
|
||||
/// <summary>
|
||||
/// Obtain the most recent Device error.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcGetError")]
|
||||
public static partial int GetError(AlcDevice device);
|
||||
|
||||
[LibraryImport(Dll, EntryPoint = "alcIsExtensionPresent")]
|
||||
public static partial Bool8 IsExtensionPresent(AlcDevice device, byte* extname);
|
||||
|
||||
[LibraryImport(Dll, EntryPoint = "alcGetProcAddress")]
|
||||
public static partial void* GetProcAddress(AlcDevice device, byte* funcname);
|
||||
|
||||
[LibraryImport(Dll, EntryPoint = "alcGetEnumValue")]
|
||||
public static partial int GetEnumValue(AlcDevice device, byte* enumname);
|
||||
|
||||
/// <summary>
|
||||
/// Returns information about the device, and error strings.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcGetString")]
|
||||
public static partial byte* GetString(AlcDevice device, int param);
|
||||
|
||||
/// <summary>
|
||||
/// Returns information about the device and the version of OpenAL.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcGetIntegerv")]
|
||||
public static partial void GetIntegerv(AlcDevice device, int param, int size, int* values);
|
||||
|
||||
[LibraryImport(Dll, EntryPoint = "alcCaptureOpenDevice")]
|
||||
public static partial AlcCaptureDevice CaptureOpenDevice(
|
||||
byte* devicename,
|
||||
uint frequency,
|
||||
int format,
|
||||
int buffersize
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Closes the given capture device.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcCaptureCloseDevice")]
|
||||
public static partial Bool8 CaptureCloseDevice(AlcCaptureDevice device);
|
||||
|
||||
/// <summary>
|
||||
/// Starts capturing samples into the device buffer.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcCaptureStart")]
|
||||
public static partial void CaptureStart(AlcCaptureDevice device);
|
||||
|
||||
/// <summary>
|
||||
/// Stops capturing samples. Samples in the device buffer remain available.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcCaptureStop")]
|
||||
public static partial void CaptureStop(AlcCaptureDevice device);
|
||||
|
||||
/// <summary>
|
||||
/// Reads samples from the device buffer.
|
||||
/// </summary>
|
||||
[LibraryImport(Dll, EntryPoint = "alcCaptureSamples")]
|
||||
public static partial void CaptureSamples(AlcCaptureDevice device, void* buffer, int samples);
|
||||
}
|
||||
}
|
||||
}
|
||||
17
Brutal.OpenAl/Generated/Alc/Enums/AlcAmbisonicLayout.gen.cs
Normal file
17
Brutal.OpenAl/Generated/Alc/Enums/AlcAmbisonicLayout.gen.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>ALC_AMBISONIC_LAYOUT_SOFT</c> values.
|
||||
/// </summary>
|
||||
public enum AlcAmbisonicLayout
|
||||
{
|
||||
Fuma = ALC_FUMA_SOFT,
|
||||
Acn = ALC_ACN_SOFT,
|
||||
}
|
||||
}
|
||||
18
Brutal.OpenAl/Generated/Alc/Enums/AlcAmbisonicScaling.gen.cs
Normal file
18
Brutal.OpenAl/Generated/Alc/Enums/AlcAmbisonicScaling.gen.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>ALC_AMBISONIC_SCALING_SOFT</c> values.
|
||||
/// </summary>
|
||||
public enum AlcAmbisonicScaling
|
||||
{
|
||||
Fuma = ALC_FUMA_SOFT,
|
||||
Sn3d = ALC_SN3D_SOFT,
|
||||
N3d = ALC_N3D_SOFT,
|
||||
}
|
||||
}
|
||||
22
Brutal.OpenAl/Generated/Alc/Enums/AlcChannelLayout.gen.cs
Normal file
22
Brutal.OpenAl/Generated/Alc/Enums/AlcChannelLayout.gen.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>ALC_FORMAT_CHANNELS_SOFT</c> values.
|
||||
/// </summary>
|
||||
public enum AlcChannelLayout
|
||||
{
|
||||
Mono = ALC_MONO_SOFT,
|
||||
Stereo = ALC_STEREO_SOFT,
|
||||
Quad = ALC_QUAD_SOFT,
|
||||
Surround51 = ALC_5POINT1_SOFT,
|
||||
Surround61 = ALC_6POINT1_SOFT,
|
||||
Surround71 = ALC_7POINT1_SOFT,
|
||||
Bformat3d = ALC_BFORMAT3D_SOFT,
|
||||
}
|
||||
}
|
||||
66
Brutal.OpenAl/Generated/Alc/Enums/AlcContextAttribute.gen.cs
Normal file
66
Brutal.OpenAl/Generated/Alc/Enums/AlcContextAttribute.gen.cs
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>alcCreateContext</c> values.
|
||||
/// </summary>
|
||||
public enum AlcContextAttribute
|
||||
{
|
||||
/// <summary>
|
||||
/// Context attribute: <int> Hz.
|
||||
/// </summary>
|
||||
Frequency = ALC_FREQUENCY,
|
||||
|
||||
/// <summary>
|
||||
/// Context attribute: <int> Hz.
|
||||
/// </summary>
|
||||
Refresh = ALC_REFRESH,
|
||||
|
||||
/// <summary>
|
||||
/// Context attribute: AL_TRUE or AL_FALSE synchronous context?
|
||||
/// </summary>
|
||||
Sync = ALC_SYNC,
|
||||
|
||||
/// <summary>
|
||||
/// Context attribute: <int> requested Mono (3D) Sources.
|
||||
/// </summary>
|
||||
MonoSources = ALC_MONO_SOURCES,
|
||||
|
||||
/// <summary>
|
||||
/// Context attribute: <int> requested Stereo Sources.
|
||||
/// </summary>
|
||||
StereoSources = ALC_STEREO_SOURCES,
|
||||
MaxAuxiliarySends = ALC_MAX_AUXILIARY_SENDS,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCenum</c>.
|
||||
/// </summary>
|
||||
Hrtf = ALC_HRTF_SOFT,
|
||||
HrtfId = ALC_HRTF_ID_SOFT,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCenum</c>; default <c>ALC_ANY_SOFT</c>.
|
||||
/// </summary>
|
||||
OutputMode = ALC_OUTPUT_MODE_SOFT,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCenum</c>.
|
||||
/// </summary>
|
||||
OutputLimiter = ALC_OUTPUT_LIMITER_SOFT,
|
||||
FormatChannels = ALC_FORMAT_CHANNELS_SOFT,
|
||||
FormatType = ALC_FORMAT_TYPE_SOFT,
|
||||
AmbisonicLayout = ALC_AMBISONIC_LAYOUT_SOFT,
|
||||
AmbisonicScaling = ALC_AMBISONIC_SCALING_SOFT,
|
||||
AmbisonicOrder = ALC_AMBISONIC_ORDER_SOFT,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCenum</c>.
|
||||
/// </summary>
|
||||
ContextFlags = ALC_CONTEXT_FLAGS_EXT,
|
||||
}
|
||||
}
|
||||
17
Brutal.OpenAl/Generated/Alc/Enums/AlcDeviceType.gen.cs
Normal file
17
Brutal.OpenAl/Generated/Alc/Enums/AlcDeviceType.gen.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>ALC_EVENT_TYPE_DEVICE_ADDED_SOFT</c>/<c>ALC_EVENT_TYPE_DEVICE_REMOVED_SOFT</c> values.
|
||||
/// </summary>
|
||||
public enum AlcDeviceType
|
||||
{
|
||||
Playback = ALC_PLAYBACK_DEVICE_SOFT,
|
||||
Capture = ALC_CAPTURE_DEVICE_SOFT,
|
||||
}
|
||||
}
|
||||
44
Brutal.OpenAl/Generated/Alc/Enums/AlcError.gen.cs
Normal file
44
Brutal.OpenAl/Generated/Alc/Enums/AlcError.gen.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>alcGetError</c> values.
|
||||
/// </summary>
|
||||
public enum AlcError
|
||||
{
|
||||
/// <summary>
|
||||
/// No error.
|
||||
/// </summary>
|
||||
NoError = ALC_NO_ERROR,
|
||||
|
||||
/// <summary>
|
||||
/// Invalid device handle.
|
||||
/// </summary>
|
||||
InvalidDevice = ALC_INVALID_DEVICE,
|
||||
|
||||
/// <summary>
|
||||
/// Invalid context handle.
|
||||
/// </summary>
|
||||
InvalidContext = ALC_INVALID_CONTEXT,
|
||||
|
||||
/// <summary>
|
||||
/// Invalid enumeration passed to an ALC call.
|
||||
/// </summary>
|
||||
InvalidEnum = ALC_INVALID_ENUM,
|
||||
|
||||
/// <summary>
|
||||
/// Invalid value passed to an ALC call.
|
||||
/// </summary>
|
||||
InvalidValue = ALC_INVALID_VALUE,
|
||||
|
||||
/// <summary>
|
||||
/// Out of memory.
|
||||
/// </summary>
|
||||
OutOfMemory = ALC_OUT_OF_MEMORY,
|
||||
}
|
||||
}
|
||||
18
Brutal.OpenAl/Generated/Alc/Enums/AlcEventType.gen.cs
Normal file
18
Brutal.OpenAl/Generated/Alc/Enums/AlcEventType.gen.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>alcEventCallbackSOFT</c> values.
|
||||
/// </summary>
|
||||
public enum AlcEventType
|
||||
{
|
||||
DefaultDeviceChanged = ALC_EVENT_TYPE_DEFAULT_DEVICE_CHANGED_SOFT,
|
||||
DeviceAdded = ALC_EVENT_TYPE_DEVICE_ADDED_SOFT,
|
||||
DeviceRemoved = ALC_EVENT_TYPE_DEVICE_REMOVED_SOFT,
|
||||
}
|
||||
}
|
||||
72
Brutal.OpenAl/Generated/Alc/Enums/AlcGetString.gen.cs
Normal file
72
Brutal.OpenAl/Generated/Alc/Enums/AlcGetString.gen.cs
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>alcGetString</c> values.
|
||||
/// </summary>
|
||||
public enum AlcGetString
|
||||
{
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Capture specifier string.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// If device handle is NULL, it is instead a null-character separated list of strings of known device
|
||||
/// specifiers (list ends with an empty string).
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
CaptureDeviceSpecifier = ALC_CAPTURE_DEVICE_SPECIFIER,
|
||||
|
||||
/// <summary>
|
||||
/// String for the default capture device specifier.
|
||||
/// </summary>
|
||||
CaptureDefaultDeviceSpecifier = ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER,
|
||||
|
||||
/// <summary>
|
||||
/// String for the default device specifier.
|
||||
/// </summary>
|
||||
DefaultDeviceSpecifier = ALC_DEFAULT_DEVICE_SPECIFIER,
|
||||
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Device specifier string.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// If device handle is NULL, it is instead a null-character separated list of strings of known device
|
||||
/// specifiers (list ends with an empty string).
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
DeviceSpecifier = ALC_DEVICE_SPECIFIER,
|
||||
|
||||
/// <summary>
|
||||
/// String for space-separated list of ALC extensions.
|
||||
/// </summary>
|
||||
Extensions = ALC_EXTENSIONS,
|
||||
|
||||
/// <summary>
|
||||
/// String for the default extended device specifier.
|
||||
/// </summary>
|
||||
DefaultAllDevicesSpecifier = ALC_DEFAULT_ALL_DEVICES_SPECIFIER,
|
||||
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Device's extended specifier string.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// If device handle is NULL, it is instead a null-character separated list of strings of known extended
|
||||
/// device specifiers (list ends with an empty string).
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
AllDevicesSpecifier = ALC_ALL_DEVICES_SPECIFIER,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCstring</c>.
|
||||
/// </summary>
|
||||
HrtfSpecifier = ALC_HRTF_SPECIFIER_SOFT,
|
||||
}
|
||||
}
|
||||
21
Brutal.OpenAl/Generated/Alc/Enums/AlcHrtfStatus.gen.cs
Normal file
21
Brutal.OpenAl/Generated/Alc/Enums/AlcHrtfStatus.gen.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>ALC_HRTF_STATUS_SOFT</c> values.
|
||||
/// </summary>
|
||||
public enum AlcHrtfStatus
|
||||
{
|
||||
Disabled = ALC_HRTF_DISABLED_SOFT,
|
||||
Enabled = ALC_HRTF_ENABLED_SOFT,
|
||||
Denied = ALC_HRTF_DENIED_SOFT,
|
||||
Required = ALC_HRTF_REQUIRED_SOFT,
|
||||
HeadphonesDetected = ALC_HRTF_HEADPHONES_DETECTED_SOFT,
|
||||
UnsupportedFormat = ALC_HRTF_UNSUPPORTED_FORMAT_SOFT,
|
||||
}
|
||||
}
|
||||
72
Brutal.OpenAl/Generated/Alc/Enums/AlcInteger.gen.cs
Normal file
72
Brutal.OpenAl/Generated/Alc/Enums/AlcInteger.gen.cs
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>alcGetIntegerv</c> values.
|
||||
/// </summary>
|
||||
public enum AlcInteger
|
||||
{
|
||||
/// <summary>
|
||||
/// Runtime ALC major version.
|
||||
/// </summary>
|
||||
MajorVersion = ALC_MAJOR_VERSION,
|
||||
|
||||
/// <summary>
|
||||
/// Runtime ALC minor version.
|
||||
/// </summary>
|
||||
MinorVersion = ALC_MINOR_VERSION,
|
||||
|
||||
/// <summary>
|
||||
/// Context attribute list size.
|
||||
/// </summary>
|
||||
AttributesSize = ALC_ATTRIBUTES_SIZE,
|
||||
|
||||
/// <summary>
|
||||
/// Context attribute list properties.
|
||||
/// </summary>
|
||||
AllAttributes = ALC_ALL_ATTRIBUTES,
|
||||
|
||||
/// <summary>
|
||||
/// Number of sample frames available for capture.
|
||||
/// </summary>
|
||||
CaptureSamples = ALC_CAPTURE_SAMPLES,
|
||||
EfxMajorVersion = ALC_EFX_MAJOR_VERSION,
|
||||
EfxMinorVersion = ALC_EFX_MINOR_VERSION,
|
||||
MaxAuxiliarySends = ALC_MAX_AUXILIARY_SENDS,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCboolean</c>.
|
||||
/// </summary>
|
||||
Connected = ALC_CONNECTED,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCenum</c>.
|
||||
/// </summary>
|
||||
HrtfStatus = ALC_HRTF_STATUS_SOFT,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCint</c>.
|
||||
/// </summary>
|
||||
NumHrtfSpecifiers = ALC_NUM_HRTF_SPECIFIERS_SOFT,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCenum</c>; default <c>ALC_ANY_SOFT</c>.
|
||||
/// </summary>
|
||||
OutputMode = ALC_OUTPUT_MODE_SOFT,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCenum</c>.
|
||||
/// </summary>
|
||||
OutputLimiter = ALC_OUTPUT_LIMITER_SOFT,
|
||||
|
||||
/// <summary>
|
||||
/// Type <c>ALCint</c>.
|
||||
/// </summary>
|
||||
MaxAmbisonicOrder = ALC_MAX_AMBISONIC_ORDER_SOFT,
|
||||
}
|
||||
}
|
||||
25
Brutal.OpenAl/Generated/Alc/Enums/AlcOutputMode.gen.cs
Normal file
25
Brutal.OpenAl/Generated/Alc/Enums/AlcOutputMode.gen.cs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>ALC_OUTPUT_MODE_SOFT</c> values.
|
||||
/// </summary>
|
||||
public enum AlcOutputMode
|
||||
{
|
||||
Any = ALC_ANY_SOFT,
|
||||
Mono = ALC_MONO_SOFT,
|
||||
Stereo = ALC_STEREO_SOFT,
|
||||
StereoBasic = ALC_STEREO_BASIC_SOFT,
|
||||
StereoUhj = ALC_STEREO_UHJ_SOFT,
|
||||
StereoHrtf = ALC_STEREO_HRTF_SOFT,
|
||||
Quad = ALC_QUAD_SOFT,
|
||||
Surround51 = ALC_SURROUND_5_1_SOFT,
|
||||
Surround61 = ALC_SURROUND_6_1_SOFT,
|
||||
Surround71 = ALC_SURROUND_7_1_SOFT,
|
||||
}
|
||||
}
|
||||
22
Brutal.OpenAl/Generated/Alc/Enums/AlcSampleType.gen.cs
Normal file
22
Brutal.OpenAl/Generated/Alc/Enums/AlcSampleType.gen.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using static Brutal.OpenAlApi.Alc.Constants;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <c>ALC_FORMAT_TYPE_SOFT</c> values.
|
||||
/// </summary>
|
||||
public enum AlcSampleType
|
||||
{
|
||||
Byte = ALC_BYTE_SOFT,
|
||||
UnsignedByte = ALC_UNSIGNED_BYTE_SOFT,
|
||||
Short = ALC_SHORT_SOFT,
|
||||
UnsignedShort = ALC_UNSIGNED_SHORT_SOFT,
|
||||
Int = ALC_INT_SOFT,
|
||||
UnsignedInt = ALC_UNSIGNED_INT_SOFT,
|
||||
Float = ALC_FLOAT_SOFT,
|
||||
}
|
||||
}
|
||||
44
Brutal.OpenAl/Generated/Alc/Handles.gen.cs
Normal file
44
Brutal.OpenAl/Generated/Alc/Handles.gen.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.OpenAl.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
|
||||
namespace Brutal.OpenAlApi
|
||||
{
|
||||
[InteropHandle]
|
||||
public readonly unsafe partial struct AlcDevice : INullable
|
||||
{
|
||||
/// <summary>
|
||||
/// The null device handle.
|
||||
/// </summary>
|
||||
public static AlcDevice Null
|
||||
{
|
||||
get => default;
|
||||
}
|
||||
}
|
||||
|
||||
[InteropHandle]
|
||||
public readonly unsafe partial struct AlcContext : INullable
|
||||
{
|
||||
/// <summary>
|
||||
/// The null context handle.
|
||||
/// </summary>
|
||||
public static AlcContext Null
|
||||
{
|
||||
get => default;
|
||||
}
|
||||
}
|
||||
|
||||
[InteropHandle]
|
||||
public readonly unsafe partial struct AlcCaptureDevice : INullable
|
||||
{
|
||||
/// <summary>
|
||||
/// The null capture-device handle.
|
||||
/// </summary>
|
||||
public static AlcCaptureDevice Null
|
||||
{
|
||||
get => default;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue