diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml
index 55e14135d5..04a1cef8c5 100644
--- a/.github/workflows/native.yml
+++ b/.github/workflows/native.yml
@@ -7,14 +7,14 @@ permissions:
contents: write
env:
# A space-separated list of paths to native libraries to build.
- NATIVE_LIBRARY_PATHS: "sources/SDL/Native"
+ NATIVE_LIBRARY_PATHS: "sources/SDL/Native sources/OpenAL/Soft.Native"
# A space-separated list of submodule paths for each native library path. Use _ if a submodule is not used - this must
# match the number of spaces in NATIVE_LIBRARY_PATHS.
- NATIVE_LIBRARY_SUBMODULE_PATHS: "eng/submodules/sdl"
+ NATIVE_LIBRARY_SUBMODULE_PATHS: "eng/submodules/sdl eng/submodules/openal-soft"
# A space-separated list of shorthands to the native library paths that will build the native library for each native
# library path. This must match the number of spaces in NATIVE_LIBRARY_PATHS. If a shorthand builds multiple native
# binary paths, these will be deduplicated.
- NATIVE_LIBRARY_SHORTHANDS: "SDL"
+ NATIVE_LIBRARY_SHORTHANDS: "SDL OpenAL-Soft"
jobs:
prerequisites:
name: PR Check
@@ -61,13 +61,15 @@ jobs:
build:
needs: [prerequisites]
strategy:
+ fail-fast: false
matrix:
flat: ${{ fromJSON(needs.prerequisites.outputs.matrix_strategy) }}
runs-on: ${{ (startsWith(matrix.flat.runtime, 'osx') || startsWith(matrix.flat.runtime, 'ios') || startsWith(matrix.flat.runtime, 'tvos')) && 'macos-latest' || startsWith(matrix.flat.runtime, 'win') && 'windows-latest' || 'ubuntu-latest' }}
name: ${{ matrix.flat.target }} / ${{ matrix.flat.runtime }}
steps:
- uses: actions/checkout@v3
- - run: |
+ - name: Build
+ run: |
echo "https://github.com/actions/upload-artifact/issues/174" > .workaround-${{ matrix.flat.target }}-${{ matrix.flat.runtime }}.txt
${{ format('.{0}{1}', startsWith(matrix.flat.runtime, 'win') && '\' || '/', matrix.flat.exec) }}
working-directory: ${{ matrix.flat.dir }}
diff --git a/.gitmodules b/.gitmodules
index 9482c62aa0..beb95d2d73 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -13,3 +13,6 @@
[submodule "eng/submodules/silk.net-2.x"]
path = eng/submodules/silk.net-2.x
url = https://github.com/dotnet/Silk.NET
+[submodule "eng/submodules/openal-soft"]
+ path = eng/submodules/openal-soft
+ url = https://github.com/kcat/openal-soft
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 68748b13c8..a93f1f07a1 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -5,23 +5,20 @@
+
-
-
-
-
@@ -39,14 +36,12 @@
-
-
-
+
\ No newline at end of file
diff --git a/Silk.NET.sln b/Silk.NET.sln
index 17850fdc6f..e50c97e486 100644
--- a/Silk.NET.sln
+++ b/Silk.NET.sln
@@ -102,6 +102,18 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Windowing", "Windowing", "{
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Windowing", "sources\Windowing\Windowing\Silk.NET.Windowing.csproj", "{EF07CBB5-D253-4CA9-A5DA-8B3DF2B0DF8E}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenAL", "OpenAL", "{AF13F7C9-4EE2-403E-B3D2-C4C2E45D9EF3}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenAL", "sources\OpenAL\OpenAL\Silk.NET.OpenAL.csproj", "{1FFFDD72-D023-441C-AF49-F1EA78FF7DE9}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{6077EDD4-F16F-4CA4-B72E-E4627D64B104}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CSharp", "CSharp", "{12B4D1CB-8938-4EC4-8895-79C4E6ABD1E8}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OpenAL", "OpenAL", "{662A1AEC-91F2-48FA-AA29-6F27038D30F2}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tutorial001.HelloSound", "examples\CSharp\OpenAL\Tutorial001.HelloSound\Tutorial001.HelloSound.csproj", "{946C912C-5BBB-446A-A566-0D1696D19F59}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -168,6 +180,14 @@ Global
{EF07CBB5-D253-4CA9-A5DA-8B3DF2B0DF8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EF07CBB5-D253-4CA9-A5DA-8B3DF2B0DF8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EF07CBB5-D253-4CA9-A5DA-8B3DF2B0DF8E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1FFFDD72-D023-441C-AF49-F1EA78FF7DE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1FFFDD72-D023-441C-AF49-F1EA78FF7DE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1FFFDD72-D023-441C-AF49-F1EA78FF7DE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1FFFDD72-D023-441C-AF49-F1EA78FF7DE9}.Release|Any CPU.Build.0 = Release|Any CPU
+ {946C912C-5BBB-446A-A566-0D1696D19F59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {946C912C-5BBB-446A-A566-0D1696D19F59}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {946C912C-5BBB-446A-A566-0D1696D19F59}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {946C912C-5BBB-446A-A566-0D1696D19F59}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -200,6 +220,11 @@ Global
{F16C0AB9-DE7E-4C09-9EE9-DAA8B8E935A6} = {EC4D7B06-D277-4411-BD7B-71A6D37683F0}
{FE4414F8-5370-445D-9F24-C3AD3223F299} = {DD29EA8F-B1A6-45AA-8D2E-B38DA56D9EF6}
{EF07CBB5-D253-4CA9-A5DA-8B3DF2B0DF8E} = {FE4414F8-5370-445D-9F24-C3AD3223F299}
+ {AF13F7C9-4EE2-403E-B3D2-C4C2E45D9EF3} = {DD29EA8F-B1A6-45AA-8D2E-B38DA56D9EF6}
+ {1FFFDD72-D023-441C-AF49-F1EA78FF7DE9} = {AF13F7C9-4EE2-403E-B3D2-C4C2E45D9EF3}
+ {12B4D1CB-8938-4EC4-8895-79C4E6ABD1E8} = {6077EDD4-F16F-4CA4-B72E-E4627D64B104}
+ {662A1AEC-91F2-48FA-AA29-6F27038D30F2} = {12B4D1CB-8938-4EC4-8895-79C4E6ABD1E8}
+ {946C912C-5BBB-446A-A566-0D1696D19F59} = {662A1AEC-91F2-48FA-AA29-6F27038D30F2}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {78D2CF6A-60A1-43E3-837B-00B73C9DA384}
diff --git a/docs/silk.net/static-vs-instance-bindings.md b/docs/silk.net/static-vs-instance-bindings.md
new file mode 100644
index 0000000000..38c43b0e48
--- /dev/null
+++ b/docs/silk.net/static-vs-instance-bindings.md
@@ -0,0 +1,131 @@
+# Static vs Input Bindings
+
+## Overview
+
+Silk.NET has multiple ways to access the underlying APIs, either through a static method (e.g. `GL.GenBuffers`) or
+through an "API object" (e.g. created with `GL.Create` and then accessed as `gl.GenBuffers`). Not all APIs are the
+same, and some are better accessed through one method or the other. Note that Silk.NET does make both available however,
+so if you're prefer consistency feel free to pick one method and stick to it, though you may result in some minor
+inefficiencies.
+
+All native APIs are accessed using a "function pointer" - a location in memory at which the native code resides.
+This is typically fetched using `DllImport`, but some APIs require custom mechanisms. An example in OpenGL, where you
+must use a "context API" (e.g. WGL, GLX, EGL, etc) to create a context and, after setting up that context state, use a
+function provided by that context API to get the function pointers for OpenGL (e.g. `wglGetProcAddress`). We refer to
+these as "stateful APIs" in this document. Note that OpenGL is not the only stateful API, this will be elaborated later.
+
+Stateless APIs are those where the function pointers aren't contingent on any other state, and they're effectively
+accessed as if they were static functions. For these, the function pointers are typically retrieved through `DllImport`,
+but this needn't preclude other APIs from having bespoke mechanisms to statelessly retrieve function pointers (though,
+there are no examples of this today).
+
+When using a stateful API, you should use API objects if possible i.e. `API.Create`, and dispose of that object when you
+are done using that API. When using a stateless API, you should use the static functions exposed directly on the API
+class.
+
+> [!NOTE]
+> Future releases of Silk.NET are intended to contain analysers to indicate the correct access method.
+
+Below is a description of the stateful APIs. All other APIs not listed here are, or can be treated as, stateless.
+
+## OpenGL
+
+OpenGL is a stateful API because it requires a context to be created and "made current" on that thread before function
+pointers can be retrieved. Typically, this context is created using Silk.NET.Windowing, and the functions would be
+retrieved using `surface.OpenGL.GetProcAddress` in that example.
+
+To create an API object, our OpenGL bindings provide a utility function `CreateOpenGL`:
+```csharp
+IGL gl = null!;
+surface.Created += _ =>
+{
+ gl = surface.CreateOpenGL();
+ // Use gl functions here...
+ gl.Flush();
+}
+surface.Render += _ =>
+{
+ // Use gl functions here...
+ gl.Clear(ClearBufferMask.ColorBufferBit);
+}
+```
+
+If you'd prefer to use static methods despite OpenGL being stateful, the static functions on `GL` will forward to
+`GL.ThisThread`, which essentially forwards to a thread-specific `IGL` instance. You can change the `IGL` instance used
+by a thread using `GL.ThisThread.MakeCurrent`, which will also implicitly make the `IGLContext` you pass it current
+(if applicable). Note that Silk.NET.Windowing will implicitly call this, so you can use the static OpenGL functions in
+the obvious way, albeit with the implied indirection through `GL.ThisThread`:
+```csharp
+surface.Created += _ =>
+{
+ GL.Flush();
+}
+surface.Render += _ =>
+{
+ GL.Clear(ClearBufferMask.ColorBufferBit);
+}
+```
+
+> [!CAUTION]
+> TODO: Silk.NET.Windowing does not currently do this! `surface.MakeCurrent()` must be used in `surface.Created` to make
+> this happen.
+
+## Vulkan
+
+Vulkan is a stateful API because its function pointers are dependent on the `InstanceHandle` and `DeviceHandle` being
+used. Our Vulkan bindings intercept calls to `Vk.CreateInstance` and `Vk.CreateDevice`, and set `CurrentInstance` and
+`CurrentDevice` respectively on the Vulkan API object for later use with `Vk.GetDeviceProcAddr` and
+`Vk.GetInstanceProcAddr`.
+
+The Vulkan API object will first try `vkGetDeviceProcAddr` to load a function pointer (where the value for `device` is
+as in `CurrentDevice`), followed by `vkGetInstanceProcAddr` (where the value for `instance` is as in `CurrentInstance`).
+For `vkGetInstanceProcAddr` itself, `DllImport` is used.
+
+`CurrentInstance` is set upon a successful call to `vkCreateInstance`, and `CurrentDevice` is set upon a successful call
+to `vkCreateDevice`. Note that it is illegal to change these values on an API object if they're already set, if you have
+scenarios requiring multiple instance-device combinations you must create multiple API objects.
+
+> [!TIP]
+> In cases where you have one instance from which multiple devices are created, simply clone the `IVk` object using
+> `IVk.Clone()` prior to **any device** being created. This will reuse the function pointers already loaded for that
+> instance.
+
+If you'd prefer to use static methods despite Vulkan being stateful, the static functions on `Vk` will forward to
+`Vk.ThisThread`, which essentially forwards to a thread-specific `IVk` instance. You can change the `IVk` instance used
+by a thread using `Vk.ThisThread.MakeCurrent`. The static functions, much like using a single `IVk` instance, will throw
+if multiple instance-device combinations are used on the same thread without changing the `IVk` object being used.
+
+## OpenXR
+
+OpenXR has the same caveats as Vulkan but with `CurrentInstance` only.
+
+## OpenAL
+
+OpenAL has the same caveats as OpenGL, with the exception that `alGetProcAddress` is made available to retrieve the
+function pointers. This still has the requirement of a thread-specific context, however, which can be made current using
+`AL.ThisThread.MakeCurrent`.
+
+Unlike OpenGL, OpenAL has an official context API: OpenAL Context (ALC). `alcMakeContextCurrent` will implicitly call
+`AL.ThisThread.MakeCurrent` meaning that the static OpenAL functions are made available in the obvious way:
+
+```csharp
+// NOTE: We are making use of ALContext's static functions here as well.
+// The same applies as if `ALContext.Create` were used.
+DeviceHandle device = ALContext.OpenDevice("");
+if (device == nullptr) throw new("failed to create device");
+
+ContextHandle context = ALContext.CreateContext(device, nullptr);
+if (context == nullptr) throw new("failed to create context");
+
+// Now make the context current. This implicitly calls AL.ThisThread.MakeCurrent
+ALContext.MakeContextCurrent(context);
+
+// Static functions now just work.
+var source = AL.GenSource();
+```
+
+## OpenAL Context (ALContext/ALC)
+
+ALC has the same caveats as Vulkan, given that the ALC function pointers are tied to a specific device. As a result,
+`alcOpenDevice` is intercepted to set the value of `CurrentDevice` to then be fed into `alcGetProcAddress` (or
+`alcGetProcAddress2` if available).
diff --git a/eng/native/cmake/aarch64-linux-gnu.cmake b/eng/native/cmake/aarch64-linux-gnu.cmake
new file mode 100644
index 0000000000..ced259920b
--- /dev/null
+++ b/eng/native/cmake/aarch64-linux-gnu.cmake
@@ -0,0 +1,26 @@
+set(CMAKE_SYSTEM_NAME "Linux")
+set(CMAKE_SYSTEM_PROCESSOR "aarch64")
+
+set(CMAKE_ASM_COMPILER "/usr/bin/aarch64-linux-gnu-gcc")
+set(CMAKE_C_COMPILER "/usr/bin/aarch64-linux-gnu-gcc")
+set(CMAKE_CXX_COMPILER "/usr/bin/aarch64-linux-gnu-g++")
+
+set(CMAKE_ADDR2LINE "/usr/bin/aarch64-linux-gnu-addr2line")
+set(CMAKE_AR "/usr/bin/aarch64-linux-gnu-ar")
+set(CMAKE_LINKER "/usr/bin/aarch64-linux-gnu-ld")
+set(CMAKE_NM "/usr/bin/aarch64-linux-gnu-nm")
+set(CMAKE_OBJCOPY "/usr/bin/aarch64-linux-gnu-objcopy")
+set(CMAKE_OBJDUMP "/usr/bin/aarch64-linux-gnu-objdump")
+set(CMAKE_RANLIB "/usr/bin/aarch64-linux-gnu-ranlib")
+set(CMAKE_READELF "/usr/bin/aarch64-linux-gnu-readelf")
+set(CMAKE_STRIP "/usr/bin/aarch64-linux-gnu-strip")
+
+set(PKG_CONFIG_EXECUTABLE "/usr/bin/pkg-config")
+set(ENV{PKG_CONFIG_LIBDIR} "/usr/lib/aarch64-linux-gnu/pkgconfig")
+set(ENV{PKG_CONFIG_PATH} "/usr/lib/pkgconfig:/usr/share/pkgconfig")
+
+set(CMAKE_FIND_ROOT_PATH "/usr/aarch64-linux-gnu")
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
diff --git a/eng/native/cmake/aarch64-w64-mingw32.cmake b/eng/native/cmake/aarch64-w64-mingw32.cmake
new file mode 100644
index 0000000000..d8bbcbffba
--- /dev/null
+++ b/eng/native/cmake/aarch64-w64-mingw32.cmake
@@ -0,0 +1,24 @@
+set(CMAKE_SYSTEM_NAME "Windows")
+set(CMAKE_SYSTEM_PROCESSOR "aarch64")
+
+set(CMAKE_ASM_COMPILER "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-gcc")
+set(CMAKE_C_COMPILER "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-gcc")
+set(CMAKE_CXX_COMPILER "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-g++")
+set(CMAKE_RC_COMPILER "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-windres")
+
+set(CMAKE_ADDR2LINE "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-addr2line")
+set(CMAKE_AR "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-ar")
+set(CMAKE_DLLTOOL "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-dlltool")
+set(CMAKE_LINKER "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-ld")
+set(CMAKE_NM "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-nm")
+set(CMAKE_OBJCOPY "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-objcopy")
+set(CMAKE_OBJDUMP "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-objdump")
+set(CMAKE_RANLIB "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-ranlib")
+set(CMAKE_READELF "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-readelf")
+set(CMAKE_STRIP "/opt/llvm-mingw-msvcrt/bin/aarch64-w64-mingw32-strip")
+
+set(CMAKE_FIND_ROOT_PATH "/opt/llvm-mingw-msvcrt/aarch64-w64-mingw32")
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
diff --git a/eng/native/cmake/arm-linux-gnueabihf.cmake b/eng/native/cmake/arm-linux-gnueabihf.cmake
new file mode 100644
index 0000000000..4afcceab42
--- /dev/null
+++ b/eng/native/cmake/arm-linux-gnueabihf.cmake
@@ -0,0 +1,26 @@
+set(CMAKE_SYSTEM_NAME "Linux")
+set(CMAKE_SYSTEM_PROCESSOR "armv7l")
+
+set(CMAKE_ASM_COMPILER "/usr/bin/arm-linux-gnueabihf-gcc")
+set(CMAKE_C_COMPILER "/usr/bin/arm-linux-gnueabihf-gcc")
+set(CMAKE_CXX_COMPILER "/usr/bin/arm-linux-gnueabihf-g++")
+
+set(CMAKE_ADDR2LINE "/usr/bin/arm-linux-gnueabihf-addr2line")
+set(CMAKE_AR "/usr/bin/arm-linux-gnueabihf-ar")
+set(CMAKE_LINKER "/usr/bin/arm-linux-gnueabihf-ld")
+set(CMAKE_NM "/usr/bin/arm-linux-gnueabihf-nm")
+set(CMAKE_OBJCOPY "/usr/bin/arm-linux-gnueabihf-objcopy")
+set(CMAKE_OBJDUMP "/usr/bin/arm-linux-gnueabihf-objdump")
+set(CMAKE_RANLIB "/usr/bin/arm-linux-gnueabihf-ranlib")
+set(CMAKE_READELF "/usr/bin/arm-linux-gnueabihf-readelf")
+set(CMAKE_STRIP "/usr/bin/arm-linux-gnueabihf-strip")
+
+set(PKG_CONFIG_EXECUTABLE "/usr/bin/pkg-config")
+set(ENV{PKG_CONFIG_LIBDIR} "/usr/lib/arm-linux-gnueabihf/pkgconfig")
+set(ENV{PKG_CONFIG_PATH} "/usr/lib/pkgconfig:/usr/share/pkgconfig")
+
+set(CMAKE_FIND_ROOT_PATH "/usr/arm-linux-gnueabihf")
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
diff --git a/eng/native/cmake/x86_64-linux-gnu.cmake b/eng/native/cmake/x86_64-linux-gnu.cmake
new file mode 100644
index 0000000000..0f5da714cb
--- /dev/null
+++ b/eng/native/cmake/x86_64-linux-gnu.cmake
@@ -0,0 +1,26 @@
+set(CMAKE_SYSTEM_NAME "Linux")
+set(CMAKE_SYSTEM_PROCESSOR "x86_64")
+
+set(CMAKE_ASM_COMPILER "/usr/bin/x86_64-linux-gnu-gcc")
+set(CMAKE_C_COMPILER "/usr/bin/x86_64-linux-gnu-gcc")
+set(CMAKE_CXX_COMPILER "/usr/bin/x86_64-linux-gnu-g++")
+
+set(CMAKE_ADDR2LINE "/usr/bin/x86_64-linux-gnu-addr2line")
+set(CMAKE_AR "/usr/bin/x86_64-linux-gnu-ar")
+set(CMAKE_LINKER "/usr/bin/x86_64-linux-gnu-ld")
+set(CMAKE_NM "/usr/bin/x86_64-linux-gnu-nm")
+set(CMAKE_OBJCOPY "/usr/bin/x86_64-linux-gnu-objcopy")
+set(CMAKE_OBJDUMP "/usr/bin/x86_64-linux-gnu-objdump")
+set(CMAKE_RANLIB "/usr/bin/x86_64-linux-gnu-ranlib")
+set(CMAKE_READELF "/usr/bin/x86_64-linux-gnu-readelf")
+set(CMAKE_STRIP "/usr/bin/x86_64-linux-gnu-strip")
+
+set(PKG_CONFIG_EXECUTABLE "/usr/bin/pkg-config")
+set(ENV{PKG_CONFIG_LIBDIR} "/usr/lib/x86_64-linux-gnu/pkgconfig")
+set(ENV{PKG_CONFIG_PATH} "/usr/lib/pkgconfig:/usr/share/pkgconfig")
+
+set(CMAKE_FIND_ROOT_PATH "/usr/x86_64-linux-gnu")
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
+set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
diff --git a/eng/native/cmake/zig-objcopy.cmd b/eng/native/cmake/zig-objcopy.cmd
new file mode 100644
index 0000000000..22fce29f5f
--- /dev/null
+++ b/eng/native/cmake/zig-objcopy.cmd
@@ -0,0 +1,2 @@
+@echo off
+zig objcopy %*
diff --git a/eng/native/cmake/zig-objcopy.sh b/eng/native/cmake/zig-objcopy.sh
new file mode 100644
index 0000000000..8e79db575b
--- /dev/null
+++ b/eng/native/cmake/zig-objcopy.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+zig objcopy "$@"
diff --git a/eng/native/cmake/zig-toolchain-aarch64-linux-gnu.2.28.cmake b/eng/native/cmake/zig-toolchain-aarch64-linux-gnu.2.28.cmake
new file mode 100644
index 0000000000..36e1694c3a
--- /dev/null
+++ b/eng/native/cmake/zig-toolchain-aarch64-linux-gnu.2.28.cmake
@@ -0,0 +1,2 @@
+set(ZIG_TARGET "aarch64-linux-gnu.2.28")
+include(${CMAKE_CURRENT_LIST_DIR}/zig-toolchain.cmake)
diff --git a/eng/native/cmake/zig-toolchain-arm-linux-gnueabihf.2.28.cmake b/eng/native/cmake/zig-toolchain-arm-linux-gnueabihf.2.28.cmake
new file mode 100644
index 0000000000..4fd91d256c
--- /dev/null
+++ b/eng/native/cmake/zig-toolchain-arm-linux-gnueabihf.2.28.cmake
@@ -0,0 +1,2 @@
+set(ZIG_TARGET "arm-linux-gnueabihf.2.28")
+include(${CMAKE_CURRENT_LIST_DIR}/zig-toolchain.cmake)
diff --git a/eng/native/cmake/zig-toolchain-x86_64-linux-gnu.2.28.cmake b/eng/native/cmake/zig-toolchain-x86_64-linux-gnu.2.28.cmake
new file mode 100644
index 0000000000..e81d45e1ea
--- /dev/null
+++ b/eng/native/cmake/zig-toolchain-x86_64-linux-gnu.2.28.cmake
@@ -0,0 +1,2 @@
+set(ZIG_TARGET "x86_64-linux-gnu.2.28")
+include(${CMAKE_CURRENT_LIST_DIR}/zig-toolchain.cmake)
diff --git a/eng/native/cmake/zig-toolchain.cmake b/eng/native/cmake/zig-toolchain.cmake
index 94ed03c2e6..f0202e8f8e 100755
--- a/eng/native/cmake/zig-toolchain.cmake
+++ b/eng/native/cmake/zig-toolchain.cmake
@@ -4,13 +4,14 @@ if(CMAKE_GENERATOR MATCHES "Visual Studio")
message(FATAL_ERROR "Visual Studio generator not supported, use: cmake -G Ninja")
endif()
-if(NOT ZIG_TARGET MATCHES "^([a-zZ-Z0-9_]+)-([a-zZ-Z0-9_]+)-([a-zZ-Z0-9_.]+)$")
+if(NOT ZIG_TARGET MATCHES "^([a-zZ-Z0-9_]+)-([a-zZ-Z0-9_]+)-(([a-zZ-Z0-9_]+)\.?([a-zZ-Z0-9_.]*))$")
message(FATAL_ERROR "Expected -DZIG_TARGET=--")
endif()
set(ZIG_ARCH ${CMAKE_MATCH_1})
set(ZIG_OS ${CMAKE_MATCH_2})
set(ZIG_ABI ${CMAKE_MATCH_3})
+set(LINUX_ABI ${CMAKE_MATCH_4})
if(ZIG_OS STREQUAL "linux")
set(CMAKE_SYSTEM_NAME "Linux")
@@ -38,3 +39,15 @@ set(CMAKE_RC_COMPILER "${CMAKE_CURRENT_LIST_DIR}/zig-rc${SCRIPT_SUFFIX}")
set(CMAKE_ASM_COMPILER "${CMAKE_CURRENT_LIST_DIR}/zig-cc${SCRIPT_SUFFIX}" -target ${ZIG_TARGET})
set(CMAKE_C_COMPILER "${CMAKE_CURRENT_LIST_DIR}/zig-cc${SCRIPT_SUFFIX}" -target ${ZIG_TARGET})
set(CMAKE_CXX_COMPILER "${CMAKE_CURRENT_LIST_DIR}/zig-c++${SCRIPT_SUFFIX}" -target ${ZIG_TARGET})
+set(CMAKE_OBJCOPY "${CMAKE_CURRENT_LIST_DIR}/zig-objcopy${SCRIPT_SUFFIX}" -target ${ZIG_TARGET})
+
+if(ZIG_OS STREQUAL "linux")
+ set(PKG_CONFIG_EXECUTABLE "/usr/bin/${ZIG_ARCH}-${ZIG_OS}-${LINUX_ABI}-pkg-config")
+ set(ENV{PKG_CONFIG_LIBDIR} "/usr/lib/${ZIG_ARCH}-${ZIG_OS}-${LINUX_ABI}/pkgconfig")
+ set(ENV{PKG_CONFIG_PATH} "/usr/lib/pkgconfig:/usr/share/pkgconfig")
+ set(CMAKE_FIND_ROOT_PATH "/usr/${ZIG_ARCH}-${ZIG_OS}-${LINUX_ABI}")
+ set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
+ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
+ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
+endif()
diff --git a/eng/silktouch/openal/alsoft/generate.rsp b/eng/silktouch/openal/alsoft/generate.rsp
new file mode 100644
index 0000000000..9081666b1b
--- /dev/null
+++ b/eng/silktouch/openal/alsoft/generate.rsp
@@ -0,0 +1,21 @@
+@../settings.rsp
+@../remap.rsp
+--exclude
+_GUID
+--file
+openal-soft-al.h
+--methodClassName
+AL
+--namespace
+Silk.NET.OpenAL
+--output
+../../../../sources/OpenAL/al
+--test-output
+../../../../tests/OpenAL/al
+--traverse
+../../../submodules/openal-soft/include/AL/al.h
+../../../submodules/openal-soft/include/AL/alc.h
+../../../submodules/openal-soft/include/AL/alext.h
+../../../submodules/openal-soft/include/AL/efx.h
+../../../submodules/openal-soft/include/AL/efx-presets.h
+openal-soft-al.h
diff --git a/eng/silktouch/openal/alsoft/openal-soft-al.h b/eng/silktouch/openal/alsoft/openal-soft-al.h
new file mode 100644
index 0000000000..7d521d64df
--- /dev/null
+++ b/eng/silktouch/openal/alsoft/openal-soft-al.h
@@ -0,0 +1,123 @@
+#define AL_ALEXT_PROTOTYPES
+#include
+#include
+#include
+#include
+#include
+
+// ClangSharp won't grab the presets out of the macros as it doesn't know the types, but it will grab them out of a
+// constant.
+
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_GENERIC_ = EFX_REVERB_PRESET_GENERIC;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PADDED_CELL_ = EFX_REVERB_PRESET_PADDEDCELL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ROOM_ = EFX_REVERB_PRESET_ROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_BATHROOM_ = EFX_REVERB_PRESET_BATHROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_LIVING_ROOM_ = EFX_REVERB_PRESET_LIVINGROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_STONE_ROOM_ = EFX_REVERB_PRESET_STONEROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_AUDITORIUM_ = EFX_REVERB_PRESET_AUDITORIUM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CONCERT_HALL_ = EFX_REVERB_PRESET_CONCERTHALL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CAVE_ = EFX_REVERB_PRESET_CAVE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ARENA_ = EFX_REVERB_PRESET_ARENA;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_HANGAR_ = EFX_REVERB_PRESET_HANGAR;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CARPETED_HALLWAY_ = EFX_REVERB_PRESET_CARPETEDHALLWAY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_HALLWAY_ = EFX_REVERB_PRESET_HALLWAY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_STONE_CORRIDOR_ = EFX_REVERB_PRESET_STONECORRIDOR;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ALLEY_ = EFX_REVERB_PRESET_ALLEY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FOREST_ = EFX_REVERB_PRESET_FOREST;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CITY_ = EFX_REVERB_PRESET_CITY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_MOUNTAINS_ = EFX_REVERB_PRESET_MOUNTAINS;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_QUARRY_ = EFX_REVERB_PRESET_QUARRY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PLAIN_ = EFX_REVERB_PRESET_PLAIN;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PARKINGLOT_ = EFX_REVERB_PRESET_PARKINGLOT;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SEWERPIPE_ = EFX_REVERB_PRESET_SEWERPIPE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_UNDERWATER_ = EFX_REVERB_PRESET_UNDERWATER;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRUGGED_ = EFX_REVERB_PRESET_DRUGGED;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DIZZY_ = EFX_REVERB_PRESET_DIZZY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PSYCHOTIC_ = EFX_REVERB_PRESET_PSYCHOTIC;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_SMALLROOM_ = EFX_REVERB_PRESET_CASTLE_SMALLROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_SHORTPASSAGE_ = EFX_REVERB_PRESET_CASTLE_SHORTPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_MEDIUMROOM_ = EFX_REVERB_PRESET_CASTLE_MEDIUMROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_LARGEROOM_ = EFX_REVERB_PRESET_CASTLE_LARGEROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_LONGPASSAGE_ = EFX_REVERB_PRESET_CASTLE_LONGPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_HALL_ = EFX_REVERB_PRESET_CASTLE_HALL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_CUPBOARD_ = EFX_REVERB_PRESET_CASTLE_CUPBOARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_COURTYARD_ = EFX_REVERB_PRESET_CASTLE_COURTYARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CASTLE_ALCOVE_ = EFX_REVERB_PRESET_CASTLE_ALCOVE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_SMALL_ROOM_ = EFX_REVERB_PRESET_FACTORY_SMALLROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_SHORT_PASSAGE_ = EFX_REVERB_PRESET_FACTORY_SHORTPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_MEDIUM_ROOM_ = EFX_REVERB_PRESET_FACTORY_MEDIUMROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_LARGE_ROOM_ = EFX_REVERB_PRESET_FACTORY_LARGEROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_LONG_PASSAGE_ = EFX_REVERB_PRESET_FACTORY_LONGPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_HALL_ = EFX_REVERB_PRESET_FACTORY_HALL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_CUPBOARD_ = EFX_REVERB_PRESET_FACTORY_CUPBOARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_COURTYARD_ = EFX_REVERB_PRESET_FACTORY_COURTYARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_FACTORY_ALCOVE_ = EFX_REVERB_PRESET_FACTORY_ALCOVE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_SMALL_ROOM_ = EFX_REVERB_PRESET_ICEPALACE_SMALLROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_SHORT_PASSAGE_ = EFX_REVERB_PRESET_ICEPALACE_SHORTPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_MEDIUM_ROOM_ = EFX_REVERB_PRESET_ICEPALACE_MEDIUMROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_LARGE_ROOM_ = EFX_REVERB_PRESET_ICEPALACE_LARGEROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_LONG_PASSAGE_ = EFX_REVERB_PRESET_ICEPALACE_LONGPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_HALL_ = EFX_REVERB_PRESET_ICEPALACE_HALL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_CUPBOARD_ = EFX_REVERB_PRESET_ICEPALACE_CUPBOARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_COURTYARD_ = EFX_REVERB_PRESET_ICEPALACE_COURTYARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_ICE_PALACE_ALCOVE_ = EFX_REVERB_PRESET_ICEPALACE_ALCOVE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPACE_STATION_SMALL_ROOM_ = EFX_REVERB_PRESET_SPACESTATION_SMALLROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPACE_STATION_SHORT_PASSAGE_ = EFX_REVERB_PRESET_SPACESTATION_SHORTPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPACE_STATION_MEDIUM_ROOM_ = EFX_REVERB_PRESET_SPACESTATION_MEDIUMROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPACE_STATION_LARGE_ROOM_ = EFX_REVERB_PRESET_SPACESTATION_LARGEROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPACE_STATION_LONG_PASSAGE_ = EFX_REVERB_PRESET_SPACESTATION_LONGPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPACE_STATION_HALL_ = EFX_REVERB_PRESET_SPACESTATION_HALL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPACE_STATION_CUPBOARD_ = EFX_REVERB_PRESET_SPACESTATION_CUPBOARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPACE_STATION_ALCOVE_ = EFX_REVERB_PRESET_SPACESTATION_ALCOVE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_SMALL_ROOM_ = EFX_REVERB_PRESET_WOODEN_SMALLROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_SHORT_PASSAGE_ = EFX_REVERB_PRESET_WOODEN_SHORTPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_MEDIUM_ROOM_ = EFX_REVERB_PRESET_WOODEN_MEDIUMROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_LARGE_ROOM_ = EFX_REVERB_PRESET_WOODEN_LARGEROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_LONG_PASSAGE_ = EFX_REVERB_PRESET_WOODEN_LONGPASSAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_HALL_ = EFX_REVERB_PRESET_WOODEN_HALL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_CUPBOARD_ = EFX_REVERB_PRESET_WOODEN_CUPBOARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_COURTYARD_ = EFX_REVERB_PRESET_WOODEN_COURTYARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_WOODEN_ALCOVE_ = EFX_REVERB_PRESET_WOODEN_ALCOVE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPORT_EMPTY_STADIUM_ = EFX_REVERB_PRESET_SPORT_EMPTYSTADIUM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPORT_SQUASH_COURT_ = EFX_REVERB_PRESET_SPORT_SQUASHCOURT;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPORT_SMALL_SWIMMING_POOL_ = EFX_REVERB_PRESET_SPORT_SMALLSWIMMINGPOOL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPORT_LARGE_SWIMMING_POOL_ = EFX_REVERB_PRESET_SPORT_LARGESWIMMINGPOOL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPORT_GYMNASIUM_ = EFX_REVERB_PRESET_SPORT_GYMNASIUM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPORT_FULL_STADIUM_ = EFX_REVERB_PRESET_SPORT_FULLSTADIUM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SPORT_STADIUM_TANNOY_ = EFX_REVERB_PRESET_SPORT_STADIUMTANNOY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PREFAB_WORKSHOP_ = EFX_REVERB_PRESET_PREFAB_WORKSHOP;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PREFAB_SCHOOL_ROOM_ = EFX_REVERB_PRESET_PREFAB_SCHOOLROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PREFAB_PRACTISE_ROOM_ = EFX_REVERB_PRESET_PREFAB_PRACTISEROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PREFAB_OUTHOUSE_ = EFX_REVERB_PRESET_PREFAB_OUTHOUSE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PREFAB_CARAVAN_ = EFX_REVERB_PRESET_PREFAB_CARAVAN;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DOME_TOMB_ = EFX_REVERB_PRESET_DOME_TOMB;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PIPE_SMALL_ = EFX_REVERB_PRESET_PIPE_SMALL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DOME_SAINT_PAULS_ = EFX_REVERB_PRESET_DOME_SAINTPAULS;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PIPE_LONG_THIN_ = EFX_REVERB_PRESET_PIPE_LONGTHIN;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PIPE_LARGE_ = EFX_REVERB_PRESET_PIPE_LARGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_PIPE_RESONANT_ = EFX_REVERB_PRESET_PIPE_RESONANT;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_OUTDOORS_BACKYARD_ = EFX_REVERB_PRESET_OUTDOORS_BACKYARD;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_OUTDOORS_ROLLING_PLAINS_ = EFX_REVERB_PRESET_OUTDOORS_ROLLINGPLAINS;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_OUTDOORS_DEEP_CANYON_ = EFX_REVERB_PRESET_OUTDOORS_DEEPCANYON;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_OUTDOORS_CREEK_ = EFX_REVERB_PRESET_OUTDOORS_CREEK;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_OUTDOORS_VALLEY_ = EFX_REVERB_PRESET_OUTDOORS_VALLEY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_MOOD_HEAVEN_ = EFX_REVERB_PRESET_MOOD_HEAVEN;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_MOOD_HELL_ = EFX_REVERB_PRESET_MOOD_HELL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_MOOD_MEMORY_ = EFX_REVERB_PRESET_MOOD_MEMORY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRIVING_COMMENTATOR_ = EFX_REVERB_PRESET_DRIVING_COMMENTATOR;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRIVING_PIT_GARAGE_ = EFX_REVERB_PRESET_DRIVING_PITGARAGE;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRIVING_IN_CAR_RACER_ = EFX_REVERB_PRESET_DRIVING_INCAR_RACER;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRIVING_IN_CAR_SPORTS_ = EFX_REVERB_PRESET_DRIVING_INCAR_SPORTS;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRIVING_IN_CAR_LUXURY_ = EFX_REVERB_PRESET_DRIVING_INCAR_LUXURY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRIVING_FULL_GRAND_STAND_ = EFX_REVERB_PRESET_DRIVING_FULLGRANDSTAND;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRIVING_EMPTY_GRAND_STAND_ = EFX_REVERB_PRESET_DRIVING_EMPTYGRANDSTAND;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DRIVING_TUNNEL_ = EFX_REVERB_PRESET_DRIVING_TUNNEL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CITY_STREETS_ = EFX_REVERB_PRESET_CITY_STREETS;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CITY_SUBWAY_ = EFX_REVERB_PRESET_CITY_SUBWAY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CITY_MUSEUM_ = EFX_REVERB_PRESET_CITY_MUSEUM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CITY_LIBRARY_ = EFX_REVERB_PRESET_CITY_LIBRARY;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CITY_UNDERPASS_ = EFX_REVERB_PRESET_CITY_UNDERPASS;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CITY_ABANDONED_ = EFX_REVERB_PRESET_CITY_ABANDONED;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_DUSTY_ROOM_ = EFX_REVERB_PRESET_DUSTYROOM;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_CHAPEL_ = EFX_REVERB_PRESET_CHAPEL;
+const EFXEAXREVERBPROPERTIES EFX_REVERB_PRESET_SMALL_WATERROOM_ = EFX_REVERB_PRESET_SMALLWATERROOM;
diff --git a/eng/silktouch/openal/header.txt b/eng/silktouch/openal/header.txt
new file mode 100644
index 0000000000..6b9a933505
--- /dev/null
+++ b/eng/silktouch/openal/header.txt
@@ -0,0 +1,6 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
diff --git a/eng/silktouch/openal/remap.rsp b/eng/silktouch/openal/remap.rsp
new file mode 100644
index 0000000000..18913e81e0
--- /dev/null
+++ b/eng/silktouch/openal/remap.rsp
@@ -0,0 +1,2 @@
+--remap
+_GUID=System.Guid
diff --git a/eng/silktouch/openal/settings.rsp b/eng/silktouch/openal/settings.rsp
new file mode 100644
index 0000000000..7999f80104
--- /dev/null
+++ b/eng/silktouch/openal/settings.rsp
@@ -0,0 +1,12 @@
+@../../common.rsp
+--define-macro
+TODO_DEFINE_MACROS=HERE
+--headerFile
+../header.txt
+--include-directory
+../../../submodules/openal-soft/include
+../../../include
+--with-callconv
+*=Winapi
+--with-librarypath
+*=openal
diff --git a/eng/submodules/openal-soft b/eng/submodules/openal-soft
new file mode 160000
index 0000000000..9c50193236
--- /dev/null
+++ b/eng/submodules/openal-soft
@@ -0,0 +1 @@
+Subproject commit 9c50193236ad4d8c68f390a3151f8253709baabd
diff --git a/examples/CSharp/OpenAL/Tutorial001.HelloSound/Program.cs b/examples/CSharp/OpenAL/Tutorial001.HelloSound/Program.cs
new file mode 100644
index 0000000000..139ec4e747
--- /dev/null
+++ b/examples/CSharp/OpenAL/Tutorial001.HelloSound/Program.cs
@@ -0,0 +1,3 @@
+// See https://aka.ms/new-console-template for more information
+
+Console.WriteLine("Hello, World!");
diff --git a/examples/CSharp/OpenAL/Tutorial001.HelloSound/Tutorial001.HelloSound.csproj b/examples/CSharp/OpenAL/Tutorial001.HelloSound/Tutorial001.HelloSound.csproj
new file mode 100644
index 0000000000..8484e04fcd
--- /dev/null
+++ b/examples/CSharp/OpenAL/Tutorial001.HelloSound/Tutorial001.HelloSound.csproj
@@ -0,0 +1,23 @@
+
+
+
+ Exe
+ net8.0
+ enable
+ enable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/CSharp/OpenAL/Tutorial001.HelloSound/home_resting_state_track_16.mp3 b/examples/CSharp/OpenAL/Tutorial001.HelloSound/home_resting_state_track_16.mp3
new file mode 100644
index 0000000000..2b4d823f77
Binary files /dev/null and b/examples/CSharp/OpenAL/Tutorial001.HelloSound/home_resting_state_track_16.mp3 differ
diff --git a/examples/CSharp/OpenAL/Tutorial001.HelloSound/home_resting_state_track_16.txt b/examples/CSharp/OpenAL/Tutorial001.HelloSound/home_resting_state_track_16.txt
new file mode 100644
index 0000000000..9deb4208a9
--- /dev/null
+++ b/examples/CSharp/OpenAL/Tutorial001.HelloSound/home_resting_state_track_16.txt
@@ -0,0 +1,2 @@
+This audio file is track 16 of HOME's Resting State album, available here: https://home96.bandcamp.com/album/resting-state
+HOME has previously stated that these works are free to use: https://twitter.com/RNDYGFFE/status/1595515631020957703
diff --git a/generator.json b/generator.json
index 5ad04119db..e76700945c 100644
--- a/generator.json
+++ b/generator.json
@@ -149,13 +149,119 @@
},
"PrettifyNames": {
"LongAcronymThreshold": 4,
- "GlobalPrefixHint": "gl"
+ "GlobalPrefixHints": ["gl"]
},
"TransformFunctions": {
"BoolTypes": {
"GLboolean": null
}
}
+ },
+ "OpenAL": {
+ "SourceProject": "sources/OpenAL/OpenAL/Silk.NET.OpenAL.csproj",
+ "Solution": "Silk.NET.sln",
+ "DefaultLicenseHeader": "eng/silktouch/header.txt",
+ "Mods": [
+ "AddIncludes",
+ "ClangScraper",
+ "ChangeNativeClass",
+ "AddApiProfiles",
+ "MixKhronosData",
+ "ExtractNestedTyping",
+ "TransformHandles",
+ "InterceptNativeFunctions",
+ "TransformFunctions",
+ "PrettifyNames",
+ "AddVTables"
+ ],
+ "ClangScraper": {
+ "ClangSharpResponseFiles": [
+ "eng/silktouch/openal*/**/generate.rsp"
+ ],
+ "InputSourceRoot": "sources/OpenAL",
+ "InputTestRoot": "tests/OpenAL"
+ },
+ "ChangeNativeClass": {
+ "NewClasses": {
+ "(alc|ALC_).*": "ALContext",
+ "EFX_REVERB_PRESET_.*": "EfxReverbPreset"
+ }
+ },
+ "MixKhronosData": {
+ "UseDataTypeTrimmings": true,
+ "SpecPath": "eng/submodules/openal-soft/registry/xml/al.xml",
+ "EnumNativeTypeNames": {
+ "ALenum": "ALEnum",
+ "ALCenum": "ALCEnum"
+ },
+ "Namespace": "Silk.NET.OpenAL",
+ "NonStandardExtensionNomenclature": true,
+ "Vendors": [
+ "SOFT",
+ "LOKI",
+ "EXT"
+ ],
+ "IgnoreNonVendorSuffixes": [
+ "Direct"
+ ]
+ },
+ "InterceptNativeFunctions": {
+ "NativeFunctionNames": [
+ "alcOpenDevice",
+ "alcMakeContextCurrent"
+ ]
+ },
+ "AddVTables": {
+ "VTables": [
+ {
+ "Kind": "DllImport"
+ },
+ {
+ "Kind": "StaticWrapper"
+ },
+ {
+ "Kind": "ThisThread",
+ "IsDefault": true
+ }
+ ]
+ },
+ "PrettifyNames": {
+ "LongAcronymThreshold": 4,
+ "GlobalPrefixHints": ["alc", "al"],
+ "NameOverrides": {
+ "ALContext": "ALContext",
+ "EFXEAXREVERBPROPERTIES": "EfxEaxReverbProperties",
+ "EFXEAXREVERBPROPERTIES_flReflectionsPan": "EfxEaxReverbPropertiesFlReflectionsPan",
+ "EFXEAXREVERBPROPERTIES_flLateReverbPan": "EfxEaxReverbPropertiesFlLateReverbPan",
+ "ALCcontextHandle": "ContextHandle",
+ "ALCdeviceHandle": "DeviceHandle",
+ "ALBUFFERCALLBACKTYPESOFT": "BufferCallbackSOFT",
+ "ALBUFFERCALLBACKTYPESOFTDelegate": "BufferCallbackDelegateSOFT",
+ "ALCEVENTPROCTYPESOFT": "ContextEventProcSOFT",
+ "ALCEVENTPROCTYPESOFTDelegate": "ContextEventProcDelegateSOFT",
+ "ALEVENTPROCSOFT": "EventProcSOFT",
+ "ALEVENTPROCSOFTDelegate": "EventProcDelegateSOFT",
+ "ALDEBUGPROCEXT": "DebugProcEXT",
+ "ALDEBUGPROCEXTDelegate": "DebugProcDelegateEXT",
+ "LPALFOLDBACKCALLBACK": "FoldbackCallback",
+ "LPALFOLDBACKCALLBACKDelegate": "FoldbackCallbackDelegate",
+ "EAXSetDirect": "EAXSetDirect",
+ "EAXGetDirect": "EAXGetDirect",
+ "EAXGetBufferModeDirect": "EAXGetBufferModeDirect",
+ "EAXSetBufferModeDirect": "EAXSetBufferModeDirect"
+ }
+ },
+ "TransformFunctions": {
+ "BoolTypes": {
+ "ALboolean": null,
+ "ALCboolean": null
+ },
+ "BenefitOfTheDoubtArrayTransformation": true
+ },
+ "TransformHandles": {
+ "AssumeMissingTypesOpaque": true,
+ "UseDSL": true
+ }
}
}
}
diff --git a/sources/Core/Core/Loader/LoaderInterface.cs b/sources/Core/Core/Loader/LoaderInterface.cs
index 49dab10b7c..e17beb1763 100644
--- a/sources/Core/Core/Loader/LoaderInterface.cs
+++ b/sources/Core/Core/Loader/LoaderInterface.cs
@@ -12,11 +12,18 @@ namespace Silk.NET.Core.Loader;
///
public static class LoaderInterface
{
- private static string? _current;
- private static bool _isInDllImport = false;
private static DllImportResolver? _dllImportResolver;
private static ConcurrentDictionary _loaded = new();
- private static ConditionalWeakTable> _hooked = new();
+ private static ConditionalWeakTable _hooked = new();
+
+ private class HookState
+ {
+ public bool IsContextHooked;
+ public string? Current;
+ public bool IsInDllImport;
+ }
+
+ static LoaderInterface() => ResolvingLibrary += LoadAlternativeNames;
///
/// Registers the multiplexer using
@@ -26,35 +33,42 @@ public static class LoaderInterface
public static void RegisterHook(Assembly? asm)
{
asm ??= Assembly.GetCallingAssembly();
- if (
- AssemblyLoadContext.GetLoadContext(asm) is { } alc
- && _hooked.GetOrCreateValue(alc) is { Value: false } box
- )
+ if (AssemblyLoadContext.GetLoadContext(asm) is not { } alc)
+ {
+ throw new ArgumentException(
+ "Assembly must be provided by the runtime (and thereby have an AssemblyLoadContext).",
+ nameof(asm)
+ );
+ }
+
+ var box = _hooked.GetOrCreateValue(alc);
+ if (!box.IsContextHooked)
{
- box.Value = true;
- alc.ResolvingUnmanagedDll += static (loadingAsm, lib) =>
+ box.IsContextHooked = true;
+ alc.ResolvingUnmanagedDll += (loadingAsm, lib) =>
{
- var wasInDllImport = _isInDllImport;
- if (!wasInDllImport && _current == lib)
+ var wasInDllImport = box.IsInDllImport;
+ if (!wasInDllImport && box.Current == lib)
{
// Cycle detected.
return 0;
}
- _isInDllImport = false;
- var ret = OnDllImport(lib, loadingAsm, null);
- _isInDllImport = wasInDllImport;
+ box.IsInDllImport = false;
+ var ret = OnDllImport(box, lib, loadingAsm, null);
+ box.IsInDllImport = wasInDllImport;
return ret;
};
}
+
NativeLibrary.SetDllImportResolver(
asm,
- static (x, y, z) =>
+ (x, y, z) =>
{
- var wasInDllImport = _isInDllImport;
- _isInDllImport = true;
- var ret = OnDllImport(x, y, z);
- _isInDllImport = wasInDllImport;
+ var wasInDllImport = box.IsInDllImport;
+ box.IsInDllImport = true;
+ var ret = OnDllImport(box, x, y, z);
+ box.IsInDllImport = wasInDllImport;
return ret;
}
);
@@ -98,6 +112,7 @@ public static event DllImportResolver? ResolvingLibrary
}
private static IntPtr OnDllImport(
+ HookState box,
string libraryname,
Assembly assembly,
DllImportSearchPath? searchpath
@@ -106,8 +121,8 @@ private static IntPtr OnDllImport(
libraryname,
_ =>
{
- var before = _current;
- _current = libraryname;
+ var before = box.Current;
+ box.Current = libraryname;
foreach (
var @delegate in (
_dllImportResolver?.GetInvocationList() ?? Enumerable.Empty()
@@ -119,11 +134,11 @@ var @delegate in (
continue;
}
- _current = before;
+ box.Current = before;
return handle;
}
- _current = before;
+ box.Current = before;
return 0;
}
);
@@ -133,11 +148,53 @@ var @delegate in (
///
/// The library name.
/// The alternative name to use when we can't load the usual name.
- public static void RegisterAlternativeName(string libraryName, string altName) =>
- ResolvingLibrary += (loadingLib, loadingAsm, searchPath) =>
- loadingLib == libraryName
- ? NativeLibrary.TryLoad(altName, loadingAsm, searchPath, out var handle)
- ? handle
- : 0
- : 0;
+ public static void RegisterAlternativeName(string libraryName, string altName)
+ {
+ var names = AlternativeNames.TryGetValue(libraryName, out var alts)
+ ? alts
+ : AlternativeNames[libraryName] = [];
+ if (!names.Contains(altName))
+ {
+ names.Add(altName);
+ }
+ }
+
+ ///
+ /// Gets the backing dictionary for . This can be manually modified if desired.
+ ///
+ public static Dictionary> AlternativeNames { get; } = new();
+
+ ///
+ /// A that uses to resolve the library.
+ ///
+ ///
+ /// This is publicised such that advanced users can remove this from if desired, as
+ /// it is added by default.
+ ///
+ /// The library name as seen in .
+ /// The resolving assembly.
+ /// The search path.
+ /// The handle.
+ ///
+ public static IntPtr LoadAlternativeNames(
+ string libraryName,
+ Assembly assembly,
+ DllImportSearchPath? searchPath
+ )
+ {
+ if (!AlternativeNames.TryGetValue(libraryName, out var alts))
+ {
+ return 0;
+ }
+
+ foreach (var alt in alts)
+ {
+ if (NativeLibrary.TryLoad(alt, assembly, searchPath, out var handle))
+ {
+ return handle;
+ }
+ }
+
+ return 0;
+ }
}
diff --git a/sources/Core/Core/PublicAPI/net8.0/PublicAPI.Unshipped.txt b/sources/Core/Core/PublicAPI/net8.0/PublicAPI.Unshipped.txt
index 14eb48880a..8123f98932 100644
--- a/sources/Core/Core/PublicAPI/net8.0/PublicAPI.Unshipped.txt
+++ b/sources/Core/Core/PublicAPI/net8.0/PublicAPI.Unshipped.txt
@@ -345,7 +345,9 @@ static Silk.NET.Core.Constant.implicit operator TEnum1(Silk
static Silk.NET.Core.Constant.implicit operator TUnderlying(Silk.NET.Core.Constant value) -> TUnderlying
static Silk.NET.Core.Default.True() -> T
static Silk.NET.Core.DSL.nullptr.get -> Silk.NET.Core.NullPtr
+static Silk.NET.Core.Loader.LoaderInterface.AlternativeNames.get -> System.Collections.Generic.Dictionary!>!
static Silk.NET.Core.Loader.LoaderInterface.LoadLibrary(string! name, System.Reflection.Assembly! asm) -> nint
+static Silk.NET.Core.Loader.LoaderInterface.LoadAlternativeNames(string! libraryName, System.Reflection.Assembly! assembly, System.Runtime.InteropServices.DllImportSearchPath? searchPath) -> nint
static Silk.NET.Core.Loader.LoaderInterface.RegisterAlternativeName(string! libraryName, string! altName) -> void
static Silk.NET.Core.Loader.LoaderInterface.RegisterHook(System.Reflection.Assembly? asm) -> void
static Silk.NET.Core.Loader.LoaderInterface.ResolvingLibrary -> System.Runtime.InteropServices.DllImportResolver?
diff --git a/sources/OpenAL/OpenAL/AL.cs b/sources/OpenAL/OpenAL/AL.cs
new file mode 100644
index 0000000000..bd75e56802
--- /dev/null
+++ b/sources/OpenAL/OpenAL/AL.cs
@@ -0,0 +1,17 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+using Silk.NET.Core.Loader;
+
+namespace Silk.NET.OpenAL;
+
+public partial class AL
+{
+ static AL() =>
+ LoaderInterface.RegisterAlternativeName(
+ "openal",
+ "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+ );
+
+ internal INativeContext Context => nativeContext;
+}
diff --git a/sources/OpenAL/OpenAL/AL.gen.cs b/sources/OpenAL/OpenAL/AL.gen.cs
new file mode 100644
index 0000000000..c8a9a789bd
--- /dev/null
+++ b/sources/OpenAL/OpenAL/AL.gen.cs
@@ -0,0 +1,35 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using Silk.NET.Core.Loader;
+
+namespace Silk.NET.OpenAL;
+
+partial class AL(INativeContext nativeContext) : IDisposable
+{
+ public partial class DllImport : IAL.Static
+ {
+ static DllImport() => LoaderInterface.RegisterHook(Assembly.GetExecutingAssembly());
+ }
+
+ public partial class ThisThread : IAL.Static
+ {
+ public static ThreadLocal Underlying { get; } = new();
+
+ public static void MakeCurrent(IAL ctx) => Underlying.Value = ctx;
+ }
+
+ private readonly unsafe void*[] _slots = new void*[297];
+
+ public static IAL Create(INativeContext ctx) => new AL(ctx);
+
+ ///
+ public void Dispose() => nativeContext.Dispose();
+}
diff --git a/sources/OpenAL/OpenAL/ALContext.cs b/sources/OpenAL/OpenAL/ALContext.cs
new file mode 100644
index 0000000000..f718118813
--- /dev/null
+++ b/sources/OpenAL/OpenAL/ALContext.cs
@@ -0,0 +1,204 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+using System.Runtime.InteropServices;
+using System.Text;
+using Silk.NET.Core.Loader;
+
+namespace Silk.NET.OpenAL;
+
+public partial class ALContext
+{
+ static ALContext() =>
+ LoaderInterface.RegisterAlternativeName(
+ "openal",
+ "/System/Library/Frameworks/OpenAL.framework/OpenAL"
+ );
+
+ public unsafe partial class DllImport
+ {
+ [UnmanagedCallersOnly]
+ internal static unsafe void* GetProcAddressTrampoline(
+ DeviceHandle device,
+ sbyte* funcname
+ ) => GetProcAddress(device, funcname);
+
+ public static partial sbyte MakeContextCurrentRaw(ContextHandle context) =>
+ MakeContextCurrentInternal(context);
+
+ public static partial DeviceHandle OpenDevice(sbyte* devicename) =>
+ OpenDeviceInternal(devicename);
+ }
+
+ public partial class StaticWrapper
+ {
+ public IALContext Clone() => new StaticWrapper();
+ }
+
+ private Dictionary? _contexts = null;
+ private unsafe delegate* unmanaged _getProcAddress;
+
+ public unsafe DeviceHandle CurrentDevice
+ {
+ get;
+ set
+ {
+ if (field != nullptr)
+ {
+ throw new InvalidOperationException(
+ "CurrentDevice cannot be changed once set, use another API object for additional devices. For more "
+ + "info, see https://dotnet.github.io/Silk.NET/docs/v3/silk.net/static-vs-instance-bindings"
+ );
+ }
+
+ _getProcAddress = null;
+ field = value;
+ }
+ }
+
+ private unsafe ALContext(INativeContext nativeContext, ALContext cloneFrom)
+ : this(nativeContext)
+ {
+ _slots = new void*[cloneFrom._slots.Length];
+#pragma warning disable CA2018
+ Buffer.BlockCopy(cloneFrom._slots, 0, _slots, 0, _slots.Length);
+#pragma warning restore CA2018
+ _getProcAddress = cloneFrom._getProcAddress;
+ }
+
+ public IALContext Clone() => new ALContext(nativeContext, this);
+
+ private class NativeContext : INativeContext
+ {
+ public ALContext ALC { get; set; } = null!;
+
+ public void Dispose() => throw new NotImplementedException();
+
+ public unsafe void* LoadFunction(string functionName, string libraryNameHint)
+ {
+ if (ALC._getProcAddress == null)
+ {
+ var getProcAddress = (delegate* unmanaged)
+ DllImport.GetProcAddress(ALC.CurrentDevice, "alcGetProcAddress2");
+ ALC._getProcAddress =
+ getProcAddress == null ? &DllImport.GetProcAddressTrampoline : getProcAddress;
+ }
+
+ var fname =
+ functionName.Length < 128
+ ? stackalloc byte[functionName.Length]
+ : new byte[functionName.Length];
+ fname[Encoding.UTF8.GetBytes(functionName, fname)] = 0;
+ fixed (byte* pFName = fname)
+ {
+ return ALC._getProcAddress(ALC.CurrentDevice, (sbyte*)pFName);
+ }
+ }
+ }
+
+ class AudioContext(ALContext alc, ContextHandle context) : INativeContext
+ {
+ private bool _direct;
+ private Ptr _getProcAddress;
+
+ public unsafe void* LoadFunction(string functionName, string libraryNameHint)
+ {
+ if (_getProcAddress == nullptr)
+ {
+ var dev = ((IALContext)alc).GetContextsDevice(context);
+ _direct = ((IALContext)alc).IsExtensionPresent(dev, "AL_EXT_direct_context");
+ _getProcAddress = _direct
+ ? ((IALContext)alc).GetProcAddress2(dev, "alGetProcAddressDirect")
+ : ((IALContext)alc).GetProcAddress(dev, "alGetProcAddress");
+ }
+
+ var fname =
+ functionName.Length < 128
+ ? stackalloc byte[functionName.Length]
+ : new byte[functionName.Length];
+ fname[Encoding.UTF8.GetBytes(functionName, fname)] = 0;
+ fixed (byte* pFName = fname)
+ {
+ return _direct
+ ? ((delegate* unmanaged)_getProcAddress)(
+ context,
+ (sbyte*)pFName
+ )
+ : ((delegate* unmanaged)_getProcAddress)((sbyte*)pFName);
+ }
+ }
+
+ private void ReleaseUnmanagedResources() => ((IALContext)alc).DestroyContext(context);
+
+ internal int RefCount = 0;
+
+ private void Dispose(bool disposing)
+ {
+ if (Interlocked.Decrement(ref RefCount) > 0)
+ {
+ return;
+ }
+
+ if (disposing)
+ {
+ alc._contexts?.Remove(context);
+ }
+
+ ReleaseUnmanagedResources();
+ }
+
+ public void Dispose()
+ {
+ Dispose(true);
+ GC.SuppressFinalize(this);
+ }
+
+ ~AudioContext() => Dispose(false);
+ }
+
+ sbyte IALContext.MakeContextCurrentRaw(ContextHandle context)
+ {
+ var ret = MakeContextCurrentInternal(context);
+ if (ret)
+ {
+ AL.ThisThread.MakeCurrent(GetOrCreateAL(context));
+ }
+
+ return ret;
+ }
+
+ private AL GetOrCreateAL(ContextHandle context)
+ {
+ var ret = (_contexts ??= []).TryGetValue(context, out var ctx)
+ ? ctx
+ : _contexts[context] = new AL(new AudioContext(this, context));
+ Interlocked.Increment(ref ((AudioContext)ret.Context).RefCount);
+ return ret;
+ }
+
+ public IAL CreateOpenAL(ContextHandle context) => GetOrCreateAL(context);
+
+ public IAL CreateOpenAL(DeviceHandle device, Ref attrList)
+ {
+ var ctx = CreateContext(device, attrList);
+ return ctx == nullptr
+ // TODO custom exception type
+ ? throw new InvalidOperationException(
+ $"alcCreateContext returned error: {(ErrorCode)GetError(device)}"
+ )
+ : CreateOpenAL(ctx);
+ }
+
+ public static IALContext Create() => Create(new NativeContext());
+
+ unsafe DeviceHandle IALContext.OpenDevice(sbyte* devicename)
+ {
+ var ret = OpenDevice(devicename);
+ if (ret != nullptr)
+ {
+ CurrentDevice = ret;
+ }
+
+ return ret;
+ }
+}
diff --git a/sources/OpenAL/OpenAL/ALContext.gen.cs b/sources/OpenAL/OpenAL/ALContext.gen.cs
new file mode 100644
index 0000000000..e993c7399a
--- /dev/null
+++ b/sources/OpenAL/OpenAL/ALContext.gen.cs
@@ -0,0 +1,35 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using Silk.NET.Core.Loader;
+
+namespace Silk.NET.OpenAL;
+
+partial class ALContext(INativeContext nativeContext) : IDisposable
+{
+ public partial class DllImport : IALContext.Static
+ {
+ static DllImport() => LoaderInterface.RegisterHook(Assembly.GetExecutingAssembly());
+ }
+
+ public partial class ThisThread : IALContext.Static
+ {
+ public static ThreadLocal Underlying { get; } = new();
+
+ public static void MakeCurrent(IALContext ctx) => Underlying.Value = ctx;
+ }
+
+ private readonly unsafe void*[] _slots = new void*[35];
+
+ public static IALContext Create(INativeContext ctx) => new ALContext(ctx);
+
+ ///
+ public void Dispose() => nativeContext.Dispose();
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ALCEnum.gen.cs b/sources/OpenAL/OpenAL/Enums/ALCEnum.gen.cs
new file mode 100644
index 0000000000..4fc8bc97c3
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ALCEnum.gen.cs
@@ -0,0 +1,106 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ALCEnum : uint
+{
+ Invalid = unchecked((uint)0),
+ False = unchecked((uint)0),
+ True = unchecked((uint)1),
+ Frequency = unchecked((uint)0x1007),
+ Refresh = unchecked((uint)0x1008),
+ Sync = unchecked((uint)0x1009),
+ NoError = unchecked((uint)0),
+ InvalidDevice = unchecked((uint)0xA001),
+ InvalidContEXT = unchecked((uint)0xA002),
+ InvalidEnum = unchecked((uint)0xA003),
+ InvalidValue = unchecked((uint)0xA004),
+ OutOfMemory = unchecked((uint)0xA005),
+ MajorVersion = unchecked((uint)0x1000),
+ MinorVersion = unchecked((uint)0x1001),
+ AttributesSize = unchecked((uint)0x1002),
+ AllAttributes = unchecked((uint)0x1003),
+ DefaultDeviceSpecifier = unchecked((uint)0x1004),
+ DeviceSpecifier = unchecked((uint)0x1005),
+ Extensions = unchecked((uint)0x1006),
+ MonoSources = unchecked((uint)0x1010),
+ StereoSources = unchecked((uint)0x1011),
+ CaptureDeviceSpecifier = unchecked((uint)0x310),
+ CaptureDefaultDeviceSpecifier = unchecked((uint)0x311),
+ CaptureSamples = unchecked((uint)0x312),
+ DefaultAllDevicesSpecifier = unchecked((uint)0x1012),
+ AllDevicesSpecifier = unchecked((uint)0x1013),
+ ChanMainLOKI = unchecked((uint)0x500001),
+ ChanPcmLOKI = unchecked((uint)0x500002),
+ ChanCdLOKI = unchecked((uint)0x500003),
+ EfxMajorVersion = unchecked((uint)0x20001),
+ EfxMinorVersion = unchecked((uint)0x20002),
+ MaxAuxiliarySends = unchecked((uint)0x20003),
+ Connected = unchecked((uint)0x313),
+ FormatChannelsSOFT = unchecked((uint)0x1990),
+ FormatTypeSOFT = unchecked((uint)0x1991),
+ ByteSOFT = unchecked((uint)0x1400),
+ UnsignedByteSOFT = unchecked((uint)0x1401),
+ ShortSOFT = unchecked((uint)0x1402),
+ UnsignedShortSOFT = unchecked((uint)0x1403),
+ IntSOFT = unchecked((uint)0x1404),
+ UnsignedIntSOFT = unchecked((uint)0x1405),
+ FloatSOFT = unchecked((uint)0x1406),
+ MonoSOFT = unchecked((uint)0x1500),
+ StereoSOFT = unchecked((uint)0x1501),
+ QuadSOFT = unchecked((uint)0x1503),
+ X5Point1Soft = unchecked((uint)0x1504),
+ X6Point1Soft = unchecked((uint)0x1505),
+ X7Point1Soft = unchecked((uint)0x1506),
+ HrtfSOFT = unchecked((uint)0x1992),
+ DontCareSOFT = unchecked((uint)0x0002),
+ HrtfStatusSOFT = unchecked((uint)0x1993),
+ HrtfDisabledSOFT = unchecked((uint)0x0000),
+ HrtfEnabledSOFT = unchecked((uint)0x0001),
+ HrtfDeniedSOFT = unchecked((uint)0x0002),
+ HrtfRequiredSOFT = unchecked((uint)0x0003),
+ HrtfHeadphonesDetectedSOFT = unchecked((uint)0x0004),
+ HrtfUnsupportedFormatSOFT = unchecked((uint)0x0005),
+ NumHrtfSpecifiersSOFT = unchecked((uint)0x1994),
+ HrtfSpecifierSOFT = unchecked((uint)0x1995),
+ HrtfIdSOFT = unchecked((uint)0x1996),
+ OutputLimiterSOFT = unchecked((uint)0x199A),
+ DeviceClockSOFT = unchecked((uint)0x1600),
+ DeviceLatencySOFT = unchecked((uint)0x1601),
+ DeviceClockLatencySOFT = unchecked((uint)0x1602),
+ AmbisonicLayoutSOFT = unchecked((uint)0x1997),
+ AmbisonicScalingSOFT = unchecked((uint)0x1998),
+ AmbisonicOrderSOFT = unchecked((uint)0x1999),
+ MaxAmbisonicOrderSOFT = unchecked((uint)0x199B),
+ Bformat3DSOFT = unchecked((uint)0x1507),
+ FumaSOFT = unchecked((uint)0x0000),
+ AcnSOFT = unchecked((uint)0x0001),
+ Sn3DSOFT = unchecked((uint)0x0001),
+ N3DSoft = unchecked((uint)0x0002),
+ OutputModeSOFT = unchecked((uint)0x19AC),
+ AnySOFT = unchecked((uint)0x19AD),
+ StereoBasicSOFT = unchecked((uint)0x19AE),
+ StereoUhjSOFT = unchecked((uint)0x19AF),
+ StereoHrtfSOFT = unchecked((uint)0x19B2),
+ Surround5X1Soft = unchecked((uint)0x1504),
+ Surround6X1Soft = unchecked((uint)0x1505),
+ Surround7X1Soft = unchecked((uint)0x1506),
+ ContextFlagsEXT = unchecked((uint)0x19CF),
+ ContextDebugBitEXT = unchecked((uint)0x0001),
+ PlaybackDeviceSOFT = unchecked((uint)0x19D4),
+ CaptureDeviceSOFT = unchecked((uint)0x19D5),
+ EventTypeDefaultDeviceChangedSOFT = unchecked((uint)0x19D6),
+ EventTypeDeviceAddedSOFT = unchecked((uint)0x19D7),
+ EventTypeDeviceRemovedSOFT = unchecked((uint)0x19D8),
+ EventSupportedSOFT = unchecked((uint)0x19D9),
+ EventNotSupportedSOFT = unchecked((uint)0x19DA),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ALEnum.gen.cs b/sources/OpenAL/OpenAL/Enums/ALEnum.gen.cs
new file mode 100644
index 0000000000..daa59f8822
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ALEnum.gen.cs
@@ -0,0 +1,751 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ALEnum : uint
+{
+ None = unchecked((uint)0),
+ False = unchecked((uint)0),
+ True = unchecked((uint)1),
+ SourceRelative = unchecked((uint)0x202),
+ ConeInnerAngle = unchecked((uint)0x1001),
+ ConeOuterAngle = unchecked((uint)0x1002),
+ Pitch = unchecked((uint)0x1003),
+ Position = unchecked((uint)0x1004),
+ Direction = unchecked((uint)0x1005),
+ Velocity = unchecked((uint)0x1006),
+ Looping = unchecked((uint)0x1007),
+ Buffer = unchecked((uint)0x1009),
+ Gain = unchecked((uint)0x100A),
+ MinGain = unchecked((uint)0x100D),
+ MaxGain = unchecked((uint)0x100E),
+ Orientation = unchecked((uint)0x100F),
+ SourceState = unchecked((uint)0x1010),
+ Initial = unchecked((uint)0x1011),
+ Playing = unchecked((uint)0x1012),
+ Paused = unchecked((uint)0x1013),
+ Stopped = unchecked((uint)0x1014),
+ BuffersQueued = unchecked((uint)0x1015),
+ BuffersProcessed = unchecked((uint)0x1016),
+ ReferenceDistance = unchecked((uint)0x1020),
+ RolloffFactor = unchecked((uint)0x1021),
+ ConeOuterGain = unchecked((uint)0x1022),
+ MaxDistance = unchecked((uint)0x1023),
+ FormatMono8 = unchecked((uint)0x1100),
+ FormatMono16 = unchecked((uint)0x1101),
+ FormatStereo8 = unchecked((uint)0x1102),
+ FormatStereo16 = unchecked((uint)0x1103),
+ Frequency = unchecked((uint)0x2001),
+ Size = unchecked((uint)0x2004),
+ Unused = unchecked((uint)0x2010),
+ Pending = unchecked((uint)0x2011),
+ Processed = unchecked((uint)0x2012),
+ NoError = unchecked((uint)0),
+ InvalidName = unchecked((uint)0xA001),
+ InvalidEnum = unchecked((uint)0xA002),
+ InvalidValue = unchecked((uint)0xA003),
+ InvalidOperation = unchecked((uint)0xA004),
+ OutOfMemory = unchecked((uint)0xA005),
+ Vendor = unchecked((uint)0xB001),
+ Version = unchecked((uint)0xB002),
+ Renderer = unchecked((uint)0xB003),
+ Extensions = unchecked((uint)0xB004),
+ DopplerFactor = unchecked((uint)0xC000),
+ DopplerVelocity = unchecked((uint)0xC001),
+ DistanceModel = unchecked((uint)0xD000),
+ Invalid = unchecked((uint)(-1)),
+ IllegalEnum = unchecked((uint)0xA002),
+ IllegalCommand = unchecked((uint)0xA004),
+ InverseDistance = unchecked((uint)0xD001),
+ InverseDistanceClamped = unchecked((uint)0xD002),
+ SecOffset = unchecked((uint)0x1024),
+ SampleOffset = unchecked((uint)0x1025),
+ ByteOffset = unchecked((uint)0x1026),
+ SourceType = unchecked((uint)0x1027),
+ Static = unchecked((uint)0x1028),
+ Streaming = unchecked((uint)0x1029),
+ Undetermined = unchecked((uint)0x1030),
+ Bits = unchecked((uint)0x2002),
+ Channels = unchecked((uint)0x2003),
+ SpeedOfSound = unchecked((uint)0xC003),
+ LinearDistance = unchecked((uint)0xD003),
+ LinearDistanceClamped = unchecked((uint)0xD004),
+ ExponentDistance = unchecked((uint)0xD005),
+ ExponentDistanceClamped = unchecked((uint)0xD006),
+ FormatImaAdpcmMono16EXT = unchecked((uint)0x10000),
+ FormatImaAdpcmStereo16EXT = unchecked((uint)0x10001),
+ FormatWaveEXT = unchecked((uint)0x10002),
+ FormatVorbisEXT = unchecked((uint)0x10003),
+ FormatQuad8LOKI = unchecked((uint)0x10004),
+ FormatQuad16LOKI = unchecked((uint)0x10005),
+ FormatMonoFloat32 = unchecked((uint)0x10010),
+ FormatStereoFloat32 = unchecked((uint)0x10011),
+ FormatMonoDoubleEXT = unchecked((uint)0x10012),
+ FormatStereoDoubleEXT = unchecked((uint)0x10013),
+ FormatMonoMulawEXT = unchecked((uint)0x10014),
+ FormatStereoMulawEXT = unchecked((uint)0x10015),
+ FormatMonoAlawEXT = unchecked((uint)0x10016),
+ FormatStereoAlawEXT = unchecked((uint)0x10017),
+ FormatQuad8 = unchecked((uint)0x1204),
+ FormatQuad16 = unchecked((uint)0x1205),
+ FormatQuad32 = unchecked((uint)0x1206),
+ FormatRear8 = unchecked((uint)0x1207),
+ FormatRear16 = unchecked((uint)0x1208),
+ FormatRear32 = unchecked((uint)0x1209),
+ Format51Chn8 = unchecked((uint)0x120A),
+ Format51Chn16 = unchecked((uint)0x120B),
+ Format51Chn32 = unchecked((uint)0x120C),
+ Format61Chn8 = unchecked((uint)0x120D),
+ Format61Chn16 = unchecked((uint)0x120E),
+ Format61Chn32 = unchecked((uint)0x120F),
+ Format71Chn8 = unchecked((uint)0x1210),
+ Format71Chn16 = unchecked((uint)0x1211),
+ Format71Chn32 = unchecked((uint)0x1212),
+ FormatMonoMulaw = unchecked((uint)0x10014),
+ FormatStereoMulaw = unchecked((uint)0x10015),
+ FormatQuadMulaw = unchecked((uint)0x10021),
+ FormatRearMulaw = unchecked((uint)0x10022),
+ Format51ChnMulaw = unchecked((uint)0x10023),
+ Format61ChnMulaw = unchecked((uint)0x10024),
+ Format71ChnMulaw = unchecked((uint)0x10025),
+ FormatMonoIma4 = unchecked((uint)0x1300),
+ FormatStereoIma4 = unchecked((uint)0x1301),
+ MetersPerUnit = unchecked((uint)0x20004),
+ DirectFilter = unchecked((uint)0x20005),
+ AuxiliarySendFilter = unchecked((uint)0x20006),
+ AirAbsorptionFactor = unchecked((uint)0x20007),
+ RoomRolloffFactor = unchecked((uint)0x20008),
+ ConeOuterGainhf = unchecked((uint)0x20009),
+ DirectFilterGainhfAuto = unchecked((uint)0x2000A),
+ AuxiliarySendFilterGainAuto = unchecked((uint)0x2000B),
+ AuxiliarySendFilterGainhfAuto = unchecked((uint)0x2000C),
+ ReverbDensity = unchecked((uint)0x0001),
+ ReverbDiffusion = unchecked((uint)0x0002),
+ ReverbGain = unchecked((uint)0x0003),
+ ReverbGainhf = unchecked((uint)0x0004),
+ ReverbDecayTime = unchecked((uint)0x0005),
+ ReverbDecayHfratio = unchecked((uint)0x0006),
+ ReverbReflectionsGain = unchecked((uint)0x0007),
+ ReverbReflectionsDelay = unchecked((uint)0x0008),
+ ReverbLateReverbGain = unchecked((uint)0x0009),
+ ReverbLateReverbDelay = unchecked((uint)0x000A),
+ ReverbAirAbsorptionGainhf = unchecked((uint)0x000B),
+ ReverbRoomRolloffFactor = unchecked((uint)0x000C),
+ ReverbDecayHflimit = unchecked((uint)0x000D),
+ EaxreverbDensity = unchecked((uint)0x0001),
+ EaxreverbDiffusion = unchecked((uint)0x0002),
+ EaxreverbGain = unchecked((uint)0x0003),
+ EaxreverbGainhf = unchecked((uint)0x0004),
+ EaxreverbGainlf = unchecked((uint)0x0005),
+ EaxreverbDecayTime = unchecked((uint)0x0006),
+ EaxreverbDecayHfratio = unchecked((uint)0x0007),
+ EaxreverbDecayLfratio = unchecked((uint)0x0008),
+ EaxreverbReflectionsGain = unchecked((uint)0x0009),
+ EaxreverbReflectionsDelay = unchecked((uint)0x000A),
+ EaxreverbReflectionsPan = unchecked((uint)0x000B),
+ EaxreverbLateReverbGain = unchecked((uint)0x000C),
+ EaxreverbLateReverbDelay = unchecked((uint)0x000D),
+ EaxreverbLateReverbPan = unchecked((uint)0x000E),
+ EaxreverbEchoTime = unchecked((uint)0x000F),
+ EaxreverbEchoDepth = unchecked((uint)0x0010),
+ EaxreverbModulationTime = unchecked((uint)0x0011),
+ EaxreverbModulationDepth = unchecked((uint)0x0012),
+ EaxreverbAirAbsorptionGainhf = unchecked((uint)0x0013),
+ EaxreverbHfreference = unchecked((uint)0x0014),
+ EaxreverbLfreference = unchecked((uint)0x0015),
+ EaxreverbRoomRolloffFactor = unchecked((uint)0x0016),
+ EaxreverbDecayHflimit = unchecked((uint)0x0017),
+ ChorusWaveform = unchecked((uint)0x0001),
+ ChorusPhase = unchecked((uint)0x0002),
+ ChorusRate = unchecked((uint)0x0003),
+ ChorusDepth = unchecked((uint)0x0004),
+ ChorusFeedback = unchecked((uint)0x0005),
+ ChorusDelay = unchecked((uint)0x0006),
+ DistortionEdge = unchecked((uint)0x0001),
+ DistortionGain = unchecked((uint)0x0002),
+ DistortionLowpassCutoff = unchecked((uint)0x0003),
+ DistortionEqcenter = unchecked((uint)0x0004),
+ DistortionEqbandwidth = unchecked((uint)0x0005),
+ EchoDelay = unchecked((uint)0x0001),
+ EchoLrdelay = unchecked((uint)0x0002),
+ EchoDamping = unchecked((uint)0x0003),
+ EchoFeedback = unchecked((uint)0x0004),
+ EchoSpread = unchecked((uint)0x0005),
+ FlangerWaveform = unchecked((uint)0x0001),
+ FlangerPhase = unchecked((uint)0x0002),
+ FlangerRate = unchecked((uint)0x0003),
+ FlangerDepth = unchecked((uint)0x0004),
+ FlangerFeedback = unchecked((uint)0x0005),
+ FlangerDelay = unchecked((uint)0x0006),
+ FrequencyShifterFrequency = unchecked((uint)0x0001),
+ FrequencyShifterLeftDirection = unchecked((uint)0x0002),
+ FrequencyShifterRightDirection = unchecked((uint)0x0003),
+ VocalMorpherPhonemea = unchecked((uint)0x0001),
+ VocalMorpherPhonemeaCoarseTuning = unchecked((uint)0x0002),
+ VocalMorpherPhonemeb = unchecked((uint)0x0003),
+ VocalMorpherPhonemebCoarseTuning = unchecked((uint)0x0004),
+ VocalMorpherWaveform = unchecked((uint)0x0005),
+ VocalMorpherRate = unchecked((uint)0x0006),
+ PitchShifterCoarseTune = unchecked((uint)0x0001),
+ PitchShifterFineTune = unchecked((uint)0x0002),
+ RingModulatorFrequency = unchecked((uint)0x0001),
+ RingModulatorHighpassCutoff = unchecked((uint)0x0002),
+ RingModulatorWaveform = unchecked((uint)0x0003),
+ AutowahAttackTime = unchecked((uint)0x0001),
+ AutowahReleaseTime = unchecked((uint)0x0002),
+ AutowahResonance = unchecked((uint)0x0003),
+ AutowahPeakGain = unchecked((uint)0x0004),
+ CompressorOnoff = unchecked((uint)0x0001),
+ EqualizerLowGain = unchecked((uint)0x0001),
+ EqualizerLowCutoff = unchecked((uint)0x0002),
+ EqualizerMid1Gain = unchecked((uint)0x0003),
+ EqualizerMid1Center = unchecked((uint)0x0004),
+ EqualizerMid1Width = unchecked((uint)0x0005),
+ EqualizerMid2Gain = unchecked((uint)0x0006),
+ EqualizerMid2Center = unchecked((uint)0x0007),
+ EqualizerMid2Width = unchecked((uint)0x0008),
+ EqualizerHighGain = unchecked((uint)0x0009),
+ EqualizerHighCutoff = unchecked((uint)0x000A),
+ EffectFirstParameter = unchecked((uint)0x0000),
+ EffectLastParameter = unchecked((uint)0x8000),
+ EffectType = unchecked((uint)0x8001),
+ EffectNull = unchecked((uint)0x0000),
+ EffectReverb = unchecked((uint)0x0001),
+ EffectChorus = unchecked((uint)0x0002),
+ EffectDistortion = unchecked((uint)0x0003),
+ EffectEcho = unchecked((uint)0x0004),
+ EffectFlanger = unchecked((uint)0x0005),
+ EffectFrequencyShifter = unchecked((uint)0x0006),
+ EffectVocalMorpher = unchecked((uint)0x0007),
+ EffectPitchShifter = unchecked((uint)0x0008),
+ EffectRingModulator = unchecked((uint)0x0009),
+ EffectAutowah = unchecked((uint)0x000A),
+ EffectCompressor = unchecked((uint)0x000B),
+ EffectEqualizer = unchecked((uint)0x000C),
+ EffectEaxreverb = unchecked((uint)0x8000),
+ EffectslotEffect = unchecked((uint)0x0001),
+ EffectslotGain = unchecked((uint)0x0002),
+ EffectslotAuxiliarySendAuto = unchecked((uint)0x0003),
+ EffectslotNull = unchecked((uint)0x0000),
+ LowpassGain = unchecked((uint)0x0001),
+ LowpassGainhf = unchecked((uint)0x0002),
+ HighpassGain = unchecked((uint)0x0001),
+ HighpassGainlf = unchecked((uint)0x0002),
+ BandpassGain = unchecked((uint)0x0001),
+ BandpassGainlf = unchecked((uint)0x0002),
+ BandpassGainhf = unchecked((uint)0x0003),
+ FilterFirstParameter = unchecked((uint)0x0000),
+ FilterLastParameter = unchecked((uint)0x8000),
+ FilterType = unchecked((uint)0x8001),
+ FilterNull = unchecked((uint)0x0000),
+ FilterLowpass = unchecked((uint)0x0001),
+ FilterHighpass = unchecked((uint)0x0002),
+ FilterBandpass = unchecked((uint)0x0003),
+ LowpassMinGain = unchecked((uint)0.0f),
+ LowpassMaxGain = unchecked((uint)1.0f),
+ LowpassDefaultGain = unchecked((uint)1.0f),
+ LowpassMinGainhf = unchecked((uint)0.0f),
+ LowpassMaxGainhf = unchecked((uint)1.0f),
+ LowpassDefaultGainhf = unchecked((uint)1.0f),
+ HighpassMinGain = unchecked((uint)0.0f),
+ HighpassMaxGain = unchecked((uint)1.0f),
+ HighpassDefaultGain = unchecked((uint)1.0f),
+ HighpassMinGainlf = unchecked((uint)0.0f),
+ HighpassMaxGainlf = unchecked((uint)1.0f),
+ HighpassDefaultGainlf = unchecked((uint)1.0f),
+ BandpassMinGain = unchecked((uint)0.0f),
+ BandpassMaxGain = unchecked((uint)1.0f),
+ BandpassDefaultGain = unchecked((uint)1.0f),
+ BandpassMinGainhf = unchecked((uint)0.0f),
+ BandpassMaxGainhf = unchecked((uint)1.0f),
+ BandpassDefaultGainhf = unchecked((uint)1.0f),
+ BandpassMinGainlf = unchecked((uint)0.0f),
+ BandpassMaxGainlf = unchecked((uint)1.0f),
+ BandpassDefaultGainlf = unchecked((uint)1.0f),
+ ReverbMinDensity = unchecked((uint)0.0f),
+ ReverbMaxDensity = unchecked((uint)1.0f),
+ ReverbDefaultDensity = unchecked((uint)1.0f),
+ ReverbMinDiffusion = unchecked((uint)0.0f),
+ ReverbMaxDiffusion = unchecked((uint)1.0f),
+ ReverbDefaultDiffusion = unchecked((uint)1.0f),
+ ReverbMinGain = unchecked((uint)0.0f),
+ ReverbMaxGain = unchecked((uint)1.0f),
+ ReverbDefaultGain = unchecked((uint)0.32f),
+ ReverbMinGainhf = unchecked((uint)0.0f),
+ ReverbMaxGainhf = unchecked((uint)1.0f),
+ ReverbDefaultGainhf = unchecked((uint)0.89f),
+ ReverbMinDecayTime = unchecked((uint)0.1f),
+ ReverbMaxDecayTime = unchecked((uint)20.0f),
+ ReverbDefaultDecayTime = unchecked((uint)1.49f),
+ ReverbMinDecayHfratio = unchecked((uint)0.1f),
+ ReverbMaxDecayHfratio = unchecked((uint)2.0f),
+ ReverbDefaultDecayHfratio = unchecked((uint)0.83f),
+ ReverbMinReflectionsGain = unchecked((uint)0.0f),
+ ReverbMaxReflectionsGain = unchecked((uint)3.16f),
+ ReverbDefaultReflectionsGain = unchecked((uint)0.05f),
+ ReverbMinReflectionsDelay = unchecked((uint)0.0f),
+ ReverbMaxReflectionsDelay = unchecked((uint)0.3f),
+ ReverbDefaultReflectionsDelay = unchecked((uint)0.007f),
+ ReverbMinLateReverbGain = unchecked((uint)0.0f),
+ ReverbMaxLateReverbGain = unchecked((uint)10.0f),
+ ReverbDefaultLateReverbGain = unchecked((uint)1.26f),
+ ReverbMinLateReverbDelay = unchecked((uint)0.0f),
+ ReverbMaxLateReverbDelay = unchecked((uint)0.1f),
+ ReverbDefaultLateReverbDelay = unchecked((uint)0.011f),
+ ReverbMinAirAbsorptionGainhf = unchecked((uint)0.892f),
+ ReverbMaxAirAbsorptionGainhf = unchecked((uint)1.0f),
+ ReverbDefaultAirAbsorptionGainhf = unchecked((uint)0.994f),
+ ReverbMinRoomRolloffFactor = unchecked((uint)0.0f),
+ ReverbMaxRoomRolloffFactor = unchecked((uint)10.0f),
+ ReverbDefaultRoomRolloffFactor = unchecked((uint)0.0f),
+ ReverbMinDecayHflimit = unchecked((uint)0),
+ ReverbMaxDecayHflimit = unchecked((uint)1),
+ ReverbDefaultDecayHflimit = unchecked((uint)1),
+ EaxreverbMinDensity = unchecked((uint)0.0f),
+ EaxreverbMaxDensity = unchecked((uint)1.0f),
+ EaxreverbDefaultDensity = unchecked((uint)1.0f),
+ EaxreverbMinDiffusion = unchecked((uint)0.0f),
+ EaxreverbMaxDiffusion = unchecked((uint)1.0f),
+ EaxreverbDefaultDiffusion = unchecked((uint)1.0f),
+ EaxreverbMinGain = unchecked((uint)0.0f),
+ EaxreverbMaxGain = unchecked((uint)1.0f),
+ EaxreverbDefaultGain = unchecked((uint)0.32f),
+ EaxreverbMinGainhf = unchecked((uint)0.0f),
+ EaxreverbMaxGainhf = unchecked((uint)1.0f),
+ EaxreverbDefaultGainhf = unchecked((uint)0.89f),
+ EaxreverbMinGainlf = unchecked((uint)0.0f),
+ EaxreverbMaxGainlf = unchecked((uint)1.0f),
+ EaxreverbDefaultGainlf = unchecked((uint)1.0f),
+ EaxreverbMinDecayTime = unchecked((uint)0.1f),
+ EaxreverbMaxDecayTime = unchecked((uint)20.0f),
+ EaxreverbDefaultDecayTime = unchecked((uint)1.49f),
+ EaxreverbMinDecayHfratio = unchecked((uint)0.1f),
+ EaxreverbMaxDecayHfratio = unchecked((uint)2.0f),
+ EaxreverbDefaultDecayHfratio = unchecked((uint)0.83f),
+ EaxreverbMinDecayLfratio = unchecked((uint)0.1f),
+ EaxreverbMaxDecayLfratio = unchecked((uint)2.0f),
+ EaxreverbDefaultDecayLfratio = unchecked((uint)1.0f),
+ EaxreverbMinReflectionsGain = unchecked((uint)0.0f),
+ EaxreverbMaxReflectionsGain = unchecked((uint)3.16f),
+ EaxreverbDefaultReflectionsGain = unchecked((uint)0.05f),
+ EaxreverbMinReflectionsDelay = unchecked((uint)0.0f),
+ EaxreverbMaxReflectionsDelay = unchecked((uint)0.3f),
+ EaxreverbDefaultReflectionsDelay = unchecked((uint)0.007f),
+ EaxreverbDefaultReflectionsPanXyz = unchecked((uint)0.0f),
+ EaxreverbMinLateReverbGain = unchecked((uint)0.0f),
+ EaxreverbMaxLateReverbGain = unchecked((uint)10.0f),
+ EaxreverbDefaultLateReverbGain = unchecked((uint)1.26f),
+ EaxreverbMinLateReverbDelay = unchecked((uint)0.0f),
+ EaxreverbMaxLateReverbDelay = unchecked((uint)0.1f),
+ EaxreverbDefaultLateReverbDelay = unchecked((uint)0.011f),
+ EaxreverbDefaultLateReverbPanXyz = unchecked((uint)0.0f),
+ EaxreverbMinEchoTime = unchecked((uint)0.075f),
+ EaxreverbMaxEchoTime = unchecked((uint)0.25f),
+ EaxreverbDefaultEchoTime = unchecked((uint)0.25f),
+ EaxreverbMinEchoDepth = unchecked((uint)0.0f),
+ EaxreverbMaxEchoDepth = unchecked((uint)1.0f),
+ EaxreverbDefaultEchoDepth = unchecked((uint)0.0f),
+ EaxreverbMinModulationTime = unchecked((uint)0.04f),
+ EaxreverbMaxModulationTime = unchecked((uint)4.0f),
+ EaxreverbDefaultModulationTime = unchecked((uint)0.25f),
+ EaxreverbMinModulationDepth = unchecked((uint)0.0f),
+ EaxreverbMaxModulationDepth = unchecked((uint)1.0f),
+ EaxreverbDefaultModulationDepth = unchecked((uint)0.0f),
+ EaxreverbMinAirAbsorptionGainhf = unchecked((uint)0.892f),
+ EaxreverbMaxAirAbsorptionGainhf = unchecked((uint)1.0f),
+ EaxreverbDefaultAirAbsorptionGainhf = unchecked((uint)0.994f),
+ EaxreverbMinHfreference = unchecked((uint)1000.0f),
+ EaxreverbMaxHfreference = unchecked((uint)20000.0f),
+ EaxreverbDefaultHfreference = unchecked((uint)5000.0f),
+ EaxreverbMinLfreference = unchecked((uint)20.0f),
+ EaxreverbMaxLfreference = unchecked((uint)1000.0f),
+ EaxreverbDefaultLfreference = unchecked((uint)250.0f),
+ EaxreverbMinRoomRolloffFactor = unchecked((uint)0.0f),
+ EaxreverbMaxRoomRolloffFactor = unchecked((uint)10.0f),
+ EaxreverbDefaultRoomRolloffFactor = unchecked((uint)0.0f),
+ EaxreverbMinDecayHflimit = unchecked((uint)0),
+ EaxreverbMaxDecayHflimit = unchecked((uint)1),
+ EaxreverbDefaultDecayHflimit = unchecked((uint)1),
+ ChorusWaveformSinusoid = unchecked((uint)0),
+ ChorusWaveformTriangle = unchecked((uint)1),
+ ChorusMinWaveform = unchecked((uint)0),
+ ChorusMaxWaveform = unchecked((uint)1),
+ ChorusDefaultWaveform = unchecked((uint)1),
+ ChorusMinPhase = unchecked((uint)-180),
+ ChorusMaxPhase = unchecked((uint)180),
+ ChorusDefaultPhase = unchecked((uint)90),
+ ChorusMinRate = unchecked((uint)0.0f),
+ ChorusMaxRate = unchecked((uint)10.0f),
+ ChorusDefaultRate = unchecked((uint)1.1f),
+ ChorusMinDepth = unchecked((uint)0.0f),
+ ChorusMaxDepth = unchecked((uint)1.0f),
+ ChorusDefaultDepth = unchecked((uint)0.1f),
+ ChorusMinFeedback = unchecked((uint)-1.0f),
+ ChorusMaxFeedback = unchecked((uint)1.0f),
+ ChorusDefaultFeedback = unchecked((uint)0.25f),
+ ChorusMinDelay = unchecked((uint)0.0f),
+ ChorusMaxDelay = unchecked((uint)0.016f),
+ ChorusDefaultDelay = unchecked((uint)0.016f),
+ DistortionMinEdge = unchecked((uint)0.0f),
+ DistortionMaxEdge = unchecked((uint)1.0f),
+ DistortionDefaultEdge = unchecked((uint)0.2f),
+ DistortionMinGain = unchecked((uint)0.01f),
+ DistortionMaxGain = unchecked((uint)1.0f),
+ DistortionDefaultGain = unchecked((uint)0.05f),
+ DistortionMinLowpassCutoff = unchecked((uint)80.0f),
+ DistortionMaxLowpassCutoff = unchecked((uint)24000.0f),
+ DistortionDefaultLowpassCutoff = unchecked((uint)8000.0f),
+ DistortionMinEqcenter = unchecked((uint)80.0f),
+ DistortionMaxEqcenter = unchecked((uint)24000.0f),
+ DistortionDefaultEqcenter = unchecked((uint)3600.0f),
+ DistortionMinEqbandwidth = unchecked((uint)80.0f),
+ DistortionMaxEqbandwidth = unchecked((uint)24000.0f),
+ DistortionDefaultEqbandwidth = unchecked((uint)3600.0f),
+ EchoMinDelay = unchecked((uint)0.0f),
+ EchoMaxDelay = unchecked((uint)0.207f),
+ EchoDefaultDelay = unchecked((uint)0.1f),
+ EchoMinLrdelay = unchecked((uint)0.0f),
+ EchoMaxLrdelay = unchecked((uint)0.404f),
+ EchoDefaultLrdelay = unchecked((uint)0.1f),
+ EchoMinDamping = unchecked((uint)0.0f),
+ EchoMaxDamping = unchecked((uint)0.99f),
+ EchoDefaultDamping = unchecked((uint)0.5f),
+ EchoMinFeedback = unchecked((uint)0.0f),
+ EchoMaxFeedback = unchecked((uint)1.0f),
+ EchoDefaultFeedback = unchecked((uint)0.5f),
+ EchoMinSpread = unchecked((uint)-1.0f),
+ EchoMaxSpread = unchecked((uint)1.0f),
+ EchoDefaultSpread = unchecked((uint)-1.0f),
+ FlangerWaveformSinusoid = unchecked((uint)0),
+ FlangerWaveformTriangle = unchecked((uint)1),
+ FlangerMinWaveform = unchecked((uint)0),
+ FlangerMaxWaveform = unchecked((uint)1),
+ FlangerDefaultWaveform = unchecked((uint)1),
+ FlangerMinPhase = unchecked((uint)-180),
+ FlangerMaxPhase = unchecked((uint)180),
+ FlangerDefaultPhase = unchecked((uint)0),
+ FlangerMinRate = unchecked((uint)0.0f),
+ FlangerMaxRate = unchecked((uint)10.0f),
+ FlangerDefaultRate = unchecked((uint)0.27f),
+ FlangerMinDepth = unchecked((uint)0.0f),
+ FlangerMaxDepth = unchecked((uint)1.0f),
+ FlangerDefaultDepth = unchecked((uint)1.0f),
+ FlangerMinFeedback = unchecked((uint)-1.0f),
+ FlangerMaxFeedback = unchecked((uint)1.0f),
+ FlangerDefaultFeedback = unchecked((uint)-0.5f),
+ FlangerMinDelay = unchecked((uint)0.0f),
+ FlangerMaxDelay = unchecked((uint)0.004f),
+ FlangerDefaultDelay = unchecked((uint)0.002f),
+ FrequencyShifterMinFrequency = unchecked((uint)0.0f),
+ FrequencyShifterMaxFrequency = unchecked((uint)24000.0f),
+ FrequencyShifterDefaultFrequency = unchecked((uint)0.0f),
+ FrequencyShifterMinLeftDirection = unchecked((uint)0),
+ FrequencyShifterMaxLeftDirection = unchecked((uint)2),
+ FrequencyShifterDefaultLeftDirection = unchecked((uint)0),
+ FrequencyShifterDirectionDown = unchecked((uint)0),
+ FrequencyShifterDirectionUp = unchecked((uint)1),
+ FrequencyShifterDirectionOff = unchecked((uint)2),
+ FrequencyShifterMinRightDirection = unchecked((uint)0),
+ FrequencyShifterMaxRightDirection = unchecked((uint)2),
+ FrequencyShifterDefaultRightDirection = unchecked((uint)0),
+ VocalMorpherMinPhonemea = unchecked((uint)0),
+ VocalMorpherMaxPhonemea = unchecked((uint)29),
+ VocalMorpherDefaultPhonemea = unchecked((uint)0),
+ VocalMorpherMinPhonemeaCoarseTuning = unchecked((uint)-24),
+ VocalMorpherMaxPhonemeaCoarseTuning = unchecked((uint)24),
+ VocalMorpherDefaultPhonemeaCoarseTuning = unchecked((uint)0),
+ VocalMorpherMinPhonemeb = unchecked((uint)0),
+ VocalMorpherMaxPhonemeb = unchecked((uint)29),
+ VocalMorpherDefaultPhonemeb = unchecked((uint)10),
+ VocalMorpherMinPhonemebCoarseTuning = unchecked((uint)-24),
+ VocalMorpherMaxPhonemebCoarseTuning = unchecked((uint)24),
+ VocalMorpherDefaultPhonemebCoarseTuning = unchecked((uint)0),
+ VocalMorpherPhonemeA = unchecked((uint)0),
+ VocalMorpherPhonemeE = unchecked((uint)1),
+ VocalMorpherPhonemeI = unchecked((uint)2),
+ VocalMorpherPhonemeO = unchecked((uint)3),
+ VocalMorpherPhonemeU = unchecked((uint)4),
+ VocalMorpherPhonemeAa = unchecked((uint)5),
+ VocalMorpherPhonemeAe = unchecked((uint)6),
+ VocalMorpherPhonemeAh = unchecked((uint)7),
+ VocalMorpherPhonemeAo = unchecked((uint)8),
+ VocalMorpherPhonemeEh = unchecked((uint)9),
+ VocalMorpherPhonemeEr = unchecked((uint)10),
+ VocalMorpherPhonemeIh = unchecked((uint)11),
+ VocalMorpherPhonemeIy = unchecked((uint)12),
+ VocalMorpherPhonemeUh = unchecked((uint)13),
+ VocalMorpherPhonemeUw = unchecked((uint)14),
+ VocalMorpherPhonemeB = unchecked((uint)15),
+ VocalMorpherPhonemeD = unchecked((uint)16),
+ VocalMorpherPhonemeF = unchecked((uint)17),
+ VocalMorpherPhonemeG = unchecked((uint)18),
+ VocalMorpherPhonemeJ = unchecked((uint)19),
+ VocalMorpherPhonemeK = unchecked((uint)20),
+ VocalMorpherPhonemeL = unchecked((uint)21),
+ VocalMorpherPhonemeM = unchecked((uint)22),
+ VocalMorpherPhonemeN = unchecked((uint)23),
+ VocalMorpherPhonemeP = unchecked((uint)24),
+ VocalMorpherPhonemeR = unchecked((uint)25),
+ VocalMorpherPhonemeS = unchecked((uint)26),
+ VocalMorpherPhonemeT = unchecked((uint)27),
+ VocalMorpherPhonemeV = unchecked((uint)28),
+ VocalMorpherPhonemeZ = unchecked((uint)29),
+ VocalMorpherWaveformSinusoid = unchecked((uint)0),
+ VocalMorpherWaveformTriangle = unchecked((uint)1),
+ VocalMorpherWaveformSawtooth = unchecked((uint)2),
+ VocalMorpherMinWaveform = unchecked((uint)0),
+ VocalMorpherMaxWaveform = unchecked((uint)2),
+ VocalMorpherDefaultWaveform = unchecked((uint)0),
+ VocalMorpherMinRate = unchecked((uint)0.0f),
+ VocalMorpherMaxRate = unchecked((uint)10.0f),
+ VocalMorpherDefaultRate = unchecked((uint)1.41f),
+ PitchShifterMinCoarseTune = unchecked((uint)-12),
+ PitchShifterMaxCoarseTune = unchecked((uint)12),
+ PitchShifterDefaultCoarseTune = unchecked((uint)12),
+ PitchShifterMinFineTune = unchecked((uint)-50),
+ PitchShifterMaxFineTune = unchecked((uint)50),
+ PitchShifterDefaultFineTune = unchecked((uint)0),
+ RingModulatorMinFrequency = unchecked((uint)0.0f),
+ RingModulatorMaxFrequency = unchecked((uint)8000.0f),
+ RingModulatorDefaultFrequency = unchecked((uint)440.0f),
+ RingModulatorMinHighpassCutoff = unchecked((uint)0.0f),
+ RingModulatorMaxHighpassCutoff = unchecked((uint)24000.0f),
+ RingModulatorDefaultHighpassCutoff = unchecked((uint)800.0f),
+ RingModulatorSinusoid = unchecked((uint)0),
+ RingModulatorSawtooth = unchecked((uint)1),
+ RingModulatorSquare = unchecked((uint)2),
+ RingModulatorMinWaveform = unchecked((uint)0),
+ RingModulatorMaxWaveform = unchecked((uint)2),
+ RingModulatorDefaultWaveform = unchecked((uint)0),
+ AutowahMinAttackTime = unchecked((uint)0.0001f),
+ AutowahMaxAttackTime = unchecked((uint)1.0f),
+ AutowahDefaultAttackTime = unchecked((uint)0.06f),
+ AutowahMinReleaseTime = unchecked((uint)0.0001f),
+ AutowahMaxReleaseTime = unchecked((uint)1.0f),
+ AutowahDefaultReleaseTime = unchecked((uint)0.06f),
+ AutowahMinResonance = unchecked((uint)2.0f),
+ AutowahMaxResonance = unchecked((uint)1000.0f),
+ AutowahDefaultResonance = unchecked((uint)1000.0f),
+ AutowahMinPeakGain = unchecked((uint)0.00003f),
+ AutowahMaxPeakGain = unchecked((uint)31621.0f),
+ AutowahDefaultPeakGain = unchecked((uint)11.22f),
+ CompressorMinOnoff = unchecked((uint)0),
+ CompressorMaxOnoff = unchecked((uint)1),
+ CompressorDefaultOnoff = unchecked((uint)1),
+ EqualizerMinLowGain = unchecked((uint)0.126f),
+ EqualizerMaxLowGain = unchecked((uint)7.943f),
+ EqualizerDefaultLowGain = unchecked((uint)1.0f),
+ EqualizerMinLowCutoff = unchecked((uint)50.0f),
+ EqualizerMaxLowCutoff = unchecked((uint)800.0f),
+ EqualizerDefaultLowCutoff = unchecked((uint)200.0f),
+ EqualizerMinMid1Gain = unchecked((uint)0.126f),
+ EqualizerMaxMid1Gain = unchecked((uint)7.943f),
+ EqualizerDefaultMid1Gain = unchecked((uint)1.0f),
+ EqualizerMinMid1Center = unchecked((uint)200.0f),
+ EqualizerMaxMid1Center = unchecked((uint)3000.0f),
+ EqualizerDefaultMid1Center = unchecked((uint)500.0f),
+ EqualizerMinMid1Width = unchecked((uint)0.01f),
+ EqualizerMaxMid1Width = unchecked((uint)1.0f),
+ EqualizerDefaultMid1Width = unchecked((uint)1.0f),
+ EqualizerMinMid2Gain = unchecked((uint)0.126f),
+ EqualizerMaxMid2Gain = unchecked((uint)7.943f),
+ EqualizerDefaultMid2Gain = unchecked((uint)1.0f),
+ EqualizerMinMid2Center = unchecked((uint)1000.0f),
+ EqualizerMaxMid2Center = unchecked((uint)8000.0f),
+ EqualizerDefaultMid2Center = unchecked((uint)3000.0f),
+ EqualizerMinMid2Width = unchecked((uint)0.01f),
+ EqualizerMaxMid2Width = unchecked((uint)1.0f),
+ EqualizerDefaultMid2Width = unchecked((uint)1.0f),
+ EqualizerMinHighGain = unchecked((uint)0.126f),
+ EqualizerMaxHighGain = unchecked((uint)7.943f),
+ EqualizerDefaultHighGain = unchecked((uint)1.0f),
+ EqualizerMinHighCutoff = unchecked((uint)4000.0f),
+ EqualizerMaxHighCutoff = unchecked((uint)16000.0f),
+ EqualizerDefaultHighCutoff = unchecked((uint)6000.0f),
+ MinAirAbsorptionFactor = unchecked((uint)0.0f),
+ MaxAirAbsorptionFactor = unchecked((uint)10.0f),
+ DefaultAirAbsorptionFactor = unchecked((uint)0.0f),
+ MinRoomRolloffFactor = unchecked((uint)0.0f),
+ MaxRoomRolloffFactor = unchecked((uint)10.0f),
+ DefaultRoomRolloffFactor = unchecked((uint)0.0f),
+ MinConeOuterGainhf = unchecked((uint)0.0f),
+ MaxConeOuterGainhf = unchecked((uint)1.0f),
+ DefaultConeOuterGainhf = unchecked((uint)1.0f),
+ MinDirectFilterGainhfAuto = unchecked((uint)0),
+ MaxDirectFilterGainhfAuto = unchecked((uint)1),
+ DefaultDirectFilterGainhfAuto = unchecked((uint)1),
+ MinAuxiliarySendFilterGainAuto = unchecked((uint)0),
+ MaxAuxiliarySendFilterGainAuto = unchecked((uint)1),
+ DefaultAuxiliarySendFilterGainAuto = unchecked((uint)1),
+ MinAuxiliarySendFilterGainhfAuto = unchecked((uint)0),
+ MaxAuxiliarySendFilterGainhfAuto = unchecked((uint)1),
+ DefaultAuxiliarySendFilterGainhfAuto = unchecked((uint)1),
+ MinMetersPerUnit = unchecked((uint)1.17549435e-38F),
+ MaxMetersPerUnit = unchecked((uint)3.40282347e+38F),
+ DefaultMetersPerUnit = unchecked((uint)1.0f),
+ SourceDistanceModel = unchecked((uint)0x200),
+ ByteRwOffsetsSOFT = unchecked((uint)0x1031),
+ SampleRwOffsetsSOFT = unchecked((uint)0x1032),
+ LoopPointsSOFT = unchecked((uint)0x2015),
+ FoldbackEventBlock = unchecked((uint)0x4112),
+ FoldbackEventStart = unchecked((uint)0x4111),
+ FoldbackEventStop = unchecked((uint)0x4113),
+ FoldbackModeMono = unchecked((uint)0x4101),
+ FoldbackModeStereo = unchecked((uint)0x4102),
+ DedicatedGain = unchecked((uint)0x0001),
+ EffectDedicatedDialogue = unchecked((uint)0x9001),
+ EffectDedicatedLowFrequencyEffect = unchecked((uint)0x9000),
+ MonoSOFT = unchecked((uint)0x1500),
+ StereoSOFT = unchecked((uint)0x1501),
+ RearSOFT = unchecked((uint)0x1502),
+ QuadSOFT = unchecked((uint)0x1503),
+ X5Point1Soft = unchecked((uint)0x1504),
+ X6Point1Soft = unchecked((uint)0x1505),
+ X7Point1Soft = unchecked((uint)0x1506),
+ ByteSOFT = unchecked((uint)0x1400),
+ UnsignedByteSOFT = unchecked((uint)0x1401),
+ ShortSOFT = unchecked((uint)0x1402),
+ UnsignedShortSOFT = unchecked((uint)0x1403),
+ IntSOFT = unchecked((uint)0x1404),
+ UnsignedIntSOFT = unchecked((uint)0x1405),
+ FloatSOFT = unchecked((uint)0x1406),
+ DoubleSOFT = unchecked((uint)0x1407),
+ Byte3Soft = unchecked((uint)0x1408),
+ UnsignedByte3SOFT = unchecked((uint)0x1409),
+ Mono8Soft = unchecked((uint)0x1100),
+ Mono16Soft = unchecked((uint)0x1101),
+ Mono32FSOFT = unchecked((uint)0x10010),
+ Stereo8Soft = unchecked((uint)0x1102),
+ Stereo16Soft = unchecked((uint)0x1103),
+ Stereo32FSOFT = unchecked((uint)0x10011),
+ Quad8Soft = unchecked((uint)0x1204),
+ Quad16Soft = unchecked((uint)0x1205),
+ Quad32FSOFT = unchecked((uint)0x1206),
+ Rear8Soft = unchecked((uint)0x1207),
+ Rear16Soft = unchecked((uint)0x1208),
+ Rear32FSOFT = unchecked((uint)0x1209),
+ X5Point1X8Soft = unchecked((uint)0x120A),
+ X5Point1X16Soft = unchecked((uint)0x120B),
+ X5Point1X32FSOFT = unchecked((uint)0x120C),
+ X6Point1X8Soft = unchecked((uint)0x120D),
+ X6Point1X16Soft = unchecked((uint)0x120E),
+ X6Point1X32FSOFT = unchecked((uint)0x120F),
+ X7Point1X8Soft = unchecked((uint)0x1210),
+ X7Point1X16Soft = unchecked((uint)0x1211),
+ X7Point1X32FSOFT = unchecked((uint)0x1212),
+ InternalFormatSOFT = unchecked((uint)0x2008),
+ ByteLengthSOFT = unchecked((uint)0x2009),
+ SampleLengthSOFT = unchecked((uint)0x200A),
+ SecLengthSOFT = unchecked((uint)0x200B),
+ DirectChannelsSOFT = unchecked((uint)0x1033),
+ StereoAngles = unchecked((uint)0x1030),
+ SourceRadius = unchecked((uint)0x1031),
+ SampleOffsetLatencySOFT = unchecked((uint)0x1200),
+ SecOffsetLatencySOFT = unchecked((uint)0x1201),
+ DeferredUpdatesSOFT = unchecked((uint)0xC002),
+ UnpackBlockAlignmentSOFT = unchecked((uint)0x200C),
+ PackBlockAlignmentSOFT = unchecked((uint)0x200D),
+ FormatMonoMsadpcmSOFT = unchecked((uint)0x1302),
+ FormatStereoMsadpcmSOFT = unchecked((uint)0x1303),
+ FormatBformat2D8 = unchecked((uint)0x20021),
+ FormatBformat2D16 = unchecked((uint)0x20022),
+ FormatBformat2DFloat32 = unchecked((uint)0x20023),
+ FormatBformat3D8 = unchecked((uint)0x20031),
+ FormatBformat3D16 = unchecked((uint)0x20032),
+ FormatBformat3DFloat32 = unchecked((uint)0x20033),
+ FormatBformat2DMulaw = unchecked((uint)0x10031),
+ FormatBformat3DMulaw = unchecked((uint)0x10032),
+ GainLimitSOFT = unchecked((uint)0x200E),
+ NumResamplersSOFT = unchecked((uint)0x1210),
+ DefaultResamplerSOFT = unchecked((uint)0x1211),
+ SourceResamplerSOFT = unchecked((uint)0x1212),
+ ResamplerNameSOFT = unchecked((uint)0x1213),
+ SourceSpatializeSOFT = unchecked((uint)0x1214),
+ AutoSOFT = unchecked((uint)0x0002),
+ SampleOffsetClockSOFT = unchecked((uint)0x1202),
+ SecOffsetClockSOFT = unchecked((uint)0x1203),
+ DropUnmatchedSOFT = unchecked((uint)0x0001),
+ RemixUnmatchedSOFT = unchecked((uint)0x0002),
+ AmbisonicLayoutSOFT = unchecked((uint)0x1997),
+ AmbisonicScalingSOFT = unchecked((uint)0x1998),
+ FumaSOFT = unchecked((uint)0x0000),
+ AcnSOFT = unchecked((uint)0x0001),
+ Sn3DSOFT = unchecked((uint)0x0001),
+ N3DSoft = unchecked((uint)0x0002),
+ EffectslotTargetSOFT = unchecked((uint)0x199C),
+ EventCallbackFunctionSOFT = unchecked((uint)0x19A2),
+ EventCallbackUserParamSOFT = unchecked((uint)0x19A3),
+ EventTypeBufferCompletedSOFT = unchecked((uint)0x19A4),
+ EventTypeSourceStateChangedSOFT = unchecked((uint)0x19A5),
+ EventTypeDisconnectedSOFT = unchecked((uint)0x19A6),
+ BufferCallbackFunctionSOFT = unchecked((uint)0x19A0),
+ BufferCallbackUserParamSOFT = unchecked((uint)0x19A1),
+ FormatUhj2Chn8SOFT = unchecked((uint)0x19A2),
+ FormatUhj2Chn16SOFT = unchecked((uint)0x19A3),
+ FormatUhj2ChnFloat32SOFT = unchecked((uint)0x19A4),
+ FormatUhj3Chn8SOFT = unchecked((uint)0x19A5),
+ FormatUhj3Chn16SOFT = unchecked((uint)0x19A6),
+ FormatUhj3ChnFloat32SOFT = unchecked((uint)0x19A7),
+ FormatUhj4Chn8SOFT = unchecked((uint)0x19A8),
+ FormatUhj4Chn16SOFT = unchecked((uint)0x19A9),
+ FormatUhj4ChnFloat32SOFT = unchecked((uint)0x19AA),
+ StereoModeSOFT = unchecked((uint)0x19B0),
+ NormalSOFT = unchecked((uint)0x0000),
+ SuperStereoSOFT = unchecked((uint)0x0001),
+ SuperStereoWidthSOFT = unchecked((uint)0x19B1),
+ FormatUhj2ChnMulawSOFT = unchecked((uint)0x19B3),
+ FormatUhj2ChnAlawSOFT = unchecked((uint)0x19B4),
+ FormatUhj2ChnIma4SOFT = unchecked((uint)0x19B5),
+ FormatUhj2ChnMsadpcmSOFT = unchecked((uint)0x19B6),
+ FormatUhj3ChnMulawSOFT = unchecked((uint)0x19B7),
+ FormatUhj3ChnAlawSOFT = unchecked((uint)0x19B8),
+ FormatUhj4ChnMulawSOFT = unchecked((uint)0x19B9),
+ FormatUhj4ChnAlawSOFT = unchecked((uint)0x19BA),
+ DontCareEXT = unchecked((uint)0x0002),
+ DebugOutputEXT = unchecked((uint)0x19B2),
+ DebugCallbackFunctionEXT = unchecked((uint)0x19B3),
+ DebugCallbackUserParamEXT = unchecked((uint)0x19B4),
+ DebugSourceApiEXT = unchecked((uint)0x19B5),
+ DebugSourceAudioSystemEXT = unchecked((uint)0x19B6),
+ DebugSourceThirdPartyEXT = unchecked((uint)0x19B7),
+ DebugSourceApplicationEXT = unchecked((uint)0x19B8),
+ DebugSourceOtherEXT = unchecked((uint)0x19B9),
+ DebugTypeErrorEXT = unchecked((uint)0x19BA),
+ DebugTypeDeprecatedBehaviorEXT = unchecked((uint)0x19BB),
+ DebugTypeUndefinedBehaviorEXT = unchecked((uint)0x19BC),
+ DebugTypePortabilityEXT = unchecked((uint)0x19BD),
+ DebugTypePerformanceEXT = unchecked((uint)0x19BE),
+ DebugTypeMarkerEXT = unchecked((uint)0x19BF),
+ DebugTypePushGroupEXT = unchecked((uint)0x19C0),
+ DebugTypePopGroupEXT = unchecked((uint)0x19C1),
+ DebugTypeOtherEXT = unchecked((uint)0x19C2),
+ DebugSeverityHighEXT = unchecked((uint)0x19C3),
+ DebugSeverityMediumEXT = unchecked((uint)0x19C4),
+ DebugSeverityLowEXT = unchecked((uint)0x19C5),
+ DebugSeverityNotificationEXT = unchecked((uint)0x19C6),
+ DebugLoggedMessagesEXT = unchecked((uint)0x19C7),
+ DebugNextLoggedMessageLengthEXT = unchecked((uint)0x19C8),
+ MaxDebugMessageLengthEXT = unchecked((uint)0x19C9),
+ MaxDebugLoggedMessagesEXT = unchecked((uint)0x19CA),
+ MaxDebugGroupStackDepthEXT = unchecked((uint)0x19CB),
+ MaxLabelLengthEXT = unchecked((uint)0x19CC),
+ StackOverflowEXT = unchecked((uint)0x19CD),
+ StackUnderflowEXT = unchecked((uint)0x19CE),
+ ContextFlagsEXT = unchecked((uint)0x19CF),
+ BufferEXT = unchecked((uint)0x1009),
+ SourceEXT = unchecked((uint)0x19D0),
+ FilterEXT = unchecked((uint)0x19D1),
+ EffectEXT = unchecked((uint)0x19D2),
+ AuxiliaryEffectSlotEXT = unchecked((uint)0x19D3),
+ UnpackAmbisonicOrderSOFT = unchecked((uint)0x199D),
+ CDefaultFilterOrder = unchecked((uint)0x1100),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/AmbisonicLayoutSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/AmbisonicLayoutSOFT.gen.cs
new file mode 100644
index 0000000000..949bd67b9b
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/AmbisonicLayoutSOFT.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum AmbisonicLayoutSOFT : uint
+{
+ Fuma = unchecked((uint)0x0000),
+ Acn = unchecked((uint)0x0001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/AmbisonicScalingSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/AmbisonicScalingSOFT.gen.cs
new file mode 100644
index 0000000000..96efa00bf5
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/AmbisonicScalingSOFT.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum AmbisonicScalingSOFT : uint
+{
+ Fuma = unchecked((uint)0x0000),
+ Sn3D = unchecked((uint)0x0001),
+ N3D = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/AudioChannelLOKI.gen.cs b/sources/OpenAL/OpenAL/Enums/AudioChannelLOKI.gen.cs
new file mode 100644
index 0000000000..300083ccca
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/AudioChannelLOKI.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum AudioChannelLOKI : uint
+{
+ Main = unchecked((uint)0x500001),
+ Pcm = unchecked((uint)0x500002),
+ Cd = unchecked((uint)0x500003),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotFloat.gen.cs b/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotFloat.gen.cs
new file mode 100644
index 0000000000..1319d76951
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotFloat.gen.cs
@@ -0,0 +1,17 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum AuxiliaryEffectSlotFloat : uint
+{
+ EffectslotGain = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotInteger.gen.cs b/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotInteger.gen.cs
new file mode 100644
index 0000000000..ce906049e4
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotInteger.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum AuxiliaryEffectSlotInteger : uint
+{
+ Effect = unchecked((uint)0x0001),
+ AuxiliarySendAuto = unchecked((uint)0x0003),
+ TargetSOFT = unchecked((uint)0x199C),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotPName.gen.cs b/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotPName.gen.cs
new file mode 100644
index 0000000000..eda8bb2f50
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/AuxiliaryEffectSlotPName.gen.cs
@@ -0,0 +1,20 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum AuxiliaryEffectSlotPName : uint
+{
+ Effect = unchecked((uint)0x0001),
+ Gain = unchecked((uint)0x0002),
+ AuxiliarySendAuto = unchecked((uint)0x0003),
+ TargetSOFT = unchecked((uint)0x199C),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/Boolean.gen.cs b/sources/OpenAL/OpenAL/Enums/Boolean.gen.cs
new file mode 100644
index 0000000000..04a9f2551b
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/Boolean.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum Boolean : uint
+{
+ False = unchecked((uint)0),
+ True = unchecked((uint)1),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/BooleanPName.gen.cs b/sources/OpenAL/OpenAL/Enums/BooleanPName.gen.cs
new file mode 100644
index 0000000000..ba436a6624
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/BooleanPName.gen.cs
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum BooleanPName : uint
+{
+ DeferredUpdatesSOFT = unchecked((uint)0xC002),
+ DebugLoggedMessagesEXT = unchecked((uint)0x19C7),
+ DebugNextLoggedMessageLengthEXT = unchecked((uint)0x19C8),
+ MaxDebugMessageLengthEXT = unchecked((uint)0x19C9),
+ MaxDebugLoggedMessagesEXT = unchecked((uint)0x19CA),
+ MaxDebugGroupStackDepthEXT = unchecked((uint)0x19CB),
+ MaxLabelLengthEXT = unchecked((uint)0x19CC),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/BufferChannelsSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/BufferChannelsSOFT.gen.cs
new file mode 100644
index 0000000000..1da1d44e68
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/BufferChannelsSOFT.gen.cs
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum BufferChannelsSOFT : uint
+{
+ Mono = unchecked((uint)0x1500),
+ Stereo = unchecked((uint)0x1501),
+ Rear = unchecked((uint)0x1502),
+ Quad = unchecked((uint)0x1503),
+ X5Point1 = unchecked((uint)0x1504),
+ X6Point1 = unchecked((uint)0x1505),
+ X7Point1 = unchecked((uint)0x1506),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/BufferFloat.gen.cs b/sources/OpenAL/OpenAL/Enums/BufferFloat.gen.cs
new file mode 100644
index 0000000000..ecb084987c
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/BufferFloat.gen.cs
@@ -0,0 +1,17 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum BufferFloat : uint
+{
+ SecLengthSOFT = unchecked((uint)0x200B),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/BufferInteger.gen.cs b/sources/OpenAL/OpenAL/Enums/BufferInteger.gen.cs
new file mode 100644
index 0000000000..14279db37a
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/BufferInteger.gen.cs
@@ -0,0 +1,29 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum BufferInteger : uint
+{
+ Frequency = unchecked((uint)0x2001),
+ Size = unchecked((uint)0x2004),
+ Bits = unchecked((uint)0x2002),
+ Channels = unchecked((uint)0x2003),
+ LoopPointsSOFT = unchecked((uint)0x2015),
+ InternalFormatSOFT = unchecked((uint)0x2008),
+ ByteLengthSOFT = unchecked((uint)0x2009),
+ SampleLengthSOFT = unchecked((uint)0x200A),
+ UnpackBlockAlignmentSOFT = unchecked((uint)0x200C),
+ PackBlockAlignmentSOFT = unchecked((uint)0x200D),
+ AmbisonicLayoutSOFT = unchecked((uint)0x1997),
+ AmbisonicScalingSOFT = unchecked((uint)0x1998),
+ UnpackAmbisonicOrderSOFT = unchecked((uint)0x199D),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/BufferPName.gen.cs b/sources/OpenAL/OpenAL/Enums/BufferPName.gen.cs
new file mode 100644
index 0000000000..d1300a1ea2
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/BufferPName.gen.cs
@@ -0,0 +1,32 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum BufferPName : uint
+{
+ Frequency = unchecked((uint)0x2001),
+ Size = unchecked((uint)0x2004),
+ Bits = unchecked((uint)0x2002),
+ Channels = unchecked((uint)0x2003),
+ LoopPointsSOFT = unchecked((uint)0x2015),
+ InternalFormatSOFT = unchecked((uint)0x2008),
+ ByteLengthSOFT = unchecked((uint)0x2009),
+ SampleLengthSOFT = unchecked((uint)0x200A),
+ SecLengthSOFT = unchecked((uint)0x200B),
+ UnpackBlockAlignmentSOFT = unchecked((uint)0x200C),
+ PackBlockAlignmentSOFT = unchecked((uint)0x200D),
+ AmbisonicLayoutSOFT = unchecked((uint)0x1997),
+ AmbisonicScalingSOFT = unchecked((uint)0x1998),
+ BufferCallbackFunctionSOFT = unchecked((uint)0x19A0),
+ BufferCallbackUserParamSOFT = unchecked((uint)0x19A1),
+ UnpackAmbisonicOrderSOFT = unchecked((uint)0x199D),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/BufferPointerSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/BufferPointerSOFT.gen.cs
new file mode 100644
index 0000000000..8a384bbaf0
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/BufferPointerSOFT.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum BufferPointerSOFT : uint
+{
+ Function = unchecked((uint)0x19A0),
+ UserParam = unchecked((uint)0x19A1),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/BufferState.gen.cs b/sources/OpenAL/OpenAL/Enums/BufferState.gen.cs
new file mode 100644
index 0000000000..f6077b5dea
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/BufferState.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum BufferState : uint
+{
+ Unused = unchecked((uint)0x2010),
+ Pending = unchecked((uint)0x2011),
+ Processed = unchecked((uint)0x2012),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ChorusWaveform.gen.cs b/sources/OpenAL/OpenAL/Enums/ChorusWaveform.gen.cs
new file mode 100644
index 0000000000..1049bf95e8
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ChorusWaveform.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ChorusWaveform : uint
+{
+ Sinusoid = unchecked((uint)0),
+ Triangle = unchecked((uint)1),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextAmbisonicLayoutSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextAmbisonicLayoutSOFT.gen.cs
new file mode 100644
index 0000000000..4254f2278b
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextAmbisonicLayoutSOFT.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextAmbisonicLayoutSOFT : uint
+{
+ Fuma = unchecked((uint)0x0000),
+ Acn = unchecked((uint)0x0001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextAmbisonicScalingSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextAmbisonicScalingSOFT.gen.cs
new file mode 100644
index 0000000000..7570948b9d
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextAmbisonicScalingSOFT.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextAmbisonicScalingSOFT : uint
+{
+ Fuma = unchecked((uint)0x0000),
+ Sn3D = unchecked((uint)0x0001),
+ N3D = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextAttribute.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextAttribute.gen.cs
new file mode 100644
index 0000000000..d5baaa6379
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextAttribute.gen.cs
@@ -0,0 +1,31 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextAttribute : uint
+{
+ Frequency = unchecked((uint)0x1007),
+ Refresh = unchecked((uint)0x1008),
+ Sync = unchecked((uint)0x1009),
+ MonoSources = unchecked((uint)0x1010),
+ StereoSources = unchecked((uint)0x1011),
+ FormatChannelsSOFT = unchecked((uint)0x1990),
+ FormatTypeSOFT = unchecked((uint)0x1991),
+ DefaultFilterOrder = unchecked((uint)0x1100),
+ HrtfSOFT = unchecked((uint)0x1992),
+ HrtfIdSOFT = unchecked((uint)0x1996),
+ OutputLimiterSOFT = unchecked((uint)0x199A),
+ AmbisonicLayoutSOFT = unchecked((uint)0x1997),
+ AmbisonicScalingSOFT = unchecked((uint)0x1998),
+ AmbisonicOrderSOFT = unchecked((uint)0x1999),
+ OutputModeSOFT = unchecked((uint)0x19AC),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextBoolean.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextBoolean.gen.cs
new file mode 100644
index 0000000000..4ce82b8f2b
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextBoolean.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextBoolean : uint
+{
+ Sync = unchecked((uint)0x1009),
+ Connected = unchecked((uint)0x313),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextFlagsEXT.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextFlagsEXT.gen.cs
new file mode 100644
index 0000000000..ea6ddb8d08
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextFlagsEXT.gen.cs
@@ -0,0 +1,17 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextFlagsEXT : uint
+{
+ ContextDebugBit = unchecked((uint)0x0001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextInteger.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextInteger.gen.cs
new file mode 100644
index 0000000000..948d8587cf
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextInteger.gen.cs
@@ -0,0 +1,36 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextInteger : uint
+{
+ Frequency = unchecked((uint)0x1007),
+ Refresh = unchecked((uint)0x1008),
+ MajorVersion = unchecked((uint)0x1000),
+ MinorVersion = unchecked((uint)0x1001),
+ AttributesSize = unchecked((uint)0x1002),
+ AllAttributes = unchecked((uint)0x1003),
+ MonoSources = unchecked((uint)0x1010),
+ StereoSources = unchecked((uint)0x1011),
+ CaptureSamples = unchecked((uint)0x312),
+ DefaultFilterOrder = unchecked((uint)0x1100),
+ HrtfSOFT = unchecked((uint)0x1992),
+ HrtfStatusSOFT = unchecked((uint)0x1993),
+ NumHrtfSpecifiersSOFT = unchecked((uint)0x1994),
+ OutputLimiterSOFT = unchecked((uint)0x199A),
+ DeviceClockSOFT = unchecked((uint)0x1600),
+ DeviceLatencySOFT = unchecked((uint)0x1601),
+ DeviceClockLatencySOFT = unchecked((uint)0x1602),
+ MaxAmbisonicOrderSOFT = unchecked((uint)0x199B),
+ OutputModeSOFT = unchecked((uint)0x19AC),
+ ContextFlagsEXT = unchecked((uint)0x19CF),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextPName.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextPName.gen.cs
new file mode 100644
index 0000000000..a7c015fffc
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextPName.gen.cs
@@ -0,0 +1,46 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextPName : uint
+{
+ Frequency = unchecked((uint)0x1007),
+ Refresh = unchecked((uint)0x1008),
+ Sync = unchecked((uint)0x1009),
+ MajorVersion = unchecked((uint)0x1000),
+ MinorVersion = unchecked((uint)0x1001),
+ AttributesSize = unchecked((uint)0x1002),
+ AllAttributes = unchecked((uint)0x1003),
+ DefaultDeviceSpecifier = unchecked((uint)0x1004),
+ DeviceSpecifier = unchecked((uint)0x1005),
+ Extensions = unchecked((uint)0x1006),
+ MonoSources = unchecked((uint)0x1010),
+ StereoSources = unchecked((uint)0x1011),
+ CaptureDeviceSpecifier = unchecked((uint)0x310),
+ CaptureDefaultDeviceSpecifier = unchecked((uint)0x311),
+ CaptureSamples = unchecked((uint)0x312),
+ DefaultAllDevicesSpecifier = unchecked((uint)0x1012),
+ AllDevicesSpecifier = unchecked((uint)0x1013),
+ Connected = unchecked((uint)0x313),
+ DefaultFilterOrder = unchecked((uint)0x1100),
+ HrtfSOFT = unchecked((uint)0x1992),
+ HrtfStatusSOFT = unchecked((uint)0x1993),
+ NumHrtfSpecifiersSOFT = unchecked((uint)0x1994),
+ HrtfSpecifierSOFT = unchecked((uint)0x1995),
+ OutputLimiterSOFT = unchecked((uint)0x199A),
+ DeviceClockSOFT = unchecked((uint)0x1600),
+ DeviceLatencySOFT = unchecked((uint)0x1601),
+ DeviceClockLatencySOFT = unchecked((uint)0x1602),
+ MaxAmbisonicOrderSOFT = unchecked((uint)0x199B),
+ OutputModeSOFT = unchecked((uint)0x19AC),
+ ContextFlagsEXT = unchecked((uint)0x19CF),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextRequest.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextRequest.gen.cs
new file mode 100644
index 0000000000..725589746f
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextRequest.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextRequest : uint
+{
+ False = unchecked((uint)0),
+ True = unchecked((uint)1),
+ DontCareSOFT = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ContextString.gen.cs b/sources/OpenAL/OpenAL/Enums/ContextString.gen.cs
new file mode 100644
index 0000000000..596542e77a
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ContextString.gen.cs
@@ -0,0 +1,24 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ContextString : uint
+{
+ DefaultDeviceSpecifier = unchecked((uint)0x1004),
+ DeviceSpecifier = unchecked((uint)0x1005),
+ Extensions = unchecked((uint)0x1006),
+ CaptureDeviceSpecifier = unchecked((uint)0x310),
+ CaptureDefaultDeviceSpecifier = unchecked((uint)0x311),
+ DefaultAllDevicesSpecifier = unchecked((uint)0x1012),
+ AllDevicesSpecifier = unchecked((uint)0x1013),
+ HrtfSpecifierSOFT = unchecked((uint)0x1995),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/DebugSeverityEXT.gen.cs b/sources/OpenAL/OpenAL/Enums/DebugSeverityEXT.gen.cs
new file mode 100644
index 0000000000..b697c783db
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/DebugSeverityEXT.gen.cs
@@ -0,0 +1,21 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum DebugSeverityEXT : uint
+{
+ DontCare = unchecked((uint)0x0002),
+ DebugSeverityHigh = unchecked((uint)0x19C3),
+ DebugSeverityMedium = unchecked((uint)0x19C4),
+ DebugSeverityLow = unchecked((uint)0x19C5),
+ DebugSeverityNotification = unchecked((uint)0x19C6),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/DebugSourceEXT.gen.cs b/sources/OpenAL/OpenAL/Enums/DebugSourceEXT.gen.cs
new file mode 100644
index 0000000000..d2f4776d37
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/DebugSourceEXT.gen.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum DebugSourceEXT : uint
+{
+ DontCare = unchecked((uint)0x0002),
+ DebugSourceApi = unchecked((uint)0x19B5),
+ DebugSourceAudioSystem = unchecked((uint)0x19B6),
+ DebugSourceThirdParty = unchecked((uint)0x19B7),
+ DebugSourceApplication = unchecked((uint)0x19B8),
+ DebugSourceOther = unchecked((uint)0x19B9),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/DebugTypeEXT.gen.cs b/sources/OpenAL/OpenAL/Enums/DebugTypeEXT.gen.cs
new file mode 100644
index 0000000000..e22400c280
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/DebugTypeEXT.gen.cs
@@ -0,0 +1,26 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum DebugTypeEXT : uint
+{
+ DontCare = unchecked((uint)0x0002),
+ DebugTypeError = unchecked((uint)0x19BA),
+ DebugTypeDeprecatedBehavior = unchecked((uint)0x19BB),
+ DebugTypeUndefinedBehavior = unchecked((uint)0x19BC),
+ DebugTypePortability = unchecked((uint)0x19BD),
+ DebugTypePerformance = unchecked((uint)0x19BE),
+ DebugTypeMarker = unchecked((uint)0x19BF),
+ DebugTypePushGroup = unchecked((uint)0x19C0),
+ DebugTypePopGroup = unchecked((uint)0x19C1),
+ DebugTypeOther = unchecked((uint)0x19C2),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/DeviceTypeSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/DeviceTypeSOFT.gen.cs
new file mode 100644
index 0000000000..e7f44b8223
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/DeviceTypeSOFT.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum DeviceTypeSOFT : uint
+{
+ PlaybackDevice = unchecked((uint)0x19D4),
+ CaptureDevice = unchecked((uint)0x19D5),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/DirectChannels.gen.cs b/sources/OpenAL/OpenAL/Enums/DirectChannels.gen.cs
new file mode 100644
index 0000000000..a7916b62b2
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/DirectChannels.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum DirectChannels : uint
+{
+ False = unchecked((uint)0),
+ DropUnmatchedSOFT = unchecked((uint)0x0001),
+ RemixUnmatchedSOFT = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/DistanceModel.gen.cs b/sources/OpenAL/OpenAL/Enums/DistanceModel.gen.cs
new file mode 100644
index 0000000000..22b3c4b7cc
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/DistanceModel.gen.cs
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum DistanceModel : uint
+{
+ None = unchecked((uint)0),
+ InverseDistance = unchecked((uint)0xD001),
+ InverseDistanceClamped = unchecked((uint)0xD002),
+ LinearDistance = unchecked((uint)0xD003),
+ LinearDistanceClamped = unchecked((uint)0xD004),
+ ExponentDistance = unchecked((uint)0xD005),
+ ExponentDistanceClamped = unchecked((uint)0xD006),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/DoublePName.gen.cs b/sources/OpenAL/OpenAL/Enums/DoublePName.gen.cs
new file mode 100644
index 0000000000..b973e0846a
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/DoublePName.gen.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum DoublePName : uint
+{
+ DebugLoggedMessagesEXT = unchecked((uint)0x19C7),
+ DebugNextLoggedMessageLengthEXT = unchecked((uint)0x19C8),
+ MaxDebugMessageLengthEXT = unchecked((uint)0x19C9),
+ MaxDebugLoggedMessagesEXT = unchecked((uint)0x19CA),
+ MaxDebugGroupStackDepthEXT = unchecked((uint)0x19CB),
+ MaxLabelLengthEXT = unchecked((uint)0x19CC),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectAutowah.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectAutowah.gen.cs
new file mode 100644
index 0000000000..722a69794b
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectAutowah.gen.cs
@@ -0,0 +1,20 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectAutowah : uint
+{
+ AttackTime = unchecked((uint)0x0001),
+ ReleaseTime = unchecked((uint)0x0002),
+ Resonance = unchecked((uint)0x0003),
+ PeakGain = unchecked((uint)0x0004),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectBandPass.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectBandPass.gen.cs
new file mode 100644
index 0000000000..65d06cb0d9
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectBandPass.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectBandPass : uint
+{
+ Gain = unchecked((uint)0x0001),
+ Gainlf = unchecked((uint)0x0002),
+ Gainhf = unchecked((uint)0x0003),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectChorus.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectChorus.gen.cs
new file mode 100644
index 0000000000..8ef28705d7
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectChorus.gen.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectChorus : uint
+{
+ Waveform = unchecked((uint)0x0001),
+ Phase = unchecked((uint)0x0002),
+ Rate = unchecked((uint)0x0003),
+ Depth = unchecked((uint)0x0004),
+ Feedback = unchecked((uint)0x0005),
+ Delay = unchecked((uint)0x0006),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectCompressor.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectCompressor.gen.cs
new file mode 100644
index 0000000000..c940956e24
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectCompressor.gen.cs
@@ -0,0 +1,17 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectCompressor : uint
+{
+ CompressorOnoff = unchecked((uint)0x0001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectDedicatedGain.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectDedicatedGain.gen.cs
new file mode 100644
index 0000000000..4925b33bce
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectDedicatedGain.gen.cs
@@ -0,0 +1,17 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectDedicatedGain : uint
+{
+ DedicatedGain = unchecked((uint)0x0001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectDistortion.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectDistortion.gen.cs
new file mode 100644
index 0000000000..e82e43101d
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectDistortion.gen.cs
@@ -0,0 +1,21 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectDistortion : uint
+{
+ Edge = unchecked((uint)0x0001),
+ Gain = unchecked((uint)0x0002),
+ LowpassCutoff = unchecked((uint)0x0003),
+ Eqcenter = unchecked((uint)0x0004),
+ Eqbandwidth = unchecked((uint)0x0005),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectEAXReverb.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectEAXReverb.gen.cs
new file mode 100644
index 0000000000..c780198902
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectEAXReverb.gen.cs
@@ -0,0 +1,39 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectEAXReverb : uint
+{
+ Density = unchecked((uint)0x0001),
+ Diffusion = unchecked((uint)0x0002),
+ Gain = unchecked((uint)0x0003),
+ Gainhf = unchecked((uint)0x0004),
+ Gainlf = unchecked((uint)0x0005),
+ DecayTime = unchecked((uint)0x0006),
+ DecayHfratio = unchecked((uint)0x0007),
+ DecayLfratio = unchecked((uint)0x0008),
+ ReflectionsGain = unchecked((uint)0x0009),
+ ReflectionsDelay = unchecked((uint)0x000A),
+ ReflectionsPan = unchecked((uint)0x000B),
+ LateReverbGain = unchecked((uint)0x000C),
+ LateReverbDelay = unchecked((uint)0x000D),
+ LateReverbPan = unchecked((uint)0x000E),
+ EchoTime = unchecked((uint)0x000F),
+ EchoDepth = unchecked((uint)0x0010),
+ ModulationTime = unchecked((uint)0x0011),
+ ModulationDepth = unchecked((uint)0x0012),
+ AirAbsorptionGainhf = unchecked((uint)0x0013),
+ Hfreference = unchecked((uint)0x0014),
+ Lfreference = unchecked((uint)0x0015),
+ RoomRolloffFactor = unchecked((uint)0x0016),
+ DecayHflimit = unchecked((uint)0x0017),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectEcho.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectEcho.gen.cs
new file mode 100644
index 0000000000..4cc9af8b37
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectEcho.gen.cs
@@ -0,0 +1,21 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectEcho : uint
+{
+ Delay = unchecked((uint)0x0001),
+ Lrdelay = unchecked((uint)0x0002),
+ Damping = unchecked((uint)0x0003),
+ Feedback = unchecked((uint)0x0004),
+ Spread = unchecked((uint)0x0005),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectEqualizer.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectEqualizer.gen.cs
new file mode 100644
index 0000000000..cec289b7c7
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectEqualizer.gen.cs
@@ -0,0 +1,26 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectEqualizer : uint
+{
+ LowGain = unchecked((uint)0x0001),
+ LowCutoff = unchecked((uint)0x0002),
+ Mid1Gain = unchecked((uint)0x0003),
+ Mid1Center = unchecked((uint)0x0004),
+ Mid1Width = unchecked((uint)0x0005),
+ Mid2Gain = unchecked((uint)0x0006),
+ Mid2Center = unchecked((uint)0x0007),
+ Mid2Width = unchecked((uint)0x0008),
+ HighGain = unchecked((uint)0x0009),
+ HighCutoff = unchecked((uint)0x000A),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectFlanger.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectFlanger.gen.cs
new file mode 100644
index 0000000000..75758554a3
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectFlanger.gen.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectFlanger : uint
+{
+ Waveform = unchecked((uint)0x0001),
+ Phase = unchecked((uint)0x0002),
+ Rate = unchecked((uint)0x0003),
+ Depth = unchecked((uint)0x0004),
+ Feedback = unchecked((uint)0x0005),
+ Delay = unchecked((uint)0x0006),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectFloat.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectFloat.gen.cs
new file mode 100644
index 0000000000..99307e0300
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectFloat.gen.cs
@@ -0,0 +1,92 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectFloat : uint
+{
+ ReverbDensity = unchecked((uint)0x0001),
+ ReverbDiffusion = unchecked((uint)0x0002),
+ ReverbGain = unchecked((uint)0x0003),
+ ReverbGainhf = unchecked((uint)0x0004),
+ ReverbDecayTime = unchecked((uint)0x0005),
+ ReverbDecayHfratio = unchecked((uint)0x0006),
+ ReverbReflectionsGain = unchecked((uint)0x0007),
+ ReverbReflectionsDelay = unchecked((uint)0x0008),
+ ReverbLateReverbGain = unchecked((uint)0x0009),
+ ReverbLateReverbDelay = unchecked((uint)0x000A),
+ ReverbAirAbsorptionGainhf = unchecked((uint)0x000B),
+ ReverbRoomRolloffFactor = unchecked((uint)0x000C),
+ ReverbDecayHflimit = unchecked((uint)0x000D),
+ EaxreverbDensity = unchecked((uint)0x0001),
+ EaxreverbDiffusion = unchecked((uint)0x0002),
+ EaxreverbGain = unchecked((uint)0x0003),
+ EaxreverbGainhf = unchecked((uint)0x0004),
+ EaxreverbGainlf = unchecked((uint)0x0005),
+ EaxreverbDecayTime = unchecked((uint)0x0006),
+ EaxreverbDecayHfratio = unchecked((uint)0x0007),
+ EaxreverbDecayLfratio = unchecked((uint)0x0008),
+ EaxreverbReflectionsGain = unchecked((uint)0x0009),
+ EaxreverbReflectionsDelay = unchecked((uint)0x000A),
+ EaxreverbReflectionsPan = unchecked((uint)0x000B),
+ EaxreverbLateReverbGain = unchecked((uint)0x000C),
+ EaxreverbLateReverbDelay = unchecked((uint)0x000D),
+ EaxreverbLateReverbPan = unchecked((uint)0x000E),
+ EaxreverbEchoTime = unchecked((uint)0x000F),
+ EaxreverbEchoDepth = unchecked((uint)0x0010),
+ EaxreverbModulationTime = unchecked((uint)0x0011),
+ EaxreverbModulationDepth = unchecked((uint)0x0012),
+ EaxreverbAirAbsorptionGainhf = unchecked((uint)0x0013),
+ EaxreverbHfreference = unchecked((uint)0x0014),
+ EaxreverbLfreference = unchecked((uint)0x0015),
+ EaxreverbRoomRolloffFactor = unchecked((uint)0x0016),
+ ChorusRate = unchecked((uint)0x0003),
+ ChorusDepth = unchecked((uint)0x0004),
+ ChorusFeedback = unchecked((uint)0x0005),
+ ChorusDelay = unchecked((uint)0x0006),
+ DistortionEdge = unchecked((uint)0x0001),
+ DistortionGain = unchecked((uint)0x0002),
+ DistortionLowpassCutoff = unchecked((uint)0x0003),
+ DistortionEqcenter = unchecked((uint)0x0004),
+ DistortionEqbandwidth = unchecked((uint)0x0005),
+ EchoDelay = unchecked((uint)0x0001),
+ EchoLrdelay = unchecked((uint)0x0002),
+ EchoDamping = unchecked((uint)0x0003),
+ EchoFeedback = unchecked((uint)0x0004),
+ EchoSpread = unchecked((uint)0x0005),
+ FlangerWaveform = unchecked((uint)0x0001),
+ FlangerPhase = unchecked((uint)0x0002),
+ FlangerRate = unchecked((uint)0x0003),
+ FlangerDepth = unchecked((uint)0x0004),
+ FlangerFeedback = unchecked((uint)0x0005),
+ FlangerDelay = unchecked((uint)0x0006),
+ FrequencyShifterFrequency = unchecked((uint)0x0001),
+ VocalMorpherRate = unchecked((uint)0x0006),
+ PitchShifterCoarseTune = unchecked((uint)0x0001),
+ PitchShifterFineTune = unchecked((uint)0x0002),
+ RingModulatorFrequency = unchecked((uint)0x0001),
+ RingModulatorHighpassCutoff = unchecked((uint)0x0002),
+ AutowahAttackTime = unchecked((uint)0x0001),
+ AutowahReleaseTime = unchecked((uint)0x0002),
+ AutowahResonance = unchecked((uint)0x0003),
+ AutowahPeakGain = unchecked((uint)0x0004),
+ EqualizerLowGain = unchecked((uint)0x0001),
+ EqualizerLowCutoff = unchecked((uint)0x0002),
+ EqualizerMid1Gain = unchecked((uint)0x0003),
+ EqualizerMid1Center = unchecked((uint)0x0004),
+ EqualizerMid1Width = unchecked((uint)0x0005),
+ EqualizerMid2Gain = unchecked((uint)0x0006),
+ EqualizerMid2Center = unchecked((uint)0x0007),
+ EqualizerMid2Width = unchecked((uint)0x0008),
+ EqualizerHighGain = unchecked((uint)0x0009),
+ EqualizerHighCutoff = unchecked((uint)0x000A),
+ DedicatedGain = unchecked((uint)0x0001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectFrequencyShifter.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectFrequencyShifter.gen.cs
new file mode 100644
index 0000000000..3196766abe
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectFrequencyShifter.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectFrequencyShifter : uint
+{
+ Frequency = unchecked((uint)0x0001),
+ LeftDirection = unchecked((uint)0x0002),
+ RightDirection = unchecked((uint)0x0003),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectInteger.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectInteger.gen.cs
new file mode 100644
index 0000000000..f9394c906c
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectInteger.gen.cs
@@ -0,0 +1,29 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectInteger : uint
+{
+ EaxreverbDecayHflimit = unchecked((uint)0x0017),
+ ChorusWaveform = unchecked((uint)0x0001),
+ ChorusPhase = unchecked((uint)0x0002),
+ FrequencyShifterLeftDirection = unchecked((uint)0x0002),
+ FrequencyShifterRightDirection = unchecked((uint)0x0003),
+ VocalMorpherPhonemea = unchecked((uint)0x0001),
+ VocalMorpherPhonemeaCoarseTuning = unchecked((uint)0x0002),
+ VocalMorpherPhonemeb = unchecked((uint)0x0003),
+ VocalMorpherPhonemebCoarseTuning = unchecked((uint)0x0004),
+ VocalMorpherWaveform = unchecked((uint)0x0005),
+ RingModulatorWaveform = unchecked((uint)0x0003),
+ CompressorOnoff = unchecked((uint)0x0001),
+ EffectType = unchecked((uint)0x8001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectPName.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectPName.gen.cs
new file mode 100644
index 0000000000..c4ee4c8dfb
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectPName.gen.cs
@@ -0,0 +1,105 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectPName : uint
+{
+ ReverbDensity = unchecked((uint)0x0001),
+ ReverbDiffusion = unchecked((uint)0x0002),
+ ReverbGain = unchecked((uint)0x0003),
+ ReverbGainhf = unchecked((uint)0x0004),
+ ReverbDecayTime = unchecked((uint)0x0005),
+ ReverbDecayHfratio = unchecked((uint)0x0006),
+ ReverbReflectionsGain = unchecked((uint)0x0007),
+ ReverbReflectionsDelay = unchecked((uint)0x0008),
+ ReverbLateReverbGain = unchecked((uint)0x0009),
+ ReverbLateReverbDelay = unchecked((uint)0x000A),
+ ReverbAirAbsorptionGainhf = unchecked((uint)0x000B),
+ ReverbRoomRolloffFactor = unchecked((uint)0x000C),
+ ReverbDecayHflimit = unchecked((uint)0x000D),
+ EaxreverbDensity = unchecked((uint)0x0001),
+ EaxreverbDiffusion = unchecked((uint)0x0002),
+ EaxreverbGain = unchecked((uint)0x0003),
+ EaxreverbGainhf = unchecked((uint)0x0004),
+ EaxreverbGainlf = unchecked((uint)0x0005),
+ EaxreverbDecayTime = unchecked((uint)0x0006),
+ EaxreverbDecayHfratio = unchecked((uint)0x0007),
+ EaxreverbDecayLfratio = unchecked((uint)0x0008),
+ EaxreverbReflectionsGain = unchecked((uint)0x0009),
+ EaxreverbReflectionsDelay = unchecked((uint)0x000A),
+ EaxreverbReflectionsPan = unchecked((uint)0x000B),
+ EaxreverbLateReverbGain = unchecked((uint)0x000C),
+ EaxreverbLateReverbDelay = unchecked((uint)0x000D),
+ EaxreverbLateReverbPan = unchecked((uint)0x000E),
+ EaxreverbEchoTime = unchecked((uint)0x000F),
+ EaxreverbEchoDepth = unchecked((uint)0x0010),
+ EaxreverbModulationTime = unchecked((uint)0x0011),
+ EaxreverbModulationDepth = unchecked((uint)0x0012),
+ EaxreverbAirAbsorptionGainhf = unchecked((uint)0x0013),
+ EaxreverbHfreference = unchecked((uint)0x0014),
+ EaxreverbLfreference = unchecked((uint)0x0015),
+ EaxreverbRoomRolloffFactor = unchecked((uint)0x0016),
+ EaxreverbDecayHflimit = unchecked((uint)0x0017),
+ ChorusWaveform = unchecked((uint)0x0001),
+ ChorusPhase = unchecked((uint)0x0002),
+ ChorusRate = unchecked((uint)0x0003),
+ ChorusDepth = unchecked((uint)0x0004),
+ ChorusFeedback = unchecked((uint)0x0005),
+ ChorusDelay = unchecked((uint)0x0006),
+ DistortionEdge = unchecked((uint)0x0001),
+ DistortionGain = unchecked((uint)0x0002),
+ DistortionLowpassCutoff = unchecked((uint)0x0003),
+ DistortionEqcenter = unchecked((uint)0x0004),
+ DistortionEqbandwidth = unchecked((uint)0x0005),
+ EchoDelay = unchecked((uint)0x0001),
+ EchoLrdelay = unchecked((uint)0x0002),
+ EchoDamping = unchecked((uint)0x0003),
+ EchoFeedback = unchecked((uint)0x0004),
+ EchoSpread = unchecked((uint)0x0005),
+ FlangerWaveform = unchecked((uint)0x0001),
+ FlangerPhase = unchecked((uint)0x0002),
+ FlangerRate = unchecked((uint)0x0003),
+ FlangerDepth = unchecked((uint)0x0004),
+ FlangerFeedback = unchecked((uint)0x0005),
+ FlangerDelay = unchecked((uint)0x0006),
+ FrequencyShifterFrequency = unchecked((uint)0x0001),
+ FrequencyShifterLeftDirection = unchecked((uint)0x0002),
+ FrequencyShifterRightDirection = unchecked((uint)0x0003),
+ VocalMorpherPhonemea = unchecked((uint)0x0001),
+ VocalMorpherPhonemeaCoarseTuning = unchecked((uint)0x0002),
+ VocalMorpherPhonemeb = unchecked((uint)0x0003),
+ VocalMorpherPhonemebCoarseTuning = unchecked((uint)0x0004),
+ VocalMorpherWaveform = unchecked((uint)0x0005),
+ VocalMorpherRate = unchecked((uint)0x0006),
+ PitchShifterCoarseTune = unchecked((uint)0x0001),
+ PitchShifterFineTune = unchecked((uint)0x0002),
+ RingModulatorFrequency = unchecked((uint)0x0001),
+ RingModulatorHighpassCutoff = unchecked((uint)0x0002),
+ RingModulatorWaveform = unchecked((uint)0x0003),
+ AutowahAttackTime = unchecked((uint)0x0001),
+ AutowahReleaseTime = unchecked((uint)0x0002),
+ AutowahResonance = unchecked((uint)0x0003),
+ AutowahPeakGain = unchecked((uint)0x0004),
+ CompressorOnoff = unchecked((uint)0x0001),
+ EqualizerLowGain = unchecked((uint)0x0001),
+ EqualizerLowCutoff = unchecked((uint)0x0002),
+ EqualizerMid1Gain = unchecked((uint)0x0003),
+ EqualizerMid1Center = unchecked((uint)0x0004),
+ EqualizerMid1Width = unchecked((uint)0x0005),
+ EqualizerMid2Gain = unchecked((uint)0x0006),
+ EqualizerMid2Center = unchecked((uint)0x0007),
+ EqualizerMid2Width = unchecked((uint)0x0008),
+ EqualizerHighGain = unchecked((uint)0x0009),
+ EqualizerHighCutoff = unchecked((uint)0x000A),
+ EffectType = unchecked((uint)0x8001),
+ DedicatedGain = unchecked((uint)0x0001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectPitchShifter.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectPitchShifter.gen.cs
new file mode 100644
index 0000000000..2a2abc1e59
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectPitchShifter.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectPitchShifter : uint
+{
+ CoarseTune = unchecked((uint)0x0001),
+ FineTune = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectReverb.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectReverb.gen.cs
new file mode 100644
index 0000000000..01df9548e9
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectReverb.gen.cs
@@ -0,0 +1,29 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectReverb : uint
+{
+ Density = unchecked((uint)0x0001),
+ Diffusion = unchecked((uint)0x0002),
+ Gain = unchecked((uint)0x0003),
+ Gainhf = unchecked((uint)0x0004),
+ DecayTime = unchecked((uint)0x0005),
+ DecayHfratio = unchecked((uint)0x0006),
+ ReflectionsGain = unchecked((uint)0x0007),
+ ReflectionsDelay = unchecked((uint)0x0008),
+ LateReverbGain = unchecked((uint)0x0009),
+ LateReverbDelay = unchecked((uint)0x000A),
+ AirAbsorptionGainhf = unchecked((uint)0x000B),
+ RoomRolloffFactor = unchecked((uint)0x000C),
+ DecayHflimit = unchecked((uint)0x000D),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectRingModulator.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectRingModulator.gen.cs
new file mode 100644
index 0000000000..e6771e989c
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectRingModulator.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectRingModulator : uint
+{
+ Frequency = unchecked((uint)0x0001),
+ HighpassCutoff = unchecked((uint)0x0002),
+ Waveform = unchecked((uint)0x0003),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectType.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectType.gen.cs
new file mode 100644
index 0000000000..5939abb72e
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectType.gen.cs
@@ -0,0 +1,32 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectType : uint
+{
+ Null = unchecked((uint)0x0000),
+ Reverb = unchecked((uint)0x0001),
+ Chorus = unchecked((uint)0x0002),
+ Distortion = unchecked((uint)0x0003),
+ Echo = unchecked((uint)0x0004),
+ Flanger = unchecked((uint)0x0005),
+ FrequencyShifter = unchecked((uint)0x0006),
+ VocalMorpher = unchecked((uint)0x0007),
+ PitchShifter = unchecked((uint)0x0008),
+ RingModulator = unchecked((uint)0x0009),
+ Autowah = unchecked((uint)0x000A),
+ Compressor = unchecked((uint)0x000B),
+ Equalizer = unchecked((uint)0x000C),
+ Eaxreverb = unchecked((uint)0x8000),
+ DedicatedDialogue = unchecked((uint)0x9001),
+ DedicatedLowFrequencyEffect = unchecked((uint)0x9000),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EffectVocalMorpher.gen.cs b/sources/OpenAL/OpenAL/Enums/EffectVocalMorpher.gen.cs
new file mode 100644
index 0000000000..5152ddf817
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EffectVocalMorpher.gen.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EffectVocalMorpher : uint
+{
+ Phonemea = unchecked((uint)0x0001),
+ PhonemeaCoarseTuning = unchecked((uint)0x0002),
+ Phonemeb = unchecked((uint)0x0003),
+ PhonemebCoarseTuning = unchecked((uint)0x0004),
+ Waveform = unchecked((uint)0x0005),
+ Rate = unchecked((uint)0x0006),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EnableCap.gen.cs b/sources/OpenAL/OpenAL/Enums/EnableCap.gen.cs
new file mode 100644
index 0000000000..3ddd666871
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EnableCap.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EnableCap : uint
+{
+ SourceDistanceModel = unchecked((uint)0x200),
+ DebugOutputEXT = unchecked((uint)0x19B2),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ErrorCode.gen.cs b/sources/OpenAL/OpenAL/Enums/ErrorCode.gen.cs
new file mode 100644
index 0000000000..5ebc029a3d
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ErrorCode.gen.cs
@@ -0,0 +1,30 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ErrorCode : uint
+{
+ NoError = unchecked((uint)0),
+ InvalidName = unchecked((uint)0xA001),
+ InvalidEnum = unchecked((uint)0xA002),
+ InvalidValue = unchecked((uint)0xA003),
+ InvalidOperation = unchecked((uint)0xA004),
+ OutOfMemory = unchecked((uint)0xA005),
+ StackOverflowEXT = unchecked((uint)0x19CD),
+ StackUnderflowEXT = unchecked((uint)0x19CE),
+ CNoError = unchecked((uint)0),
+ CInvalidDevice = unchecked((uint)0xA001),
+ CInvalidContEXT = unchecked((uint)0xA002),
+ CInvalidEnum = unchecked((uint)0xA003),
+ CInvalidValue = unchecked((uint)0xA004),
+ COutOfMemory = unchecked((uint)0xA005),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EventSupportSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/EventSupportSOFT.gen.cs
new file mode 100644
index 0000000000..d795b77934
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EventSupportSOFT.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EventSupportSOFT : uint
+{
+ Supported = unchecked((uint)0x19D9),
+ NotSupported = unchecked((uint)0x19DA),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/EventTypeSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/EventTypeSOFT.gen.cs
new file mode 100644
index 0000000000..3d167b9dda
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/EventTypeSOFT.gen.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum EventTypeSOFT : uint
+{
+ EventTypeBufferCompleted = unchecked((uint)0x19A4),
+ EventTypeSourceStateChanged = unchecked((uint)0x19A5),
+ EventTypeDisconnected = unchecked((uint)0x19A6),
+ CEventTypeDefaultDeviceChanged = unchecked((uint)0x19D6),
+ CEventTypeDeviceAdded = unchecked((uint)0x19D7),
+ CEventTypeDeviceRemoved = unchecked((uint)0x19D8),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FilterFloat.gen.cs b/sources/OpenAL/OpenAL/Enums/FilterFloat.gen.cs
new file mode 100644
index 0000000000..fdbe6553f1
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FilterFloat.gen.cs
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FilterFloat : uint
+{
+ LowpassGain = unchecked((uint)0x0001),
+ LowpassGainhf = unchecked((uint)0x0002),
+ HighpassGain = unchecked((uint)0x0001),
+ HighpassGainlf = unchecked((uint)0x0002),
+ BandpassGain = unchecked((uint)0x0001),
+ BandpassGainlf = unchecked((uint)0x0002),
+ BandpassGainhf = unchecked((uint)0x0003),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FilterHighPass.gen.cs b/sources/OpenAL/OpenAL/Enums/FilterHighPass.gen.cs
new file mode 100644
index 0000000000..9a525b3f6f
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FilterHighPass.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FilterHighPass : uint
+{
+ Gain = unchecked((uint)0x0001),
+ Gainlf = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FilterInteger.gen.cs b/sources/OpenAL/OpenAL/Enums/FilterInteger.gen.cs
new file mode 100644
index 0000000000..d99659875f
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FilterInteger.gen.cs
@@ -0,0 +1,17 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FilterInteger : uint
+{
+ FilterType = unchecked((uint)0x8001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FilterLowPass.gen.cs b/sources/OpenAL/OpenAL/Enums/FilterLowPass.gen.cs
new file mode 100644
index 0000000000..36bc8fa1dd
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FilterLowPass.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FilterLowPass : uint
+{
+ Gain = unchecked((uint)0x0001),
+ Gainhf = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FilterPName.gen.cs b/sources/OpenAL/OpenAL/Enums/FilterPName.gen.cs
new file mode 100644
index 0000000000..e893f760c8
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FilterPName.gen.cs
@@ -0,0 +1,24 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FilterPName : uint
+{
+ LowpassGain = unchecked((uint)0x0001),
+ LowpassGainhf = unchecked((uint)0x0002),
+ HighpassGain = unchecked((uint)0x0001),
+ HighpassGainlf = unchecked((uint)0x0002),
+ BandpassGain = unchecked((uint)0x0001),
+ BandpassGainlf = unchecked((uint)0x0002),
+ BandpassGainhf = unchecked((uint)0x0003),
+ FilterType = unchecked((uint)0x8001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FilterType.gen.cs b/sources/OpenAL/OpenAL/Enums/FilterType.gen.cs
new file mode 100644
index 0000000000..4e9d9086d0
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FilterType.gen.cs
@@ -0,0 +1,20 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FilterType : uint
+{
+ Null = unchecked((uint)0x0000),
+ Lowpass = unchecked((uint)0x0001),
+ Highpass = unchecked((uint)0x0002),
+ Bandpass = unchecked((uint)0x0003),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FlangerWaveform.gen.cs b/sources/OpenAL/OpenAL/Enums/FlangerWaveform.gen.cs
new file mode 100644
index 0000000000..244a8dffcc
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FlangerWaveform.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FlangerWaveform : uint
+{
+ Sinusoid = unchecked((uint)0),
+ Triangle = unchecked((uint)1),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FloatPName.gen.cs b/sources/OpenAL/OpenAL/Enums/FloatPName.gen.cs
new file mode 100644
index 0000000000..bb54d585ba
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FloatPName.gen.cs
@@ -0,0 +1,25 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FloatPName : uint
+{
+ DopplerFactor = unchecked((uint)0xC000),
+ DopplerVelocity = unchecked((uint)0xC001),
+ SpeedOfSound = unchecked((uint)0xC003),
+ DebugLoggedMessagesEXT = unchecked((uint)0x19C7),
+ DebugNextLoggedMessageLengthEXT = unchecked((uint)0x19C8),
+ MaxDebugMessageLengthEXT = unchecked((uint)0x19C9),
+ MaxDebugLoggedMessagesEXT = unchecked((uint)0x19CA),
+ MaxDebugGroupStackDepthEXT = unchecked((uint)0x19CB),
+ MaxLabelLengthEXT = unchecked((uint)0x19CC),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FoldbackEvent.gen.cs b/sources/OpenAL/OpenAL/Enums/FoldbackEvent.gen.cs
new file mode 100644
index 0000000000..4b7f1a02c8
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FoldbackEvent.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FoldbackEvent : uint
+{
+ Block = unchecked((uint)0x4112),
+ Start = unchecked((uint)0x4111),
+ Stop = unchecked((uint)0x4113),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FoldbackMode.gen.cs b/sources/OpenAL/OpenAL/Enums/FoldbackMode.gen.cs
new file mode 100644
index 0000000000..bb119862fb
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FoldbackMode.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FoldbackMode : uint
+{
+ Mono = unchecked((uint)0x4101),
+ Stereo = unchecked((uint)0x4102),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/Format.gen.cs b/sources/OpenAL/OpenAL/Enums/Format.gen.cs
new file mode 100644
index 0000000000..765be26466
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/Format.gen.cs
@@ -0,0 +1,85 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum Format : uint
+{
+ FormatMono8 = unchecked((uint)0x1100),
+ FormatMono16 = unchecked((uint)0x1101),
+ FormatStereo8 = unchecked((uint)0x1102),
+ FormatStereo16 = unchecked((uint)0x1103),
+ FormatImaAdpcmMono16EXT = unchecked((uint)0x10000),
+ FormatImaAdpcmStereo16EXT = unchecked((uint)0x10001),
+ FormatWaveEXT = unchecked((uint)0x10002),
+ FormatVorbisEXT = unchecked((uint)0x10003),
+ FormatQuad8LOKI = unchecked((uint)0x10004),
+ FormatQuad16LOKI = unchecked((uint)0x10005),
+ FormatMonoFloat32 = unchecked((uint)0x10010),
+ FormatStereoFloat32 = unchecked((uint)0x10011),
+ FormatMonoDoubleEXT = unchecked((uint)0x10012),
+ FormatStereoDoubleEXT = unchecked((uint)0x10013),
+ FormatMonoMulawEXT = unchecked((uint)0x10014),
+ FormatStereoMulawEXT = unchecked((uint)0x10015),
+ FormatMonoAlawEXT = unchecked((uint)0x10016),
+ FormatStereoAlawEXT = unchecked((uint)0x10017),
+ FormatQuad8 = unchecked((uint)0x1204),
+ FormatQuad16 = unchecked((uint)0x1205),
+ FormatQuad32 = unchecked((uint)0x1206),
+ FormatRear8 = unchecked((uint)0x1207),
+ FormatRear16 = unchecked((uint)0x1208),
+ FormatRear32 = unchecked((uint)0x1209),
+ Format51Chn8 = unchecked((uint)0x120A),
+ Format51Chn16 = unchecked((uint)0x120B),
+ Format51Chn32 = unchecked((uint)0x120C),
+ Format61Chn8 = unchecked((uint)0x120D),
+ Format61Chn16 = unchecked((uint)0x120E),
+ Format61Chn32 = unchecked((uint)0x120F),
+ Format71Chn8 = unchecked((uint)0x1210),
+ Format71Chn16 = unchecked((uint)0x1211),
+ Format71Chn32 = unchecked((uint)0x1212),
+ FormatMonoMulaw = unchecked((uint)0x10014),
+ FormatStereoMulaw = unchecked((uint)0x10015),
+ FormatQuadMulaw = unchecked((uint)0x10021),
+ FormatRearMulaw = unchecked((uint)0x10022),
+ Format51ChnMulaw = unchecked((uint)0x10023),
+ Format61ChnMulaw = unchecked((uint)0x10024),
+ Format71ChnMulaw = unchecked((uint)0x10025),
+ FormatMonoIma4 = unchecked((uint)0x1300),
+ FormatStereoIma4 = unchecked((uint)0x1301),
+ FormatMonoMsadpcmSOFT = unchecked((uint)0x1302),
+ FormatStereoMsadpcmSOFT = unchecked((uint)0x1303),
+ FormatBformat2D8 = unchecked((uint)0x20021),
+ FormatBformat2D16 = unchecked((uint)0x20022),
+ FormatBformat2DFloat32 = unchecked((uint)0x20023),
+ FormatBformat3D8 = unchecked((uint)0x20031),
+ FormatBformat3D16 = unchecked((uint)0x20032),
+ FormatBformat3DFloat32 = unchecked((uint)0x20033),
+ FormatBformat2DMulaw = unchecked((uint)0x10031),
+ FormatBformat3DMulaw = unchecked((uint)0x10032),
+ FormatUhj2Chn8SOFT = unchecked((uint)0x19A2),
+ FormatUhj2Chn16SOFT = unchecked((uint)0x19A3),
+ FormatUhj2ChnFloat32SOFT = unchecked((uint)0x19A4),
+ FormatUhj3Chn8SOFT = unchecked((uint)0x19A5),
+ FormatUhj3Chn16SOFT = unchecked((uint)0x19A6),
+ FormatUhj3ChnFloat32SOFT = unchecked((uint)0x19A7),
+ FormatUhj4Chn8SOFT = unchecked((uint)0x19A8),
+ FormatUhj4Chn16SOFT = unchecked((uint)0x19A9),
+ FormatUhj4ChnFloat32SOFT = unchecked((uint)0x19AA),
+ FormatUhj2ChnMulawSOFT = unchecked((uint)0x19B3),
+ FormatUhj2ChnAlawSOFT = unchecked((uint)0x19B4),
+ FormatUhj2ChnIma4SOFT = unchecked((uint)0x19B5),
+ FormatUhj2ChnMsadpcmSOFT = unchecked((uint)0x19B6),
+ FormatUhj3ChnMulawSOFT = unchecked((uint)0x19B7),
+ FormatUhj3ChnAlawSOFT = unchecked((uint)0x19B8),
+ FormatUhj4ChnMulawSOFT = unchecked((uint)0x19B9),
+ FormatUhj4ChnAlawSOFT = unchecked((uint)0x19BA),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/FrequencyShifterDirection.gen.cs b/sources/OpenAL/OpenAL/Enums/FrequencyShifterDirection.gen.cs
new file mode 100644
index 0000000000..7eeb784b55
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/FrequencyShifterDirection.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum FrequencyShifterDirection : uint
+{
+ Down = unchecked((uint)0),
+ Up = unchecked((uint)1),
+ Off = unchecked((uint)2),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/GetPName.gen.cs b/sources/OpenAL/OpenAL/Enums/GetPName.gen.cs
new file mode 100644
index 0000000000..f738cec991
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/GetPName.gen.cs
@@ -0,0 +1,38 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum GetPName : uint
+{
+ Vendor = unchecked((uint)0xB001),
+ Version = unchecked((uint)0xB002),
+ Renderer = unchecked((uint)0xB003),
+ Extensions = unchecked((uint)0xB004),
+ DopplerFactor = unchecked((uint)0xC000),
+ DopplerVelocity = unchecked((uint)0xC001),
+ DistanceModel = unchecked((uint)0xD000),
+ SpeedOfSound = unchecked((uint)0xC003),
+ DeferredUpdatesSOFT = unchecked((uint)0xC002),
+ GainLimitSOFT = unchecked((uint)0x200E),
+ NumResamplersSOFT = unchecked((uint)0x1210),
+ DefaultResamplerSOFT = unchecked((uint)0x1211),
+ ResamplerNameSOFT = unchecked((uint)0x1213),
+ EventCallbackFunctionSOFT = unchecked((uint)0x19A2),
+ EventCallbackUserParamSOFT = unchecked((uint)0x19A3),
+ DebugLoggedMessagesEXT = unchecked((uint)0x19C7),
+ DebugNextLoggedMessageLengthEXT = unchecked((uint)0x19C8),
+ MaxDebugMessageLengthEXT = unchecked((uint)0x19C9),
+ MaxDebugLoggedMessagesEXT = unchecked((uint)0x19CA),
+ MaxDebugGroupStackDepthEXT = unchecked((uint)0x19CB),
+ MaxLabelLengthEXT = unchecked((uint)0x19CC),
+ ContextFlagsEXT = unchecked((uint)0x19CF),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/HrtfStatusSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/HrtfStatusSOFT.gen.cs
new file mode 100644
index 0000000000..84df361f06
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/HrtfStatusSOFT.gen.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum HrtfStatusSOFT : uint
+{
+ Disabled = unchecked((uint)0x0000),
+ Enabled = unchecked((uint)0x0001),
+ Denied = unchecked((uint)0x0002),
+ Required = unchecked((uint)0x0003),
+ HeadphonesDetected = unchecked((uint)0x0004),
+ UnsupportedFormat = unchecked((uint)0x0005),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/IntegerPName.gen.cs b/sources/OpenAL/OpenAL/Enums/IntegerPName.gen.cs
new file mode 100644
index 0000000000..f103bc6e4d
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/IntegerPName.gen.cs
@@ -0,0 +1,27 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum IntegerPName : uint
+{
+ DistanceModel = unchecked((uint)0xD000),
+ GainLimitSOFT = unchecked((uint)0x200E),
+ NumResamplersSOFT = unchecked((uint)0x1210),
+ DefaultResamplerSOFT = unchecked((uint)0x1211),
+ DebugLoggedMessagesEXT = unchecked((uint)0x19C7),
+ DebugNextLoggedMessageLengthEXT = unchecked((uint)0x19C8),
+ MaxDebugMessageLengthEXT = unchecked((uint)0x19C9),
+ MaxDebugLoggedMessagesEXT = unchecked((uint)0x19CA),
+ MaxDebugGroupStackDepthEXT = unchecked((uint)0x19CB),
+ MaxLabelLengthEXT = unchecked((uint)0x19CC),
+ ContextFlagsEXT = unchecked((uint)0x19CF),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/InternalFormatSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/InternalFormatSOFT.gen.cs
new file mode 100644
index 0000000000..fa496f9ab4
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/InternalFormatSOFT.gen.cs
@@ -0,0 +1,37 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum InternalFormatSOFT : uint
+{
+ Mono8 = unchecked((uint)0x1100),
+ Mono16 = unchecked((uint)0x1101),
+ Mono32F = unchecked((uint)0x10010),
+ Stereo8 = unchecked((uint)0x1102),
+ Stereo16 = unchecked((uint)0x1103),
+ Stereo32F = unchecked((uint)0x10011),
+ Quad8 = unchecked((uint)0x1204),
+ Quad16 = unchecked((uint)0x1205),
+ Quad32F = unchecked((uint)0x1206),
+ Rear8 = unchecked((uint)0x1207),
+ Rear16 = unchecked((uint)0x1208),
+ Rear32F = unchecked((uint)0x1209),
+ X5Point1X8 = unchecked((uint)0x120A),
+ X5Point1X16 = unchecked((uint)0x120B),
+ X5Point1X32F = unchecked((uint)0x120C),
+ X6Point1X8 = unchecked((uint)0x120D),
+ X6Point1X16 = unchecked((uint)0x120E),
+ X6Point1X32F = unchecked((uint)0x120F),
+ X7Point1X8 = unchecked((uint)0x1210),
+ X7Point1X16 = unchecked((uint)0x1211),
+ X7Point1X32F = unchecked((uint)0x1212),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ListenerFloat.gen.cs b/sources/OpenAL/OpenAL/Enums/ListenerFloat.gen.cs
new file mode 100644
index 0000000000..02bc7f12f5
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ListenerFloat.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ListenerFloat : uint
+{
+ Orientation = unchecked((uint)0x100F),
+ ConeOuterGain = unchecked((uint)0x1022),
+ MetersPerUnit = unchecked((uint)0x20004),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ListenerFloat3.gen.cs b/sources/OpenAL/OpenAL/Enums/ListenerFloat3.gen.cs
new file mode 100644
index 0000000000..abe9afaf36
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ListenerFloat3.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ListenerFloat3 : uint
+{
+ Position = unchecked((uint)0x1004),
+ Direction = unchecked((uint)0x1005),
+ Velocity = unchecked((uint)0x1006),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ListenerInteger3.gen.cs b/sources/OpenAL/OpenAL/Enums/ListenerInteger3.gen.cs
new file mode 100644
index 0000000000..2cc477ee47
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ListenerInteger3.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ListenerInteger3 : uint
+{
+ Direction = unchecked((uint)0x1005),
+ Velocity = unchecked((uint)0x1006),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ListenerPName.gen.cs b/sources/OpenAL/OpenAL/Enums/ListenerPName.gen.cs
new file mode 100644
index 0000000000..a9ff5f36b4
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ListenerPName.gen.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ListenerPName : uint
+{
+ Position = unchecked((uint)0x1004),
+ Direction = unchecked((uint)0x1005),
+ Velocity = unchecked((uint)0x1006),
+ Orientation = unchecked((uint)0x100F),
+ ConeOuterGain = unchecked((uint)0x1022),
+ MetersPerUnit = unchecked((uint)0x20004),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/ObjectIdentifier.gen.cs b/sources/OpenAL/OpenAL/Enums/ObjectIdentifier.gen.cs
new file mode 100644
index 0000000000..b7f3a0d8cf
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/ObjectIdentifier.gen.cs
@@ -0,0 +1,21 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum ObjectIdentifier : uint
+{
+ BufferEXT = unchecked((uint)0x1009),
+ SourceEXT = unchecked((uint)0x19D0),
+ FilterEXT = unchecked((uint)0x19D1),
+ EffectEXT = unchecked((uint)0x19D2),
+ AuxiliaryEffectSlotEXT = unchecked((uint)0x19D3),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/OutputModeSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/OutputModeSOFT.gen.cs
new file mode 100644
index 0000000000..cea3858c2c
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/OutputModeSOFT.gen.cs
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum OutputModeSOFT : uint
+{
+ Any = unchecked((uint)0x19AD),
+ StereoBasic = unchecked((uint)0x19AE),
+ StereoUhj = unchecked((uint)0x19AF),
+ StereoHrtf = unchecked((uint)0x19B2),
+ Surround5X1 = unchecked((uint)0x1504),
+ Surround6X1 = unchecked((uint)0x1505),
+ Surround7X1 = unchecked((uint)0x1506),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/PointerPName.gen.cs b/sources/OpenAL/OpenAL/Enums/PointerPName.gen.cs
new file mode 100644
index 0000000000..55e659e2e5
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/PointerPName.gen.cs
@@ -0,0 +1,20 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum PointerPName : uint
+{
+ EventCallbackFunctionSOFT = unchecked((uint)0x19A2),
+ EventCallbackUserParamSOFT = unchecked((uint)0x19A3),
+ DebugCallbackFunctionEXT = unchecked((uint)0x19B3),
+ DebugCallbackUserParamEXT = unchecked((uint)0x19B4),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/RenderFormatChannelSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/RenderFormatChannelSOFT.gen.cs
new file mode 100644
index 0000000000..51ebe9f3f6
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/RenderFormatChannelSOFT.gen.cs
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum RenderFormatChannelSOFT : uint
+{
+ Mono = unchecked((uint)0x1500),
+ Stereo = unchecked((uint)0x1501),
+ Quad = unchecked((uint)0x1503),
+ X5Point1 = unchecked((uint)0x1504),
+ X6Point1 = unchecked((uint)0x1505),
+ X7Point1 = unchecked((uint)0x1506),
+ Bformat3D = unchecked((uint)0x1507),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/RenderFormatTypeSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/RenderFormatTypeSOFT.gen.cs
new file mode 100644
index 0000000000..6d06a994a3
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/RenderFormatTypeSOFT.gen.cs
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum RenderFormatTypeSOFT : uint
+{
+ Byte = unchecked((uint)0x1400),
+ UnsignedByte = unchecked((uint)0x1401),
+ Short = unchecked((uint)0x1402),
+ UnsignedShort = unchecked((uint)0x1403),
+ Int = unchecked((uint)0x1404),
+ UnsignedInt = unchecked((uint)0x1405),
+ Float = unchecked((uint)0x1406),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/RingModulatorWaveform.gen.cs b/sources/OpenAL/OpenAL/Enums/RingModulatorWaveform.gen.cs
new file mode 100644
index 0000000000..840da036fe
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/RingModulatorWaveform.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum RingModulatorWaveform : uint
+{
+ Sinusoid = unchecked((uint)0),
+ Sawtooth = unchecked((uint)1),
+ Square = unchecked((uint)2),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SampleTypeSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/SampleTypeSOFT.gen.cs
new file mode 100644
index 0000000000..5577fc4ed3
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SampleTypeSOFT.gen.cs
@@ -0,0 +1,26 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SampleTypeSOFT : uint
+{
+ Byte = unchecked((uint)0x1400),
+ UnsignedByte = unchecked((uint)0x1401),
+ Short = unchecked((uint)0x1402),
+ UnsignedShort = unchecked((uint)0x1403),
+ Int = unchecked((uint)0x1404),
+ UnsignedInt = unchecked((uint)0x1405),
+ Float = unchecked((uint)0x1406),
+ Double = unchecked((uint)0x1407),
+ Byte3 = unchecked((uint)0x1408),
+ UnsignedByte3 = unchecked((uint)0x1409),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceBoolean.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceBoolean.gen.cs
new file mode 100644
index 0000000000..c3b3bcb442
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceBoolean.gen.cs
@@ -0,0 +1,21 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceBoolean : uint
+{
+ SourceRelative = unchecked((uint)0x202),
+ Looping = unchecked((uint)0x1007),
+ DirectFilterGainhfAuto = unchecked((uint)0x2000A),
+ AuxiliarySendFilterGainAuto = unchecked((uint)0x2000B),
+ AuxiliarySendFilterGainhfAuto = unchecked((uint)0x2000C),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceDouble.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceDouble.gen.cs
new file mode 100644
index 0000000000..13effa45fb
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceDouble.gen.cs
@@ -0,0 +1,17 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceDouble : uint
+{
+ SecOffsetClockSOFT = unchecked((uint)0x1203),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceFloat.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceFloat.gen.cs
new file mode 100644
index 0000000000..ec31bc6a79
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceFloat.gen.cs
@@ -0,0 +1,35 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceFloat : uint
+{
+ ConeInnerAngle = unchecked((uint)0x1001),
+ ConeOuterAngle = unchecked((uint)0x1002),
+ Pitch = unchecked((uint)0x1003),
+ Gain = unchecked((uint)0x100A),
+ MinGain = unchecked((uint)0x100D),
+ MaxGain = unchecked((uint)0x100E),
+ ReferenceDistance = unchecked((uint)0x1020),
+ RolloffFactor = unchecked((uint)0x1021),
+ MaxDistance = unchecked((uint)0x1023),
+ SecOffset = unchecked((uint)0x1024),
+ SampleOffset = unchecked((uint)0x1025),
+ ByteOffset = unchecked((uint)0x1026),
+ ConeOuterGainhf = unchecked((uint)0x20009),
+ ByteRwOffsetsSOFT = unchecked((uint)0x1031),
+ SampleRwOffsetsSOFT = unchecked((uint)0x1032),
+ StereoAngles = unchecked((uint)0x1030),
+ SourceRadius = unchecked((uint)0x1031),
+ SecOffsetLatencySOFT = unchecked((uint)0x1201),
+ SuperStereoWidthSOFT = unchecked((uint)0x19B1),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceFloat3.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceFloat3.gen.cs
new file mode 100644
index 0000000000..6af8fe95a9
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceFloat3.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceFloat3 : uint
+{
+ Position = unchecked((uint)0x1004),
+ Direction = unchecked((uint)0x1005),
+ Velocity = unchecked((uint)0x1006),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceInteger.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceInteger.gen.cs
new file mode 100644
index 0000000000..3aa8da411f
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceInteger.gen.cs
@@ -0,0 +1,36 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceInteger : uint
+{
+ ConeInnerAngle = unchecked((uint)0x1001),
+ ConeOuterAngle = unchecked((uint)0x1002),
+ Buffer = unchecked((uint)0x1009),
+ SourceState = unchecked((uint)0x1010),
+ BuffersQueued = unchecked((uint)0x1015),
+ BuffersProcessed = unchecked((uint)0x1016),
+ SecOffset = unchecked((uint)0x1024),
+ SampleOffset = unchecked((uint)0x1025),
+ ByteOffset = unchecked((uint)0x1026),
+ SourceType = unchecked((uint)0x1027),
+ DirectFilter = unchecked((uint)0x20005),
+ AuxiliarySendFilter = unchecked((uint)0x20006),
+ AirAbsorptionFactor = unchecked((uint)0x20007),
+ RoomRolloffFactor = unchecked((uint)0x20008),
+ DirectChannelsSOFT = unchecked((uint)0x1033),
+ SampleOffsetLatencySOFT = unchecked((uint)0x1200),
+ SourceResamplerSOFT = unchecked((uint)0x1212),
+ SourceSpatializeSOFT = unchecked((uint)0x1214),
+ SampleOffsetClockSOFT = unchecked((uint)0x1202),
+ StereoModeSOFT = unchecked((uint)0x19B0),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceInteger3.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceInteger3.gen.cs
new file mode 100644
index 0000000000..2b43c02aa1
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceInteger3.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceInteger3 : uint
+{
+ Position = unchecked((uint)0x1004),
+ Direction = unchecked((uint)0x1005),
+ Velocity = unchecked((uint)0x1006),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourcePName.gen.cs b/sources/OpenAL/OpenAL/Enums/SourcePName.gen.cs
new file mode 100644
index 0000000000..e6a35ee150
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourcePName.gen.cs
@@ -0,0 +1,59 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourcePName : uint
+{
+ SourceRelative = unchecked((uint)0x202),
+ ConeInnerAngle = unchecked((uint)0x1001),
+ ConeOuterAngle = unchecked((uint)0x1002),
+ Pitch = unchecked((uint)0x1003),
+ Position = unchecked((uint)0x1004),
+ Direction = unchecked((uint)0x1005),
+ Velocity = unchecked((uint)0x1006),
+ Looping = unchecked((uint)0x1007),
+ Buffer = unchecked((uint)0x1009),
+ Gain = unchecked((uint)0x100A),
+ MinGain = unchecked((uint)0x100D),
+ MaxGain = unchecked((uint)0x100E),
+ SourceState = unchecked((uint)0x1010),
+ BuffersQueued = unchecked((uint)0x1015),
+ BuffersProcessed = unchecked((uint)0x1016),
+ ReferenceDistance = unchecked((uint)0x1020),
+ RolloffFactor = unchecked((uint)0x1021),
+ MaxDistance = unchecked((uint)0x1023),
+ SecOffset = unchecked((uint)0x1024),
+ SampleOffset = unchecked((uint)0x1025),
+ ByteOffset = unchecked((uint)0x1026),
+ SourceType = unchecked((uint)0x1027),
+ DirectFilter = unchecked((uint)0x20005),
+ AuxiliarySendFilter = unchecked((uint)0x20006),
+ AirAbsorptionFactor = unchecked((uint)0x20007),
+ RoomRolloffFactor = unchecked((uint)0x20008),
+ ConeOuterGainhf = unchecked((uint)0x20009),
+ DirectFilterGainhfAuto = unchecked((uint)0x2000A),
+ AuxiliarySendFilterGainAuto = unchecked((uint)0x2000B),
+ AuxiliarySendFilterGainhfAuto = unchecked((uint)0x2000C),
+ ByteRwOffsetsSOFT = unchecked((uint)0x1031),
+ SampleRwOffsetsSOFT = unchecked((uint)0x1032),
+ DirectChannelsSOFT = unchecked((uint)0x1033),
+ StereoAngles = unchecked((uint)0x1030),
+ SourceRadius = unchecked((uint)0x1031),
+ SampleOffsetLatencySOFT = unchecked((uint)0x1200),
+ SecOffsetLatencySOFT = unchecked((uint)0x1201),
+ SourceResamplerSOFT = unchecked((uint)0x1212),
+ SourceSpatializeSOFT = unchecked((uint)0x1214),
+ SampleOffsetClockSOFT = unchecked((uint)0x1202),
+ SecOffsetClockSOFT = unchecked((uint)0x1203),
+ StereoModeSOFT = unchecked((uint)0x19B0),
+ SuperStereoWidthSOFT = unchecked((uint)0x19B1),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceSpatialize.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceSpatialize.gen.cs
new file mode 100644
index 0000000000..e2e53d5ca7
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceSpatialize.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceSpatialize : uint
+{
+ False = unchecked((uint)0),
+ True = unchecked((uint)1),
+ AutoSOFT = unchecked((uint)0x0002),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceState.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceState.gen.cs
new file mode 100644
index 0000000000..c0553ae92d
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceState.gen.cs
@@ -0,0 +1,20 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceState : uint
+{
+ Initial = unchecked((uint)0x1011),
+ Playing = unchecked((uint)0x1012),
+ Paused = unchecked((uint)0x1013),
+ Stopped = unchecked((uint)0x1014),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/SourceType.gen.cs b/sources/OpenAL/OpenAL/Enums/SourceType.gen.cs
new file mode 100644
index 0000000000..50e5294356
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/SourceType.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum SourceType : uint
+{
+ Static = unchecked((uint)0x1028),
+ Streaming = unchecked((uint)0x1029),
+ Undetermined = unchecked((uint)0x1030),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/StereoModeSOFT.gen.cs b/sources/OpenAL/OpenAL/Enums/StereoModeSOFT.gen.cs
new file mode 100644
index 0000000000..3593e7688b
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/StereoModeSOFT.gen.cs
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum StereoModeSOFT : uint
+{
+ Normal = unchecked((uint)0x0000),
+ SuperStereo = unchecked((uint)0x0001),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/StringPName.gen.cs b/sources/OpenAL/OpenAL/Enums/StringPName.gen.cs
new file mode 100644
index 0000000000..2318cc6eed
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/StringPName.gen.cs
@@ -0,0 +1,21 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum StringPName : uint
+{
+ Vendor = unchecked((uint)0xB001),
+ Version = unchecked((uint)0xB002),
+ Renderer = unchecked((uint)0xB003),
+ Extensions = unchecked((uint)0xB004),
+ ResamplerNameSOFT = unchecked((uint)0x1213),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/VocalMorpherPhoneme.gen.cs b/sources/OpenAL/OpenAL/Enums/VocalMorpherPhoneme.gen.cs
new file mode 100644
index 0000000000..f29b2822e3
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/VocalMorpherPhoneme.gen.cs
@@ -0,0 +1,46 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum VocalMorpherPhoneme : uint
+{
+ A = unchecked((uint)0),
+ E = unchecked((uint)1),
+ I = unchecked((uint)2),
+ O = unchecked((uint)3),
+ U = unchecked((uint)4),
+ Aa = unchecked((uint)5),
+ Ae = unchecked((uint)6),
+ Ah = unchecked((uint)7),
+ Ao = unchecked((uint)8),
+ Eh = unchecked((uint)9),
+ Er = unchecked((uint)10),
+ Ih = unchecked((uint)11),
+ Iy = unchecked((uint)12),
+ Uh = unchecked((uint)13),
+ Uw = unchecked((uint)14),
+ B = unchecked((uint)15),
+ D = unchecked((uint)16),
+ F = unchecked((uint)17),
+ G = unchecked((uint)18),
+ J = unchecked((uint)19),
+ K = unchecked((uint)20),
+ L = unchecked((uint)21),
+ M = unchecked((uint)22),
+ N = unchecked((uint)23),
+ P = unchecked((uint)24),
+ R = unchecked((uint)25),
+ S = unchecked((uint)26),
+ T = unchecked((uint)27),
+ V = unchecked((uint)28),
+ Z = unchecked((uint)29),
+}
diff --git a/sources/OpenAL/OpenAL/Enums/VocalMorpherWaveform.gen.cs b/sources/OpenAL/OpenAL/Enums/VocalMorpherWaveform.gen.cs
new file mode 100644
index 0000000000..3eae04c166
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Enums/VocalMorpherWaveform.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+[Transformed]
+public enum VocalMorpherWaveform : uint
+{
+ Sinusoid = unchecked((uint)0),
+ Triangle = unchecked((uint)1),
+ Sawtooth = unchecked((uint)2),
+}
diff --git a/sources/OpenAL/OpenAL/Handles/ContextHandle.gen.cs b/sources/OpenAL/OpenAL/Handles/ContextHandle.gen.cs
new file mode 100644
index 0000000000..7cf0f005e1
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Handles/ContextHandle.gen.cs
@@ -0,0 +1,34 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+public readonly unsafe partial struct ContextHandle
+{
+ public readonly void* Handle;
+
+ public bool Equals(ContextHandle other) => Handle == other.Handle;
+
+ public override bool Equals(object? obj) => obj is ContextHandle other && Equals(other);
+
+ public override int GetHashCode() => HashCode.Combine((nuint)Handle);
+
+ public static bool operator ==(ContextHandle left, ContextHandle right) => left.Equals(right);
+
+ public static bool operator !=(ContextHandle left, ContextHandle right) => !left.Equals(right);
+
+ public bool Equals(NullPtr _) => Handle is null;
+
+ public static bool operator ==(ContextHandle left, NullPtr right) => left.Equals(right);
+
+ public static bool operator !=(ContextHandle left, NullPtr right) => !left.Equals(right);
+
+ public static implicit operator ContextHandle(NullPtr _) => default;
+}
diff --git a/sources/OpenAL/OpenAL/Handles/DeviceHandle.gen.cs b/sources/OpenAL/OpenAL/Handles/DeviceHandle.gen.cs
new file mode 100644
index 0000000000..59e43bf845
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Handles/DeviceHandle.gen.cs
@@ -0,0 +1,34 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+public readonly unsafe partial struct DeviceHandle
+{
+ public readonly void* Handle;
+
+ public bool Equals(DeviceHandle other) => Handle == other.Handle;
+
+ public override bool Equals(object? obj) => obj is DeviceHandle other && Equals(other);
+
+ public override int GetHashCode() => HashCode.Combine((nuint)Handle);
+
+ public static bool operator ==(DeviceHandle left, DeviceHandle right) => left.Equals(right);
+
+ public static bool operator !=(DeviceHandle left, DeviceHandle right) => !left.Equals(right);
+
+ public bool Equals(NullPtr _) => Handle is null;
+
+ public static bool operator ==(DeviceHandle left, NullPtr right) => left.Equals(right);
+
+ public static bool operator !=(DeviceHandle left, NullPtr right) => !left.Equals(right);
+
+ public static implicit operator DeviceHandle(NullPtr _) => default;
+}
diff --git a/sources/OpenAL/OpenAL/IALContext.cs b/sources/OpenAL/OpenAL/IALContext.cs
new file mode 100644
index 0000000000..96bc0e148a
--- /dev/null
+++ b/sources/OpenAL/OpenAL/IALContext.cs
@@ -0,0 +1,16 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+namespace Silk.NET.OpenAL;
+
+public partial interface IALContext
+{
+ public DeviceHandle CurrentDevice
+ {
+ // TODO something better/more descriptive?
+ get => throw new NotSupportedException();
+ set => throw new NotSupportedException();
+ }
+
+ IALContext Clone();
+}
diff --git a/sources/OpenAL/OpenAL/Silk.NET.OpenAL.csproj b/sources/OpenAL/OpenAL/Silk.NET.OpenAL.csproj
new file mode 100644
index 0000000000..39c9fb9abd
--- /dev/null
+++ b/sources/OpenAL/OpenAL/Silk.NET.OpenAL.csproj
@@ -0,0 +1,12 @@
+
+
+ net8.0
+ enable
+ enable
+ 1591
+
+
+
+
+
+
diff --git a/sources/OpenAL/OpenAL/al/AL.gen.cs b/sources/OpenAL/OpenAL/al/AL.gen.cs
new file mode 100644
index 0000000000..9a96809cc5
--- /dev/null
+++ b/sources/OpenAL/OpenAL/al/AL.gen.cs
@@ -0,0 +1,36287 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// Generated using the OpenAL Soft headers and corresponding dependencies.
+// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
+// being header-derived only, implementations of the headers may have a less permissive license.
+using System;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Silk.NET.OpenAL;
+
+public unsafe partial class AL : IAL, IAL.Static
+{
+ public partial class DllImport : IAL.Static
+ {
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alAuxiliaryEffectSlotf")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void AuxiliaryEffectSlot(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat")] float flValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alAuxiliaryEffectSlotfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void AuxiliaryEffectSlotDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat")] float flValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alAuxiliaryEffectSlotfv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void AuxiliaryEffectSlot(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void AuxiliaryEffectSlot(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ AuxiliaryEffectSlot(effectslot, param1, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alAuxiliaryEffectSlotfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void AuxiliaryEffectSlotDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void AuxiliaryEffectSlotDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ AuxiliaryEffectSlotDirect(context, effectslot, param2, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alAuxiliaryEffectSloti")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void AuxiliaryEffectSlot(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint")] int iValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alAuxiliaryEffectSlotiDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void AuxiliaryEffectSlotDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint")] int iValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alAuxiliaryEffectSlotiv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void AuxiliaryEffectSlot(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void AuxiliaryEffectSlot(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ AuxiliaryEffectSlot(effectslot, param1, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alAuxiliaryEffectSlotivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void AuxiliaryEffectSlotDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void AuxiliaryEffectSlotDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ AuxiliaryEffectSlotDirect(context, effectslot, param2, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBuffer3f")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void Buffer3(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat")] float value1,
+ [NativeTypeName("ALfloat")] float value2,
+ [NativeTypeName("ALfloat")] float value3
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBuffer3fDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void Buffer3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat")] float value1,
+ [NativeTypeName("ALfloat")] float value2,
+ [NativeTypeName("ALfloat")] float value3
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBuffer3i")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void Buffer3(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint")] int value1,
+ [NativeTypeName("ALint")] int value2,
+ [NativeTypeName("ALint")] int value3
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBuffer3iDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void Buffer3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint")] int value1,
+ [NativeTypeName("ALint")] int value2,
+ [NativeTypeName("ALint")] int value3
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferCallbackDirectSOFT")]
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"],
+ RequireAll = true
+ )]
+ public static extern void BufferCallbackDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int format,
+ [NativeTypeName("ALsizei")] int freq,
+ [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback,
+ [NativeTypeName("ALvoid *")] void* userptr
+ );
+
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"],
+ RequireAll = true
+ )]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferCallbackDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferCallbackDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] Constant format,
+ [NativeTypeName("ALsizei")] int freq,
+ [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback,
+ [NativeTypeName("ALvoid *")] Ref userptr
+ )
+ {
+ fixed (void* __dsl_userptr = userptr)
+ {
+ BufferCallbackDirectSOFT(
+ context,
+ buffer,
+ (int)format,
+ freq,
+ callback,
+ __dsl_userptr
+ );
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferCallbackSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])]
+ public static extern void BufferCallbackSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int format,
+ [NativeTypeName("ALsizei")] int freq,
+ [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback,
+ [NativeTypeName("ALvoid *")] void* userptr
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferCallbackSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferCallbackSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] Constant format,
+ [NativeTypeName("ALsizei")] int freq,
+ [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback,
+ [NativeTypeName("ALvoid *")] Ref userptr
+ )
+ {
+ fixed (void* __dsl_userptr = userptr)
+ {
+ BufferCallbackSOFT(buffer, (int)format, freq, callback, __dsl_userptr);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferData")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void BufferData(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int format,
+ [NativeTypeName("const ALvoid *")] void* data,
+ [NativeTypeName("ALsizei")] int size,
+ [NativeTypeName("ALsizei")] int samplerate
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferData")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferData(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] Constant format,
+ [NativeTypeName("const ALvoid *")] Ref data,
+ [NativeTypeName("ALsizei")] int size,
+ [NativeTypeName("ALsizei")] int samplerate
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ BufferData(buffer, (int)format, __dsl_data, size, samplerate);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferDataDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void BufferDataDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int format,
+ [NativeTypeName("const ALvoid *")] void* data,
+ [NativeTypeName("ALsizei")] int size,
+ [NativeTypeName("ALsizei")] int samplerate
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferDataDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferDataDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] Constant format,
+ [NativeTypeName("const ALvoid *")] Ref data,
+ [NativeTypeName("ALsizei")] int size,
+ [NativeTypeName("ALsizei")] int samplerate
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ BufferDataDirect(context, buffer, (int)format, __dsl_data, size, samplerate);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferDataStatic")]
+ [SupportedApiProfile("al", ["AL_EXT_STATIC_BUFFER"])]
+ public static extern void BufferDataStatic(
+ [NativeTypeName("const ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int format,
+ [NativeTypeName("ALvoid *")] void* data,
+ [NativeTypeName("ALsizei")] int size,
+ [NativeTypeName("ALsizei")] int freq
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_STATIC_BUFFER"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferDataStatic")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferDataStatic(
+ [NativeTypeName("const ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] Constant format,
+ [NativeTypeName("ALvoid *")] Ref data,
+ [NativeTypeName("ALsizei")] int size,
+ [NativeTypeName("ALsizei")] int freq
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ BufferDataStatic(buffer, (int)format, __dsl_data, size, freq);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferDataStaticDirect")]
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_EXT_STATIC_BUFFER"],
+ RequireAll = true
+ )]
+ public static extern void BufferDataStaticDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int format,
+ [NativeTypeName("ALvoid *")] void* data,
+ [NativeTypeName("ALsizei")] int size,
+ [NativeTypeName("ALsizei")] int freq
+ );
+
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_EXT_STATIC_BUFFER"],
+ RequireAll = true
+ )]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferDataStaticDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferDataStaticDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] Constant format,
+ [NativeTypeName("ALvoid *")] Ref data,
+ [NativeTypeName("ALsizei")] int size,
+ [NativeTypeName("ALsizei")] int freq
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ BufferDataStaticDirect(context, buffer, (int)format, __dsl_data, size, freq);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferf")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void Buffer(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat")] float value
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void BufferDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat")] float value
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferfv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void Buffer(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALfloat *")] float* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void Buffer(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALfloat *")] Ref values
+ )
+ {
+ fixed (float* __dsl_values = values)
+ {
+ Buffer(buffer, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void BufferDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALfloat *")] float* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALfloat *")] Ref values
+ )
+ {
+ fixed (float* __dsl_values = values)
+ {
+ BufferDirect(context, buffer, param2, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferi")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void Buffer(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint")] int value
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferiDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void BufferDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint")] int value
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferiv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void Buffer(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALint *")] int* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferiv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void Buffer(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALint *")] Ref values
+ )
+ {
+ fixed (int* __dsl_values = values)
+ {
+ Buffer(buffer, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void BufferDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALint *")] int* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALint *")] Ref values
+ )
+ {
+ fixed (int* __dsl_values = values)
+ {
+ BufferDirect(context, buffer, param2, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferSamplesSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])]
+ public static extern void BufferSamplesSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALuint")] uint samplerate,
+ [NativeTypeName("ALenum")] int internalformat,
+ [NativeTypeName("ALsizei")] int samples,
+ [NativeTypeName("ALenum")] int channels,
+ [NativeTypeName("ALenum")] int type,
+ [NativeTypeName("const ALvoid *")] void* data
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferSamplesSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferSamplesSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALuint")] uint samplerate,
+ [NativeTypeName("ALenum")] int internalformat,
+ [NativeTypeName("ALsizei")] int samples,
+ [NativeTypeName("ALenum")] Constant channels,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("const ALvoid *")] Ref data
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ BufferSamplesSOFT(
+ buffer,
+ samplerate,
+ internalformat,
+ samples,
+ (int)channels,
+ (int)type,
+ __dsl_data
+ );
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferSubDataDirectSOFT")]
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_buffer_sub_data"],
+ RequireAll = true
+ )]
+ public static extern void BufferSubDataDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int format,
+ [NativeTypeName("const ALvoid *")] void* data,
+ [NativeTypeName("ALsizei")] int offset,
+ [NativeTypeName("ALsizei")] int length
+ );
+
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_buffer_sub_data"],
+ RequireAll = true
+ )]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferSubDataDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferSubDataDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] Constant format,
+ [NativeTypeName("const ALvoid *")] Ref data,
+ [NativeTypeName("ALsizei")] int offset,
+ [NativeTypeName("ALsizei")] int length
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ BufferSubDataDirectSOFT(context, buffer, (int)format, __dsl_data, offset, length);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferSubDataSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_buffer_sub_data"])]
+ public static extern void BufferSubDataSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int format,
+ [NativeTypeName("const ALvoid *")] void* data,
+ [NativeTypeName("ALsizei")] int offset,
+ [NativeTypeName("ALsizei")] int length
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_buffer_sub_data"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferSubDataSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferSubDataSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] Constant format,
+ [NativeTypeName("const ALvoid *")] Ref data,
+ [NativeTypeName("ALsizei")] int offset,
+ [NativeTypeName("ALsizei")] int length
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ BufferSubDataSOFT(buffer, (int)format, __dsl_data, offset, length);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alBufferSubSamplesSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])]
+ public static extern void BufferSubSamplesSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALsizei")] int offset,
+ [NativeTypeName("ALsizei")] int samples,
+ [NativeTypeName("ALenum")] int channels,
+ [NativeTypeName("ALenum")] int type,
+ [NativeTypeName("const ALvoid *")] void* data
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alBufferSubSamplesSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void BufferSubSamplesSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALsizei")] int offset,
+ [NativeTypeName("ALsizei")] int samples,
+ [NativeTypeName("ALenum")] Constant channels,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("const ALvoid *")] Ref data
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ BufferSubSamplesSOFT(buffer, offset, samples, (int)channels, (int)type, __dsl_data);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDebugMessageCallbackDirectEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ public static extern void DebugMessageCallbackDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback,
+ void* userParam
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DebugMessageCallbackDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback,
+ Ref userParam
+ )
+ {
+ fixed (void* __dsl_userParam = userParam)
+ {
+ DebugMessageCallbackDirectEXT(context, callback, __dsl_userParam);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDebugMessageCallbackEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ public static extern void DebugMessageCallbackEXT(
+ [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback,
+ void* userParam
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DebugMessageCallbackEXT(
+ [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback,
+ Ref userParam
+ )
+ {
+ fixed (void* __dsl_userParam = userParam)
+ {
+ DebugMessageCallbackEXT(callback, __dsl_userParam);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDebugMessageControlDirectEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ public static extern void DebugMessageControlDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int source,
+ [NativeTypeName("ALenum")] int type,
+ [NativeTypeName("ALenum")] int severity,
+ [NativeTypeName("ALsizei")] int count,
+ [NativeTypeName("const ALuint *")] uint* ids,
+ [NativeTypeName("ALboolean")] sbyte enable
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DebugMessageControlDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant source,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALenum")] Constant severity,
+ [NativeTypeName("ALsizei")] int count,
+ [NativeTypeName("const ALuint *")] Ref ids,
+ [NativeTypeName("ALboolean")] MaybeBool enable
+ )
+ {
+ fixed (uint* __dsl_ids = ids)
+ {
+ DebugMessageControlDirectEXT(
+ context,
+ (int)source,
+ (int)type,
+ (int)severity,
+ count,
+ __dsl_ids,
+ (sbyte)enable
+ );
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")]
+ public static void DebugMessageControlDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant source,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALenum")] Constant severity,
+ [NativeTypeName("const ALuint *")] uint ids,
+ [NativeTypeName("ALboolean")] MaybeBool enable
+ ) =>
+ DebugMessageControlDirectEXT(
+ context,
+ (int)source,
+ (int)type,
+ (int)severity,
+ 1,
+ (uint*)&ids,
+ (sbyte)enable
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDebugMessageControlEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ public static extern void DebugMessageControlEXT(
+ [NativeTypeName("ALenum")] int source,
+ [NativeTypeName("ALenum")] int type,
+ [NativeTypeName("ALenum")] int severity,
+ [NativeTypeName("ALsizei")] int count,
+ [NativeTypeName("const ALuint *")] uint* ids,
+ [NativeTypeName("ALboolean")] sbyte enable
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DebugMessageControlEXT(
+ [NativeTypeName("ALenum")] Constant source,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALenum")] Constant severity,
+ [NativeTypeName("ALsizei")] int count,
+ [NativeTypeName("const ALuint *")] Ref ids,
+ [NativeTypeName("ALboolean")] MaybeBool enable
+ )
+ {
+ fixed (uint* __dsl_ids = ids)
+ {
+ DebugMessageControlEXT(
+ (int)source,
+ (int)type,
+ (int)severity,
+ count,
+ __dsl_ids,
+ (sbyte)enable
+ );
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")]
+ public static void DebugMessageControlEXT(
+ [NativeTypeName("ALenum")] Constant source,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALenum")] Constant severity,
+ [NativeTypeName("const ALuint *")] uint ids,
+ [NativeTypeName("ALboolean")] MaybeBool enable
+ ) =>
+ DebugMessageControlEXT(
+ (int)source,
+ (int)type,
+ (int)severity,
+ 1,
+ (uint*)&ids,
+ (sbyte)enable
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDebugMessageInsertDirectEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ public static extern void DebugMessageInsertDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int source,
+ [NativeTypeName("ALenum")] int type,
+ [NativeTypeName("ALuint")] uint id,
+ [NativeTypeName("ALenum")] int severity,
+ [NativeTypeName("ALsizei")] int length,
+ [NativeTypeName("const ALchar *")] sbyte* message
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DebugMessageInsertDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant source,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALuint")] uint id,
+ [NativeTypeName("ALenum")] Constant severity,
+ [NativeTypeName("ALsizei")] int length,
+ [NativeTypeName("const ALchar *")] Ref message
+ )
+ {
+ fixed (sbyte* __dsl_message = message)
+ {
+ DebugMessageInsertDirectEXT(
+ context,
+ (int)source,
+ (int)type,
+ id,
+ (int)severity,
+ length,
+ __dsl_message
+ );
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")]
+ public static void DebugMessageInsertDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant source,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALuint")] uint id,
+ [NativeTypeName("ALenum")] Constant severity,
+ [NativeTypeName("const ALchar *")] sbyte message
+ ) =>
+ DebugMessageInsertDirectEXT(
+ context,
+ (int)source,
+ (int)type,
+ id,
+ (int)severity,
+ 1,
+ (sbyte*)&message
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDebugMessageInsertEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ public static extern void DebugMessageInsertEXT(
+ [NativeTypeName("ALenum")] int source,
+ [NativeTypeName("ALenum")] int type,
+ [NativeTypeName("ALuint")] uint id,
+ [NativeTypeName("ALenum")] int severity,
+ [NativeTypeName("ALsizei")] int length,
+ [NativeTypeName("const ALchar *")] sbyte* message
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DebugMessageInsertEXT(
+ [NativeTypeName("ALenum")] Constant source,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALuint")] uint id,
+ [NativeTypeName("ALenum")] Constant severity,
+ [NativeTypeName("ALsizei")] int length,
+ [NativeTypeName("const ALchar *")] Ref message
+ )
+ {
+ fixed (sbyte* __dsl_message = message)
+ {
+ DebugMessageInsertEXT(
+ (int)source,
+ (int)type,
+ id,
+ (int)severity,
+ length,
+ __dsl_message
+ );
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")]
+ public static void DebugMessageInsertEXT(
+ [NativeTypeName("ALenum")] Constant source,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALuint")] uint id,
+ [NativeTypeName("ALenum")] Constant severity,
+ [NativeTypeName("const ALchar *")] sbyte message
+ ) => DebugMessageInsertEXT((int)source, (int)type, id, (int)severity, 1, (sbyte*)&message);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeferUpdatesDirectSOFT")]
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"],
+ RequireAll = true
+ )]
+ public static extern void DeferUpdatesDirectSOFT(ContextHandle context);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeferUpdatesSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])]
+ public static extern void DeferUpdatesSOFT();
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")]
+ public static void DeleteAuxiliaryEffectSlot(
+ [NativeTypeName("const ALuint *")] uint effectslots
+ ) => DeleteAuxiliaryEffectSlots(1, (uint*)&effectslots);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteAuxiliaryEffectSlots")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void DeleteAuxiliaryEffectSlots(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* effectslots
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteAuxiliaryEffectSlots(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref effectslots
+ )
+ {
+ fixed (uint* __dsl_effectslots = effectslots)
+ {
+ DeleteAuxiliaryEffectSlots(n, __dsl_effectslots);
+ }
+ }
+
+ [DllImport(
+ "openal",
+ ExactSpelling = true,
+ EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect"
+ )]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void DeleteAuxiliaryEffectSlotsDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* effectslots
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteAuxiliaryEffectSlotsDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref effectslots
+ )
+ {
+ fixed (uint* __dsl_effectslots = effectslots)
+ {
+ DeleteAuxiliaryEffectSlotsDirect(context, n, __dsl_effectslots);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")]
+ public static void DeleteAuxiliaryEffectSlotsDirect(
+ ContextHandle context,
+ [NativeTypeName("const ALuint *")] uint effectslots
+ ) => DeleteAuxiliaryEffectSlotsDirect(context, 1, (uint*)&effectslots);
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteBuffers")]
+ public static void DeleteBuffer([NativeTypeName("const ALuint *")] uint buffers) =>
+ DeleteBuffers(1, (uint*)&buffers);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteBuffers")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void DeleteBuffers(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* buffers
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteBuffers")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteBuffers(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref buffers
+ )
+ {
+ fixed (uint* __dsl_buffers = buffers)
+ {
+ DeleteBuffers(n, __dsl_buffers);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteBuffersDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void DeleteBuffersDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* buffers
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteBuffersDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref buffers
+ )
+ {
+ fixed (uint* __dsl_buffers = buffers)
+ {
+ DeleteBuffersDirect(context, n, __dsl_buffers);
+ }
+ }
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteEffects")]
+ public static void DeleteEffect([NativeTypeName("const ALuint *")] uint effects) =>
+ DeleteEffects(1, (uint*)&effects);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteEffects")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void DeleteEffects(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* effects
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteEffects")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteEffects(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref effects
+ )
+ {
+ fixed (uint* __dsl_effects = effects)
+ {
+ DeleteEffects(n, __dsl_effects);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteEffectsDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void DeleteEffectsDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* effects
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteEffectsDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref effects
+ )
+ {
+ fixed (uint* __dsl_effects = effects)
+ {
+ DeleteEffectsDirect(context, n, __dsl_effects);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")]
+ public static void DeleteEffectsDirect(
+ ContextHandle context,
+ [NativeTypeName("const ALuint *")] uint effects
+ ) => DeleteEffectsDirect(context, 1, (uint*)&effects);
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteFilters")]
+ public static void DeleteFilter([NativeTypeName("const ALuint *")] uint filters) =>
+ DeleteFilters(1, (uint*)&filters);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteFilters")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void DeleteFilters(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* filters
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteFilters")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteFilters(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref filters
+ )
+ {
+ fixed (uint* __dsl_filters = filters)
+ {
+ DeleteFilters(n, __dsl_filters);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteFiltersDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void DeleteFiltersDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* filters
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteFiltersDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref filters
+ )
+ {
+ fixed (uint* __dsl_filters = filters)
+ {
+ DeleteFiltersDirect(context, n, __dsl_filters);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")]
+ public static void DeleteFiltersDirect(
+ ContextHandle context,
+ [NativeTypeName("const ALuint *")] uint filters
+ ) => DeleteFiltersDirect(context, 1, (uint*)&filters);
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteSources")]
+ public static void DeleteSource([NativeTypeName("const ALuint *")] uint sources) =>
+ DeleteSources(1, (uint*)&sources);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteSources")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void DeleteSources(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* sources
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteSources")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteSources(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref sources
+ )
+ {
+ fixed (uint* __dsl_sources = sources)
+ {
+ DeleteSources(n, __dsl_sources);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDeleteSourcesDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void DeleteSourcesDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] uint* sources
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void DeleteSourcesDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("const ALuint *")] Ref sources
+ )
+ {
+ fixed (uint* __dsl_sources = sources)
+ {
+ DeleteSourcesDirect(context, n, __dsl_sources);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")]
+ public static void DeleteSourcesDirect(
+ ContextHandle context,
+ [NativeTypeName("const ALuint *")] uint sources
+ ) => DeleteSourcesDirect(context, 1, (uint*)&sources);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDisable")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void Disable([NativeTypeName("ALenum")] int capability);
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDisable")]
+ public static void Disable(
+ [NativeTypeName("ALenum")] Constant capability
+ ) => Disable((int)capability);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDisableDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void DisableDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int capability
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDisableDirect")]
+ public static void DisableDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant capability
+ ) => DisableDirect(context, (int)capability);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDistanceModel")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void DistanceModel([NativeTypeName("ALenum")] int distanceModel);
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDistanceModel")]
+ public static void DistanceModel(
+ [NativeTypeName("ALenum")] Constant distanceModel
+ ) => DistanceModel((int)distanceModel);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDistanceModelDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void DistanceModelDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int distanceModel
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")]
+ public static void DistanceModelDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant distanceModel
+ ) => DistanceModelDirect(context, (int)distanceModel);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDopplerFactor")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void DopplerFactor([NativeTypeName("ALfloat")] float value);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDopplerFactorDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void DopplerFactorDirect(
+ ContextHandle context,
+ [NativeTypeName("ALfloat")] float value
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alDopplerVelocity")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void DopplerVelocity([NativeTypeName("ALfloat")] float value);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEffectf")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void Effect(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat")] float flValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEffectfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void EffectDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat")] float flValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEffectfv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void Effect(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEffectfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void Effect(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ Effect(effect, param1, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEffectfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void EffectDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEffectfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void EffectDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ EffectDirect(context, effect, param2, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEffecti")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void Effect(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint")] int iValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEffectiDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void EffectDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint")] int iValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEffectiv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void Effect(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEffectiv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void Effect(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ Effect(effect, param1, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEffectivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void EffectDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEffectivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void EffectDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ EffectDirect(context, effect, param2, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEnable")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void Enable([NativeTypeName("ALenum")] int capability);
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEnable")]
+ public static void Enable(
+ [NativeTypeName("ALenum")] Constant capability
+ ) => Enable((int)capability);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEnableDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void EnableDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int capability
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEnableDirect")]
+ public static void EnableDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant capability
+ ) => EnableDirect(context, (int)capability);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEventCallbackDirectSOFT")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ public static extern void EventCallbackDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback,
+ void* userParam
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEventCallbackDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void EventCallbackDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback,
+ Ref userParam
+ )
+ {
+ fixed (void* __dsl_userParam = userParam)
+ {
+ EventCallbackDirectSOFT(context, callback, __dsl_userParam);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEventCallbackSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_events"])]
+ public static extern void EventCallbackSOFT(
+ [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback,
+ void* userParam
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_events"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void EventCallbackSOFT(
+ [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback,
+ Ref userParam
+ )
+ {
+ fixed (void* __dsl_userParam = userParam)
+ {
+ EventCallbackSOFT(callback, __dsl_userParam);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEventControlDirectSOFT")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ public static extern void EventControlDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int count,
+ [NativeTypeName("const ALenum *")] int* types,
+ [NativeTypeName("ALboolean")] sbyte enable
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void EventControlDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int count,
+ [NativeTypeName("const ALenum *")] Ref types,
+ [NativeTypeName("ALboolean")] MaybeBool enable
+ )
+ {
+ fixed (int* __dsl_types = types)
+ {
+ EventControlDirectSOFT(context, count, __dsl_types, (sbyte)enable);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")]
+ public static void EventControlDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("const ALenum *")] int types,
+ [NativeTypeName("ALboolean")] MaybeBool enable
+ ) => EventControlDirectSOFT(context, 1, (int*)&types, (sbyte)enable);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alEventControlSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_events"])]
+ public static extern void EventControlSOFT(
+ [NativeTypeName("ALsizei")] int count,
+ [NativeTypeName("const ALenum *")] int* types,
+ [NativeTypeName("ALboolean")] sbyte enable
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_events"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEventControlSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void EventControlSOFT(
+ [NativeTypeName("ALsizei")] int count,
+ [NativeTypeName("const ALenum *")] Ref types,
+ [NativeTypeName("ALboolean")] MaybeBool enable
+ )
+ {
+ fixed (int* __dsl_types = types)
+ {
+ EventControlSOFT(count, __dsl_types, (sbyte)enable);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_SOFT_events"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alEventControlSOFT")]
+ public static void EventControlSOFT(
+ [NativeTypeName("const ALenum *")] int types,
+ [NativeTypeName("ALboolean")] MaybeBool enable
+ ) => EventControlSOFT(1, (int*)&types, (sbyte)enable);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alFilterf")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void Filter(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat")] float flValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alFilterfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void FilterDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat")] float flValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alFilterfv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void Filter(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alFilterfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void Filter(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ Filter(filter, param1, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alFilterfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void FilterDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alFilterfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void FilterDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ FilterDirect(context, filter, param2, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alFilteri")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void Filter(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint")] int iValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alFilteriDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void FilterDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint")] int iValue
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alFilteriv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void Filter(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alFilteriv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void Filter(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("const ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ Filter(filter, param1, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alFilterivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void FilterDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alFilterivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void FilterDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("const ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ FilterDirect(context, filter, param2, __dsl_piValues);
+ }
+ }
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")]
+ public static uint GenAuxiliaryEffectSlot()
+ {
+ uint effectslots = default;
+ GenAuxiliaryEffectSlots(1, (uint*)&effectslots);
+ return effectslots;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenAuxiliaryEffectSlots")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GenAuxiliaryEffectSlots(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* effectslots
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenAuxiliaryEffectSlots(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref effectslots
+ )
+ {
+ fixed (uint* __dsl_effectslots = effectslots)
+ {
+ GenAuxiliaryEffectSlots(n, __dsl_effectslots);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenAuxiliaryEffectSlotsDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GenAuxiliaryEffectSlotsDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* effectslots
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenAuxiliaryEffectSlotsDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref effectslots
+ )
+ {
+ fixed (uint* __dsl_effectslots = effectslots)
+ {
+ GenAuxiliaryEffectSlotsDirect(context, n, __dsl_effectslots);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")]
+ public static uint GenAuxiliaryEffectSlotsDirect(ContextHandle context)
+ {
+ uint effectslots = default;
+ GenAuxiliaryEffectSlotsDirect(context, 1, (uint*)&effectslots);
+ return effectslots;
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenBuffers")]
+ public static uint GenBuffer()
+ {
+ uint buffers = default;
+ GenBuffers(1, (uint*)&buffers);
+ return buffers;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenBuffers")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GenBuffers(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* buffers
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenBuffers")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenBuffers(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref buffers
+ )
+ {
+ fixed (uint* __dsl_buffers = buffers)
+ {
+ GenBuffers(n, __dsl_buffers);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenBuffersDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GenBuffersDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* buffers
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenBuffersDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref buffers
+ )
+ {
+ fixed (uint* __dsl_buffers = buffers)
+ {
+ GenBuffersDirect(context, n, __dsl_buffers);
+ }
+ }
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenEffects")]
+ public static uint GenEffect()
+ {
+ uint effects = default;
+ GenEffects(1, (uint*)&effects);
+ return effects;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenEffects")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GenEffects(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* effects
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenEffects")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenEffects(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref effects
+ )
+ {
+ fixed (uint* __dsl_effects = effects)
+ {
+ GenEffects(n, __dsl_effects);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenEffectsDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GenEffectsDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* effects
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenEffectsDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref effects
+ )
+ {
+ fixed (uint* __dsl_effects = effects)
+ {
+ GenEffectsDirect(context, n, __dsl_effects);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")]
+ public static uint GenEffectsDirect(ContextHandle context)
+ {
+ uint effects = default;
+ GenEffectsDirect(context, 1, (uint*)&effects);
+ return effects;
+ }
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenFilters")]
+ public static uint GenFilter()
+ {
+ uint filters = default;
+ GenFilters(1, (uint*)&filters);
+ return filters;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenFilters")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GenFilters(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* filters
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenFilters")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenFilters(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref filters
+ )
+ {
+ fixed (uint* __dsl_filters = filters)
+ {
+ GenFilters(n, __dsl_filters);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenFiltersDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GenFiltersDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* filters
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenFiltersDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref filters
+ )
+ {
+ fixed (uint* __dsl_filters = filters)
+ {
+ GenFiltersDirect(context, n, __dsl_filters);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")]
+ public static uint GenFiltersDirect(ContextHandle context)
+ {
+ uint filters = default;
+ GenFiltersDirect(context, 1, (uint*)&filters);
+ return filters;
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenSources")]
+ public static uint GenSource()
+ {
+ uint sources = default;
+ GenSources(1, (uint*)&sources);
+ return sources;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenSources")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GenSources(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* sources
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenSources")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenSources(
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref sources
+ )
+ {
+ fixed (uint* __dsl_sources = sources)
+ {
+ GenSources(n, __dsl_sources);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGenSourcesDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GenSourcesDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] uint* sources
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GenSourcesDirect(
+ ContextHandle context,
+ [NativeTypeName("ALsizei")] int n,
+ [NativeTypeName("ALuint *")] Ref sources
+ )
+ {
+ fixed (uint* __dsl_sources = sources)
+ {
+ GenSourcesDirect(context, n, __dsl_sources);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")]
+ public static uint GenSourcesDirect(ContextHandle context)
+ {
+ uint sources = default;
+ GenSourcesDirect(context, 1, (uint*)&sources);
+ return sources;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetAuxiliaryEffectSlotf")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetAuxiliaryEffectSlotf(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* flValue
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetAuxiliaryEffectSlotf(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref flValue
+ )
+ {
+ fixed (float* __dsl_flValue = flValue)
+ {
+ GetAuxiliaryEffectSlotf(effectslot, param1, __dsl_flValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetAuxiliaryEffectSlotfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetAuxiliaryEffectSlotfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* pflValue
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetAuxiliaryEffectSlotfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref pflValue
+ )
+ {
+ fixed (float* __dsl_pflValue = pflValue)
+ {
+ GetAuxiliaryEffectSlotfDirect(context, effectslot, param2, __dsl_pflValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetAuxiliaryEffectSlotfv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetAuxiliaryEffectSlotfv(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetAuxiliaryEffectSlotfv(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ GetAuxiliaryEffectSlotfv(effectslot, param1, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetAuxiliaryEffectSlotfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetAuxiliaryEffectSlotfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetAuxiliaryEffectSlotfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ GetAuxiliaryEffectSlotfvDirect(context, effectslot, param2, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetAuxiliaryEffectSloti")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetAuxiliaryEffectSloti(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* iValue
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetAuxiliaryEffectSloti(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref iValue
+ )
+ {
+ fixed (int* __dsl_iValue = iValue)
+ {
+ GetAuxiliaryEffectSloti(effectslot, param1, __dsl_iValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetAuxiliaryEffectSlotiDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetAuxiliaryEffectSlotiDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* piValue
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetAuxiliaryEffectSlotiDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref piValue
+ )
+ {
+ fixed (int* __dsl_piValue = piValue)
+ {
+ GetAuxiliaryEffectSlotiDirect(context, effectslot, param2, __dsl_piValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetAuxiliaryEffectSlotiv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetAuxiliaryEffectSlotiv(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetAuxiliaryEffectSlotiv(
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ GetAuxiliaryEffectSlotiv(effectslot, param1, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetAuxiliaryEffectSlotivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetAuxiliaryEffectSlotivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetAuxiliaryEffectSlotivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effectslot,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ GetAuxiliaryEffectSlotivDirect(context, effectslot, param2, __dsl_piValues);
+ }
+ }
+
+ [return: NativeTypeName("ALboolean")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBoolean")]
+ public static MaybeBool GetBoolean([NativeTypeName("ALenum")] int param0) =>
+ (MaybeBool)(sbyte)GetBooleanRaw(param0);
+
+ [return: NativeTypeName("ALboolean")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")]
+ public static MaybeBool GetBooleanDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1
+ ) => (MaybeBool)(sbyte)GetBooleanDirectRaw(context, param1);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBooleanDirect")]
+ [return: NativeTypeName("ALboolean")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern sbyte GetBooleanDirectRaw(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBoolean")]
+ [return: NativeTypeName("ALboolean")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern sbyte GetBooleanRaw([NativeTypeName("ALenum")] int param0);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBooleanv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetBoolean(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALboolean *")] sbyte* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBooleanv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBoolean(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALboolean *")] Ref values
+ )
+ {
+ fixed (sbyte* __dsl_values = values)
+ {
+ GetBoolean(param0, __dsl_values);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBooleanv")]
+ public static sbyte GetBoolean()
+ {
+ sbyte values = default;
+ GetBoolean(1, (sbyte*)&values);
+ return values;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBooleanvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetBooleanDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALboolean *")] sbyte* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBooleanDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALboolean *")] Ref values
+ )
+ {
+ fixed (sbyte* __dsl_values = values)
+ {
+ GetBooleanDirect(context, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBuffer3f")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetBuffer3(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* value1,
+ [NativeTypeName("ALfloat *")] float* value2,
+ [NativeTypeName("ALfloat *")] float* value3
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBuffer3f")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBuffer3(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref value1,
+ [NativeTypeName("ALfloat *")] Ref value2,
+ [NativeTypeName("ALfloat *")] Ref value3
+ )
+ {
+ fixed (float* __dsl_value3 = value3)
+ fixed (float* __dsl_value2 = value2)
+ fixed (float* __dsl_value1 = value1)
+ {
+ GetBuffer3(buffer, param1, __dsl_value1, __dsl_value2, __dsl_value3);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBuffer3fDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetBuffer3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* value1,
+ [NativeTypeName("ALfloat *")] float* value2,
+ [NativeTypeName("ALfloat *")] float* value3
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBuffer3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref value1,
+ [NativeTypeName("ALfloat *")] Ref value2,
+ [NativeTypeName("ALfloat *")] Ref value3
+ )
+ {
+ fixed (float* __dsl_value3 = value3)
+ fixed (float* __dsl_value2 = value2)
+ fixed (float* __dsl_value1 = value1)
+ {
+ GetBuffer3Direct(context, buffer, param2, __dsl_value1, __dsl_value2, __dsl_value3);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBuffer3i")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetBuffer3(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* value1,
+ [NativeTypeName("ALint *")] int* value2,
+ [NativeTypeName("ALint *")] int* value3
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBuffer3i")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBuffer3(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref value1,
+ [NativeTypeName("ALint *")] Ref value2,
+ [NativeTypeName("ALint *")] Ref value3
+ )
+ {
+ fixed (int* __dsl_value3 = value3)
+ fixed (int* __dsl_value2 = value2)
+ fixed (int* __dsl_value1 = value1)
+ {
+ GetBuffer3(buffer, param1, __dsl_value1, __dsl_value2, __dsl_value3);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBuffer3iDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetBuffer3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* value1,
+ [NativeTypeName("ALint *")] int* value2,
+ [NativeTypeName("ALint *")] int* value3
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBuffer3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref value1,
+ [NativeTypeName("ALint *")] Ref value2,
+ [NativeTypeName("ALint *")] Ref value3
+ )
+ {
+ fixed (int* __dsl_value3 = value3)
+ fixed (int* __dsl_value2 = value2)
+ fixed (int* __dsl_value1 = value1)
+ {
+ GetBuffer3Direct(context, buffer, param2, __dsl_value1, __dsl_value2, __dsl_value3);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBuffer3PtrDirectSOFT")]
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"],
+ RequireAll = true
+ )]
+ public static extern void GetBuffer3PtrDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALvoid **")] void** ptr0,
+ [NativeTypeName("ALvoid **")] void** ptr1,
+ [NativeTypeName("ALvoid **")] void** ptr2
+ );
+
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"],
+ RequireAll = true
+ )]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBuffer3PtrDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALvoid **")] Ref2D ptr0,
+ [NativeTypeName("ALvoid **")] Ref2D ptr1,
+ [NativeTypeName("ALvoid **")] Ref2D ptr2
+ )
+ {
+ fixed (void** __dsl_ptr2 = ptr2)
+ fixed (void** __dsl_ptr1 = ptr1)
+ fixed (void** __dsl_ptr0 = ptr0)
+ {
+ GetBuffer3PtrDirectSOFT(
+ context,
+ buffer,
+ param2,
+ __dsl_ptr0,
+ __dsl_ptr1,
+ __dsl_ptr2
+ );
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBuffer3PtrSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])]
+ public static extern void GetBuffer3PtrSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALvoid **")] void** ptr0,
+ [NativeTypeName("ALvoid **")] void** ptr1,
+ [NativeTypeName("ALvoid **")] void** ptr2
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBuffer3PtrSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALvoid **")] Ref2D ptr0,
+ [NativeTypeName("ALvoid **")] Ref2D ptr1,
+ [NativeTypeName("ALvoid **")] Ref2D ptr2
+ )
+ {
+ fixed (void** __dsl_ptr2 = ptr2)
+ fixed (void** __dsl_ptr1 = ptr1)
+ fixed (void** __dsl_ptr0 = ptr0)
+ {
+ GetBuffer3PtrSOFT(buffer, param1, __dsl_ptr0, __dsl_ptr1, __dsl_ptr2);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferf")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetBufferf(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* value
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferf")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferf(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref value
+ )
+ {
+ fixed (float* __dsl_value = value)
+ {
+ GetBufferf(buffer, param1, __dsl_value);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetBufferfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* value
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferfDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref value
+ )
+ {
+ fixed (float* __dsl_value = value)
+ {
+ GetBufferfDirect(context, buffer, param2, __dsl_value);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferfv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetBufferfv(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferfv(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref values
+ )
+ {
+ fixed (float* __dsl_values = values)
+ {
+ GetBufferfv(buffer, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetBufferfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref values
+ )
+ {
+ fixed (float* __dsl_values = values)
+ {
+ GetBufferfvDirect(context, buffer, param2, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferi")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetBufferi(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* value
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferi")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferi(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref value
+ )
+ {
+ fixed (int* __dsl_value = value)
+ {
+ GetBufferi(buffer, param1, __dsl_value);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferiDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetBufferiDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* value
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferiDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferiDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref value
+ )
+ {
+ fixed (int* __dsl_value = value)
+ {
+ GetBufferiDirect(context, buffer, param2, __dsl_value);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferiv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetBufferiv(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferiv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferiv(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref values
+ )
+ {
+ fixed (int* __dsl_values = values)
+ {
+ GetBufferiv(buffer, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetBufferivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref values
+ )
+ {
+ fixed (int* __dsl_values = values)
+ {
+ GetBufferivDirect(context, buffer, param2, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferPtrDirectSOFT")]
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"],
+ RequireAll = true
+ )]
+ public static extern void GetBufferPtrDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALvoid **")] void** ptr
+ );
+
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"],
+ RequireAll = true
+ )]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferPtrDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferPtrDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALvoid **")] Ref2D ptr
+ )
+ {
+ fixed (void** __dsl_ptr = ptr)
+ {
+ GetBufferPtrDirectSOFT(context, buffer, param2, __dsl_ptr);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferPtrSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])]
+ public static extern void GetBufferPtrSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALvoid **")] void** ptr
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferPtrSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferPtrSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALvoid **")] Ref2D ptr
+ )
+ {
+ fixed (void** __dsl_ptr = ptr)
+ {
+ GetBufferPtrSOFT(buffer, param1, __dsl_ptr);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferPtrvDirectSOFT")]
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"],
+ RequireAll = true
+ )]
+ public static extern void GetBufferPtrvDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALvoid **")] void** ptr
+ );
+
+ [SupportedApiProfile(
+ "al",
+ ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"],
+ RequireAll = true
+ )]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferPtrvDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferPtrvDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALvoid **")] Ref2D ptr
+ )
+ {
+ fixed (void** __dsl_ptr = ptr)
+ {
+ GetBufferPtrvDirectSOFT(context, buffer, param2, __dsl_ptr);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferPtrvSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])]
+ public static extern void GetBufferPtrvSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALvoid **")] void** ptr
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferPtrvSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferPtrvSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALvoid **")] Ref2D ptr
+ )
+ {
+ fixed (void** __dsl_ptr = ptr)
+ {
+ GetBufferPtrvSOFT(buffer, param1, __dsl_ptr);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetBufferSamplesSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])]
+ public static extern void GetBufferSamplesSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALsizei")] int offset,
+ [NativeTypeName("ALsizei")] int samples,
+ [NativeTypeName("ALenum")] int channels,
+ [NativeTypeName("ALenum")] int type,
+ [NativeTypeName("ALvoid *")] void* data
+ );
+
+ [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetBufferSamplesSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetBufferSamplesSOFT(
+ [NativeTypeName("ALuint")] uint buffer,
+ [NativeTypeName("ALsizei")] int offset,
+ [NativeTypeName("ALsizei")] int samples,
+ [NativeTypeName("ALenum")] Constant channels,
+ [NativeTypeName("ALenum")] Constant type,
+ [NativeTypeName("ALvoid *")] Ref data
+ )
+ {
+ fixed (void* __dsl_data = data)
+ {
+ GetBufferSamplesSOFT(buffer, offset, samples, (int)channels, (int)type, __dsl_data);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetDebugMessageLogDirectEXT")]
+ [return: NativeTypeName("ALuint")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ public static extern uint GetDebugMessageLogDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint count,
+ [NativeTypeName("ALsizei")] int logBufSize,
+ [NativeTypeName("ALenum *")] int* sources,
+ [NativeTypeName("ALenum *")] int* types,
+ [NativeTypeName("ALuint *")] uint* ids,
+ [NativeTypeName("ALenum *")] int* severities,
+ [NativeTypeName("ALsizei *")] int* lengths,
+ [NativeTypeName("ALchar *")] sbyte* logBuf
+ );
+
+ [return: NativeTypeName("ALuint")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static uint GetDebugMessageLogDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint count,
+ [NativeTypeName("ALsizei")] int logBufSize,
+ [NativeTypeName("ALenum *")] Ref sources,
+ [NativeTypeName("ALenum *")] Ref types,
+ [NativeTypeName("ALuint *")] Ref ids,
+ [NativeTypeName("ALenum *")] Ref severities,
+ [NativeTypeName("ALsizei *")] Ref lengths,
+ [NativeTypeName("ALchar *")] Ref logBuf
+ )
+ {
+ fixed (sbyte* __dsl_logBuf = logBuf)
+ fixed (int* __dsl_lengths = lengths)
+ fixed (int* __dsl_severities = severities)
+ fixed (uint* __dsl_ids = ids)
+ fixed (int* __dsl_types = types)
+ fixed (int* __dsl_sources = sources)
+ {
+ return (uint)GetDebugMessageLogDirectEXT(
+ context,
+ count,
+ logBufSize,
+ __dsl_sources,
+ __dsl_types,
+ __dsl_ids,
+ __dsl_severities,
+ __dsl_lengths,
+ __dsl_logBuf
+ );
+ }
+ }
+
+ [return: NativeTypeName("ALuint")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static uint GetDebugMessageLogDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint count,
+ [NativeTypeName("ALsizei")] int logBufSize,
+ [NativeTypeName("ALenum *")] Ref sources,
+ [NativeTypeName("ALenum *")] Ref types,
+ [NativeTypeName("ALuint *")] Ref ids,
+ [NativeTypeName("ALenum *")] Ref severities,
+ [NativeTypeName("ALsizei *")] Ref lengths,
+ [NativeTypeName("ALchar *")] Ref logBuf
+ )
+ {
+ fixed (sbyte* __dsl_logBuf = logBuf)
+ fixed (int* __dsl_lengths = lengths)
+ fixed (ALEnum* __dsl_severities = severities)
+ fixed (uint* __dsl_ids = ids)
+ fixed (ALEnum* __dsl_types = types)
+ fixed (ALEnum* __dsl_sources = sources)
+ {
+ return (uint)GetDebugMessageLogDirectEXT(
+ context,
+ count,
+ logBufSize,
+ (int*)__dsl_sources,
+ (int*)__dsl_types,
+ __dsl_ids,
+ (int*)__dsl_severities,
+ __dsl_lengths,
+ __dsl_logBuf
+ );
+ }
+ }
+
+ [return: NativeTypeName("ALuint")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static uint GetDebugMessageLogDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint count,
+ [NativeTypeName("ALsizei")] int logBufSize,
+ [NativeTypeName("ALenum *")] Ref sources,
+ [NativeTypeName("ALenum *")] Ref types,
+ [NativeTypeName("ALuint *")] Ref ids,
+ [NativeTypeName("ALenum *")] Ref severities,
+ [NativeTypeName("ALsizei *")] Ref lengths,
+ [NativeTypeName("ALchar *")] Ref logBuf
+ )
+ {
+ fixed (sbyte* __dsl_logBuf = logBuf)
+ fixed (int* __dsl_lengths = lengths)
+ fixed (DebugSeverityEXT* __dsl_severities = severities)
+ fixed (uint* __dsl_ids = ids)
+ fixed (DebugTypeEXT* __dsl_types = types)
+ fixed (DebugSourceEXT* __dsl_sources = sources)
+ {
+ return (uint)GetDebugMessageLogDirectEXT(
+ context,
+ count,
+ logBufSize,
+ (int*)__dsl_sources,
+ (int*)__dsl_types,
+ __dsl_ids,
+ (int*)__dsl_severities,
+ __dsl_lengths,
+ __dsl_logBuf
+ );
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetDebugMessageLogEXT")]
+ [return: NativeTypeName("ALuint")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ public static extern uint GetDebugMessageLogEXT(
+ [NativeTypeName("ALuint")] uint count,
+ [NativeTypeName("ALsizei")] int logBufSize,
+ [NativeTypeName("ALenum *")] int* sources,
+ [NativeTypeName("ALenum *")] int* types,
+ [NativeTypeName("ALuint *")] uint* ids,
+ [NativeTypeName("ALenum *")] int* severities,
+ [NativeTypeName("ALsizei *")] int* lengths,
+ [NativeTypeName("ALchar *")] sbyte* logBuf
+ );
+
+ [return: NativeTypeName("ALuint")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static uint GetDebugMessageLogEXT(
+ [NativeTypeName("ALuint")] uint count,
+ [NativeTypeName("ALsizei")] int logBufSize,
+ [NativeTypeName("ALenum *")] Ref sources,
+ [NativeTypeName("ALenum *")] Ref types,
+ [NativeTypeName("ALuint *")] Ref ids,
+ [NativeTypeName("ALenum *")] Ref severities,
+ [NativeTypeName("ALsizei *")] Ref lengths,
+ [NativeTypeName("ALchar *")] Ref logBuf
+ )
+ {
+ fixed (sbyte* __dsl_logBuf = logBuf)
+ fixed (int* __dsl_lengths = lengths)
+ fixed (int* __dsl_severities = severities)
+ fixed (uint* __dsl_ids = ids)
+ fixed (int* __dsl_types = types)
+ fixed (int* __dsl_sources = sources)
+ {
+ return (uint)GetDebugMessageLogEXT(
+ count,
+ logBufSize,
+ __dsl_sources,
+ __dsl_types,
+ __dsl_ids,
+ __dsl_severities,
+ __dsl_lengths,
+ __dsl_logBuf
+ );
+ }
+ }
+
+ [return: NativeTypeName("ALuint")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static uint GetDebugMessageLogEXT(
+ [NativeTypeName("ALuint")] uint count,
+ [NativeTypeName("ALsizei")] int logBufSize,
+ [NativeTypeName("ALenum *")] Ref sources,
+ [NativeTypeName("ALenum *")] Ref types,
+ [NativeTypeName("ALuint *")] Ref ids,
+ [NativeTypeName("ALenum *")] Ref severities,
+ [NativeTypeName("ALsizei *")] Ref lengths,
+ [NativeTypeName("ALchar *")] Ref logBuf
+ )
+ {
+ fixed (sbyte* __dsl_logBuf = logBuf)
+ fixed (int* __dsl_lengths = lengths)
+ fixed (ALEnum* __dsl_severities = severities)
+ fixed (uint* __dsl_ids = ids)
+ fixed (ALEnum* __dsl_types = types)
+ fixed (ALEnum* __dsl_sources = sources)
+ {
+ return (uint)GetDebugMessageLogEXT(
+ count,
+ logBufSize,
+ (int*)__dsl_sources,
+ (int*)__dsl_types,
+ __dsl_ids,
+ (int*)__dsl_severities,
+ __dsl_lengths,
+ __dsl_logBuf
+ );
+ }
+ }
+
+ [return: NativeTypeName("ALuint")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static uint GetDebugMessageLogEXT(
+ [NativeTypeName("ALuint")] uint count,
+ [NativeTypeName("ALsizei")] int logBufSize,
+ [NativeTypeName("ALenum *")] Ref sources,
+ [NativeTypeName("ALenum *")] Ref types,
+ [NativeTypeName("ALuint *")] Ref ids,
+ [NativeTypeName("ALenum *")] Ref severities,
+ [NativeTypeName("ALsizei *")] Ref lengths,
+ [NativeTypeName("ALchar *")] Ref logBuf
+ )
+ {
+ fixed (sbyte* __dsl_logBuf = logBuf)
+ fixed (int* __dsl_lengths = lengths)
+ fixed (DebugSeverityEXT* __dsl_severities = severities)
+ fixed (uint* __dsl_ids = ids)
+ fixed (DebugTypeEXT* __dsl_types = types)
+ fixed (DebugSourceEXT* __dsl_sources = sources)
+ {
+ return (uint)GetDebugMessageLogEXT(
+ count,
+ logBufSize,
+ (int*)__dsl_sources,
+ (int*)__dsl_types,
+ __dsl_ids,
+ (int*)__dsl_severities,
+ __dsl_lengths,
+ __dsl_logBuf
+ );
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetDouble")]
+ [return: NativeTypeName("ALdouble")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern double GetDouble([NativeTypeName("ALenum")] int param0);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetDoubleDirect")]
+ [return: NativeTypeName("ALdouble")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern double GetDoubleDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetDoublev")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetDouble(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALdouble *")] double* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDoublev")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetDouble(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALdouble *")] Ref values
+ )
+ {
+ fixed (double* __dsl_values = values)
+ {
+ GetDouble(param0, __dsl_values);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDoublev")]
+ public static double GetDouble()
+ {
+ double values = default;
+ GetDouble(1, (double*)&values);
+ return values;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetDoublevDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetDoubleDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALdouble *")] double* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetDoubleDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALdouble *")] Ref values
+ )
+ {
+ fixed (double* __dsl_values = values)
+ {
+ GetDoubleDirect(context, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEffectf")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetEffectf(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* flValue
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEffectf")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetEffectf(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref flValue
+ )
+ {
+ fixed (float* __dsl_flValue = flValue)
+ {
+ GetEffectf(effect, param1, __dsl_flValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEffectfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetEffectfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* pflValue
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEffectfDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetEffectfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref pflValue
+ )
+ {
+ fixed (float* __dsl_pflValue = pflValue)
+ {
+ GetEffectfDirect(context, effect, param2, __dsl_pflValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEffectfv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetEffectfv(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEffectfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetEffectfv(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ GetEffectfv(effect, param1, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEffectfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetEffectfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEffectfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetEffectfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ GetEffectfvDirect(context, effect, param2, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEffecti")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetEffecti(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* iValue
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEffecti")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetEffecti(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref iValue
+ )
+ {
+ fixed (int* __dsl_iValue = iValue)
+ {
+ GetEffecti(effect, param1, __dsl_iValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEffectiDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetEffectiDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* piValue
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEffectiDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetEffectiDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref piValue
+ )
+ {
+ fixed (int* __dsl_piValue = piValue)
+ {
+ GetEffectiDirect(context, effect, param2, __dsl_piValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEffectiv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetEffectiv(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEffectiv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetEffectiv(
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ GetEffectiv(effect, param1, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEffectivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetEffectivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEffectivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetEffectivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint effect,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ GetEffectivDirect(context, effect, param2, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEnumValue")]
+ [return: NativeTypeName("ALenum")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern int GetEnumValue([NativeTypeName("const ALchar *")] sbyte* ename);
+
+ [return: NativeTypeName("ALenum")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEnumValue")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static int GetEnumValue([NativeTypeName("const ALchar *")] Ref ename)
+ {
+ fixed (sbyte* __dsl_ename = ename)
+ {
+ return (int)GetEnumValue(__dsl_ename);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetEnumValueDirect")]
+ [return: NativeTypeName("ALenum")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern int GetEnumValueDirect(
+ ContextHandle context,
+ [NativeTypeName("const ALchar *")] sbyte* ename
+ );
+
+ [return: NativeTypeName("ALenum")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static int GetEnumValueDirect(
+ ContextHandle context,
+ [NativeTypeName("const ALchar *")] Ref ename
+ )
+ {
+ fixed (sbyte* __dsl_ename = ename)
+ {
+ return (int)GetEnumValueDirect(context, __dsl_ename);
+ }
+ }
+
+ [return: NativeTypeName("ALenum")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetError")]
+ public static Constant GetError() =>
+ (Constant)(int)GetErrorRaw();
+
+ [return: NativeTypeName("ALenum")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetErrorDirect")]
+ public static Constant GetErrorDirect(ContextHandle context) =>
+ (Constant)(int)GetErrorDirectRaw(context);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetErrorDirect")]
+ [return: NativeTypeName("ALenum")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern int GetErrorDirectRaw(ContextHandle context);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetError")]
+ [return: NativeTypeName("ALenum")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern int GetErrorRaw();
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFilterf")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetFilterf(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* flValue
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFilterf")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFilterf(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref flValue
+ )
+ {
+ fixed (float* __dsl_flValue = flValue)
+ {
+ GetFilterf(filter, param1, __dsl_flValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFilterfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetFilterfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* pflValue
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFilterfDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFilterfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref pflValue
+ )
+ {
+ fixed (float* __dsl_pflValue = pflValue)
+ {
+ GetFilterfDirect(context, filter, param2, __dsl_pflValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFilterfv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetFilterfv(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFilterfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFilterfv(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ GetFilterfv(filter, param1, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFilterfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetFilterfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] float* pflValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFilterfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFilterfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALfloat *")] Ref pflValues
+ )
+ {
+ fixed (float* __dsl_pflValues = pflValues)
+ {
+ GetFilterfvDirect(context, filter, param2, __dsl_pflValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFilteri")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetFilteri(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* iValue
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFilteri")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFilteri(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref iValue
+ )
+ {
+ fixed (int* __dsl_iValue = iValue)
+ {
+ GetFilteri(filter, param1, __dsl_iValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFilteriDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetFilteriDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* piValue
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFilteriDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFilteriDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref piValue
+ )
+ {
+ fixed (int* __dsl_piValue = piValue)
+ {
+ GetFilteriDirect(context, filter, param2, __dsl_piValue);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFilteriv")]
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ public static extern void GetFilteriv(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["ALC_EXT_EFX"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFilteriv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFilteriv(
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ GetFilteriv(filter, param1, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFilterivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ public static extern void GetFilterivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] int* piValues
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFilterivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFilterivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALuint")] uint filter,
+ [NativeTypeName("ALenum")] int param2,
+ [NativeTypeName("ALint *")] Ref piValues
+ )
+ {
+ fixed (int* __dsl_piValues = piValues)
+ {
+ GetFilterivDirect(context, filter, param2, __dsl_piValues);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFloat")]
+ [return: NativeTypeName("ALfloat")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern float GetFloat([NativeTypeName("ALenum")] int param0);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFloatDirect")]
+ [return: NativeTypeName("ALfloat")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern float GetFloatDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFloatv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetFloat(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALfloat *")] float* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFloatv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFloat(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALfloat *")] Ref values
+ )
+ {
+ fixed (float* __dsl_values = values)
+ {
+ GetFloat(param0, __dsl_values);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFloatv")]
+ public static float GetFloat()
+ {
+ float values = default;
+ GetFloat(1, (float*)&values);
+ return values;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetFloatvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetFloatDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetFloatDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref values
+ )
+ {
+ fixed (float* __dsl_values = values)
+ {
+ GetFloatDirect(context, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetInteger")]
+ [return: NativeTypeName("ALint")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern int GetInteger([NativeTypeName("ALenum")] int param0);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetIntegerDirect")]
+ [return: NativeTypeName("ALint")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern int GetIntegerDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1
+ );
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetIntegerv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetInteger(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALint *")] int* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetIntegerv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetInteger(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALint *")] Ref values
+ )
+ {
+ fixed (int* __dsl_values = values)
+ {
+ GetInteger(param0, __dsl_values);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetIntegerv")]
+ public static int GetInteger()
+ {
+ int values = default;
+ GetInteger(1, (int*)&values);
+ return values;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetIntegervDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetIntegerDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetIntegerDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref values
+ )
+ {
+ fixed (int* __dsl_values = values)
+ {
+ GetIntegerDirect(context, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListener3f")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetListener3(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALfloat *")] float* value1,
+ [NativeTypeName("ALfloat *")] float* value2,
+ [NativeTypeName("ALfloat *")] float* value3
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListener3f")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListener3(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALfloat *")] Ref value1,
+ [NativeTypeName("ALfloat *")] Ref value2,
+ [NativeTypeName("ALfloat *")] Ref value3
+ )
+ {
+ fixed (float* __dsl_value3 = value3)
+ fixed (float* __dsl_value2 = value2)
+ fixed (float* __dsl_value1 = value1)
+ {
+ GetListener3(param0, __dsl_value1, __dsl_value2, __dsl_value3);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListener3fDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetListener3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* value1,
+ [NativeTypeName("ALfloat *")] float* value2,
+ [NativeTypeName("ALfloat *")] float* value3
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListener3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref value1,
+ [NativeTypeName("ALfloat *")] Ref value2,
+ [NativeTypeName("ALfloat *")] Ref value3
+ )
+ {
+ fixed (float* __dsl_value3 = value3)
+ fixed (float* __dsl_value2 = value2)
+ fixed (float* __dsl_value1 = value1)
+ {
+ GetListener3Direct(context, param1, __dsl_value1, __dsl_value2, __dsl_value3);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListener3i")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetListener3(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALint *")] int* value1,
+ [NativeTypeName("ALint *")] int* value2,
+ [NativeTypeName("ALint *")] int* value3
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListener3i")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListener3(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALint *")] Ref value1,
+ [NativeTypeName("ALint *")] Ref value2,
+ [NativeTypeName("ALint *")] Ref value3
+ )
+ {
+ fixed (int* __dsl_value3 = value3)
+ fixed (int* __dsl_value2 = value2)
+ fixed (int* __dsl_value1 = value1)
+ {
+ GetListener3(param0, __dsl_value1, __dsl_value2, __dsl_value3);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListener3iDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetListener3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* value1,
+ [NativeTypeName("ALint *")] int* value2,
+ [NativeTypeName("ALint *")] int* value3
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListener3Direct(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref value1,
+ [NativeTypeName("ALint *")] Ref value2,
+ [NativeTypeName("ALint *")] Ref value3
+ )
+ {
+ fixed (int* __dsl_value3 = value3)
+ fixed (int* __dsl_value2 = value2)
+ fixed (int* __dsl_value1 = value1)
+ {
+ GetListener3Direct(context, param1, __dsl_value1, __dsl_value2, __dsl_value3);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListenerf")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetListenerf(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALfloat *")] float* value
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListenerf")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListenerf(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALfloat *")] Ref value
+ )
+ {
+ fixed (float* __dsl_value = value)
+ {
+ GetListenerf(param0, __dsl_value);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListenerf")]
+ public static float GetListenerf()
+ {
+ float value = default;
+ GetListenerf(1, (float*)&value);
+ return value;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListenerfDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetListenerfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* value
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListenerfDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref value
+ )
+ {
+ fixed (float* __dsl_value = value)
+ {
+ GetListenerfDirect(context, param1, __dsl_value);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListenerfv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetListenerfv(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALfloat *")] float* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListenerfv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListenerfv(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALfloat *")] Ref values
+ )
+ {
+ fixed (float* __dsl_values = values)
+ {
+ GetListenerfv(param0, __dsl_values);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListenerfv")]
+ public static float GetListenerfv()
+ {
+ float values = default;
+ GetListenerfv(1, (float*)&values);
+ return values;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListenerfvDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetListenerfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] float* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListenerfvDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALfloat *")] Ref values
+ )
+ {
+ fixed (float* __dsl_values = values)
+ {
+ GetListenerfvDirect(context, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListeneri")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetListeneri(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALint *")] int* value
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListeneri")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListeneri(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALint *")] Ref value
+ )
+ {
+ fixed (int* __dsl_value = value)
+ {
+ GetListeneri(param0, __dsl_value);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListeneri")]
+ public static int GetListeneri()
+ {
+ int value = default;
+ GetListeneri(1, (int*)&value);
+ return value;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListeneriDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetListeneriDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* value
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListeneriDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref value
+ )
+ {
+ fixed (int* __dsl_value = value)
+ {
+ GetListeneriDirect(context, param1, __dsl_value);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListeneriv")]
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ public static extern void GetListeneriv(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALint *")] int* values
+ );
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListeneriv")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListeneriv(
+ [NativeTypeName("ALenum")] int param0,
+ [NativeTypeName("ALint *")] Ref values
+ )
+ {
+ fixed (int* __dsl_values = values)
+ {
+ GetListeneriv(param0, __dsl_values);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListeneriv")]
+ public static int GetListeneriv()
+ {
+ int values = default;
+ GetListeneriv(1, (int*)&values);
+ return values;
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetListenerivDirect")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ public static extern void GetListenerivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] int* values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetListenerivDirect(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int param1,
+ [NativeTypeName("ALint *")] Ref values
+ )
+ {
+ fixed (int* __dsl_values = values)
+ {
+ GetListenerivDirect(context, param1, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetObjectLabelDirectEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ public static extern void GetObjectLabelDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int identifier,
+ [NativeTypeName("ALuint")] uint name,
+ [NativeTypeName("ALsizei")] int bufSize,
+ [NativeTypeName("ALsizei *")] int* length,
+ [NativeTypeName("ALchar *")] sbyte* label
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetObjectLabelDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant identifier,
+ [NativeTypeName("ALuint")] uint name,
+ [NativeTypeName("ALsizei")] int bufSize,
+ [NativeTypeName("ALsizei *")] Ref length,
+ [NativeTypeName("ALchar *")] Ref label
+ )
+ {
+ fixed (sbyte* __dsl_label = label)
+ fixed (int* __dsl_length = length)
+ {
+ GetObjectLabelDirectEXT(
+ context,
+ (int)identifier,
+ name,
+ bufSize,
+ __dsl_length,
+ __dsl_label
+ );
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static sbyte GetObjectLabelDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant identifier,
+ [NativeTypeName("ALuint")] uint name,
+ [NativeTypeName("ALsizei *")] Ref length
+ )
+ {
+ fixed (int* __dsl_length = length)
+ {
+ sbyte label = default;
+ GetObjectLabelDirectEXT(
+ context,
+ (int)identifier,
+ name,
+ 1,
+ __dsl_length,
+ (sbyte*)&label
+ );
+ return label;
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetObjectLabelEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ public static extern void GetObjectLabelEXT(
+ [NativeTypeName("ALenum")] int identifier,
+ [NativeTypeName("ALuint")] uint name,
+ [NativeTypeName("ALsizei")] int bufSize,
+ [NativeTypeName("ALsizei *")] int* length,
+ [NativeTypeName("ALchar *")] sbyte* label
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetObjectLabelEXT(
+ [NativeTypeName("ALenum")] Constant identifier,
+ [NativeTypeName("ALuint")] uint name,
+ [NativeTypeName("ALsizei")] int bufSize,
+ [NativeTypeName("ALsizei *")] Ref length,
+ [NativeTypeName("ALchar *")] Ref label
+ )
+ {
+ fixed (sbyte* __dsl_label = label)
+ fixed (int* __dsl_length = length)
+ {
+ GetObjectLabelEXT((int)identifier, name, bufSize, __dsl_length, __dsl_label);
+ }
+ }
+
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static sbyte GetObjectLabelEXT(
+ [NativeTypeName("ALenum")] Constant identifier,
+ [NativeTypeName("ALuint")] uint name,
+ [NativeTypeName("ALsizei *")] Ref length
+ )
+ {
+ fixed (int* __dsl_length = length)
+ {
+ sbyte label = default;
+ GetObjectLabelEXT((int)identifier, name, 1, __dsl_length, (sbyte*)&label);
+ return label;
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetPointerDirectEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ public static extern void* GetPointerDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int pname
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static Ptr GetPointerDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant pname
+ ) => (void*)GetPointerDirectEXT(context, (int)pname);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetPointerDirectSOFT")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ public static extern void* GetPointerDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int pname
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static Ptr GetPointerDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant pname
+ ) => (void*)GetPointerDirectSOFT(context, (int)pname);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetPointerEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ public static extern void* GetPointerEXT([NativeTypeName("ALenum")] int pname);
+
+ [SupportedApiProfile("al", ["AL_EXT_debug"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetPointerEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static Ptr GetPointerEXT(
+ [NativeTypeName("ALenum")] Constant pname
+ ) => (void*)GetPointerEXT((int)pname);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetPointerSOFT")]
+ [SupportedApiProfile("al", ["AL_SOFT_events"])]
+ public static extern void* GetPointerSOFT([NativeTypeName("ALenum")] int pname);
+
+ [SupportedApiProfile("al", ["AL_SOFT_events"])]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static Ptr GetPointerSOFT(
+ [NativeTypeName("ALenum")] Constant pname
+ ) => (void*)GetPointerSOFT((int)pname);
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetPointervDirectEXT")]
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ public static extern void GetPointerDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int pname,
+ void** values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetPointerDirectEXT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant pname,
+ Ref2D values
+ )
+ {
+ fixed (void** __dsl_values = values)
+ {
+ GetPointerDirectEXT(context, (int)pname, __dsl_values);
+ }
+ }
+
+ [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetPointervDirectSOFT")]
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ public static extern void GetPointerDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] int pname,
+ void** values
+ );
+
+ [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)]
+ [Transformed]
+ [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")]
+ [MethodImpl(
+ MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization
+ )]
+ public static void GetPointerDirectSOFT(
+ ContextHandle context,
+ [NativeTypeName("ALenum")] Constant