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/Silk.NET.sln b/Silk.NET.sln index 17850fdc6f..2f47eb9740 100644 --- a/Silk.NET.sln +++ b/Silk.NET.sln @@ -102,6 +102,10 @@ 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 Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -168,6 +172,10 @@ 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 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -200,6 +208,8 @@ 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} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {78D2CF6A-60A1-43E3-837B-00B73C9DA384} diff --git a/eng/build/Silk.NET.NUKE.csproj b/eng/build/Silk.NET.NUKE.csproj index f2b7e7acb5..a8c7796d58 100644 --- a/eng/build/Silk.NET.NUKE.csproj +++ b/eng/build/Silk.NET.NUKE.csproj @@ -18,4 +18,10 @@ + + + + Directory.Build\sources\OpenAL\OpenAL\Silk.NET.OpenAL.csproj + + 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..f698b9824e --- /dev/null +++ b/eng/submodules/openal-soft @@ -0,0 +1 @@ +Subproject commit f698b9824e7f99f760d404fd48a16c54cb510328 diff --git a/generator.json b/generator.json index 5ad04119db..a638a39a12 100644 --- a/generator.json +++ b/generator.json @@ -156,6 +156,100 @@ "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", + "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" + ] + }, + "AddVTables": { + "VTables": [ + { + "Kind": "DllImport" + }, + { + "Kind": "StaticWrapper" + }, + { + "Kind": "ThisThread", + "IsDefault": true + } + ] + }, + "PrettifyNames": { + "LongAcronymThreshold": 4, + "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 + }, + "BenefitOfTheDoubtArrayTransformation": true + }, + "TransformHandles": { + "AssumeMissingTypesOpaque": true, + "UseDSL": true + } } } } 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.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/ALEnum.gen.cs b/sources/OpenAL/OpenAL/Enums/ALEnum.gen.cs new file mode 100644 index 0000000000..2edc07559d --- /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..830a2772a2 --- /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 +{ + AlEffectslotGain = 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..5cdab76458 --- /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 +{ + AlSecLengthSOFT = 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..76daf3db68 --- /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..1c656acd38 --- /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 +{ + AlcContextDebugBit = 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..c5553be86f --- /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 +{ + AlCompressorOnoff = 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..a7baa39021 --- /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 +{ + AlDedicatedGain = 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..58783c3fb5 --- /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 +{ + AlFilterType = 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..8b0772feba --- /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..26e4d812ba --- /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..f82ca121b8 --- /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..47010178d3 --- /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 +{ + AlSecOffsetClockSOFT = 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..ccb5ea83f4 --- /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..76d77b82b3 --- /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/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..d5f8e0d835 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/AL.gen.cs @@ -0,0 +1,36357 @@ +// 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 AuxiliaryEffectSlotfDirect( + 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 AuxiliaryEffectSlotfvDirect( + 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 AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + AuxiliaryEffectSlotfvDirect(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 AuxiliaryEffectSlotiDirect( + 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 AuxiliaryEffectSlotivDirect( + 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 AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + AuxiliaryEffectSlotivDirect(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 Buffer3FDirect( + 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 Buffer3IDirect( + 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 BufferfDirect( + 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 BufferfvDirect( + 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 BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + BufferfvDirect(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 BufferiDirect( + 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 BufferivDirect( + 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 BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + BufferivDirect(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 EffectfDirect( + 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 EffectfvDirect( + 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 EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + EffectfvDirect(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 EffectiDirect( + 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 EffectivDirect( + 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 EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + EffectivDirect(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 FilterfDirect( + 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 FilterfvDirect( + 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 FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + FilterfvDirect(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 FilteriDirect( + 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 FilterivDirect( + 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 FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + FilterivDirect(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 GetBooleanvDirect( + 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 GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] Ref values + ) + { + fixed (sbyte* __dsl_values = values) + { + GetBooleanvDirect(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 GetBuffer3FDirect( + 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 GetBuffer3FDirect( + 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) + { + GetBuffer3FDirect( + 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 GetBuffer3IDirect( + 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 GetBuffer3IDirect( + 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) + { + GetBuffer3IDirect( + 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 GetDoublevDirect( + 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 GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + GetDoublevDirect(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 GetFloatvDirect( + 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 GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + GetFloatvDirect(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 GetIntegervDirect( + 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 GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + GetIntegervDirect(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 GetListener3FDirect( + 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 GetListener3FDirect( + 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) + { + GetListener3FDirect(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 GetListener3IDirect( + 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 GetListener3IDirect( + 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) + { + GetListener3IDirect(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 GetPointervDirectEXT( + 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 GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + GetPointervDirectEXT(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 GetPointervDirectSOFT( + 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 GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + GetPointervDirectSOFT(context, (int)pname, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetPointervEXT")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + public static extern void GetPointerEXT( + [NativeTypeName("ALenum")] int pname, + void** values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + GetPointerEXT((int)pname, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetPointervSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_events"])] + public static extern void GetPointerSOFT( + [NativeTypeName("ALenum")] int pname, + void** values + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + GetPointerSOFT((int)pname, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetProcAddress")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void* GetProcAddress([NativeTypeName("const ALchar *")] sbyte* fname); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetProcAddress([NativeTypeName("const ALchar *")] Ref fname) + { + fixed (sbyte* __dsl_fname = fname) + { + return (void*)GetProcAddress(__dsl_fname); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetProcAddressDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void* GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* fname + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref fname + ) + { + fixed (sbyte* __dsl_fname = fname) + { + return (void*)GetProcAddressDirect(context, __dsl_fname); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSource3dDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) + { + fixed (double* __dsl_value3 = value3) + fixed (double* __dsl_value2 = value2) + fixed (double* __dsl_value1 = value1) + { + GetSource3DDirectSOFT( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSource3dSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) + { + fixed (double* __dsl_value3 = value3) + fixed (double* __dsl_value2 = value2) + fixed (double* __dsl_value1 = value1) + { + GetSource3SOFT(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSource3f")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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) + { + GetSource3(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSource3fDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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) + { + GetSource3FDirect( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSource3i")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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) + { + GetSource3(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSource3i64DirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) + { + fixed (long* __dsl_value3 = value3) + fixed (long* __dsl_value2 = value2) + fixed (long* __dsl_value1 = value1) + { + GetSource3I64DirectSOFT( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSource3i64SOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) + { + fixed (long* __dsl_value3 = value3) + fixed (long* __dsl_value2 = value2) + fixed (long* __dsl_value1 = value1) + { + GetSource3SOFT(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSource3iDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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) + { + GetSource3IDirect( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcedDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value + ) + { + fixed (double* __dsl_value = value) + { + GetSourcedDirectSOFT(context, source, param2, __dsl_value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcedSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value + ) + { + fixed (double* __dsl_value = value) + { + GetSourceSOFT(source, param1, __dsl_value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcedvDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + GetSourcedvDirectSOFT(context, source, param2, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcedvSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + GetSourcedvSOFT(source, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcef")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcef")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + GetSourcef(source, param1, __dsl_value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcefDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + GetSourcefDirect(context, source, param2, __dsl_value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcefv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + GetSourcefv(source, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcefvDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + GetSourcefvDirect(context, source, param2, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcei")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcei")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + GetSourcei(source, param1, __dsl_value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcei64DirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value + ) + { + fixed (long* __dsl_value = value) + { + GetSourcei64DirectSOFT(context, source, param2, __dsl_value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcei64SOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value + ) + { + fixed (long* __dsl_value = value) + { + GetSourcei64SOFT(source, param1, __dsl_value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcei64vDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + GetSourcei64VDirectSOFT(context, source, param2, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourcei64vSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + GetSourcei64VSOFT(source, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourceiDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + GetSourceiDirect(context, source, param2, __dsl_value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourceiv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + GetSourceiv(source, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetSourceivDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + GetSourceivDirect(context, source, param2, __dsl_values); + } + } + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetString([NativeTypeName("ALenum")] int param0) => + (sbyte*)GetStringRaw(param0); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetStringDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => (sbyte*)GetStringDirectRaw(context, param1); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetStringDirect")] + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern sbyte* GetStringDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetStringiDirectSOFT")] + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + public static extern sbyte* GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => (sbyte*)GetStringiDirectSOFT(context, (int)pname, index); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetStringiSOFT")] + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + public static extern sbyte* GetStringSOFT( + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetStringSOFT( + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => (sbyte*)GetStringSOFT((int)pname, index); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alGetString")] + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte* GetStringRaw([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + public static MaybeBool IsAuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot + ) => (MaybeBool)(sbyte)IsAuxiliaryEffectSlotRaw(effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + public static MaybeBool IsAuxiliaryEffectSlotDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => (MaybeBool)(sbyte)IsAuxiliaryEffectSlotDirectRaw(context, effectslot); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + public static extern sbyte IsAuxiliaryEffectSlotDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsAuxiliaryEffectSlot")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + public static extern sbyte IsAuxiliaryEffectSlotRaw( + [NativeTypeName("ALuint")] uint effectslot + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + public static MaybeBool IsBuffer([NativeTypeName("ALuint")] uint buffer) => + (MaybeBool)(sbyte)IsBufferRaw(buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + public static MaybeBool IsBufferDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ) => (MaybeBool)(sbyte)IsBufferDirectRaw(context, buffer); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsBufferDirect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern sbyte IsBufferDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + public static MaybeBool IsBufferFormatSupporteSOFT( + [NativeTypeName("ALenum")] int format + ) => (MaybeBool)(sbyte)IsBufferFormatSupportedSOFTRaw(format); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsBufferFormatSupportedSOFT")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + public static extern sbyte IsBufferFormatSupportedSOFTRaw( + [NativeTypeName("ALenum")] int format + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsBuffer")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte IsBufferRaw([NativeTypeName("ALuint")] uint buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + public static MaybeBool IsEffect([NativeTypeName("ALuint")] uint effect) => + (MaybeBool)(sbyte)IsEffectRaw(effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + public static MaybeBool IsEffectDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ) => (MaybeBool)(sbyte)IsEffectDirectRaw(context, effect); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsEffectDirect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + public static extern sbyte IsEffectDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsEffect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + public static extern sbyte IsEffectRaw([NativeTypeName("ALuint")] uint effect); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsEnabled")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte IsEnabled([NativeTypeName("ALenum")] int capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + public static MaybeBool IsEnabled( + [NativeTypeName("ALenum")] Constant capability + ) => (MaybeBool)(sbyte)IsEnabled((int)capability); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsEnabledDirect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern sbyte IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + public static MaybeBool IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => (MaybeBool)(sbyte)IsEnabledDirect(context, (int)capability); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsExtensionPresent")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte IsExtensionPresent( + [NativeTypeName("const ALchar *")] sbyte* extname + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsExtensionPresent( + [NativeTypeName("const ALchar *")] Ref extname + ) + { + fixed (sbyte* __dsl_extname = extname) + { + return (MaybeBool)(sbyte)IsExtensionPresent(__dsl_extname); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsExtensionPresentDirect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern sbyte IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* extname + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref extname + ) + { + fixed (sbyte* __dsl_extname = extname) + { + return (MaybeBool)(sbyte)IsExtensionPresentDirect(context, __dsl_extname); + } + } + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + public static MaybeBool IsFilter([NativeTypeName("ALuint")] uint filter) => + (MaybeBool)(sbyte)IsFilterRaw(filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + public static MaybeBool IsFilterDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ) => (MaybeBool)(sbyte)IsFilterDirectRaw(context, filter); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsFilterDirect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + public static extern sbyte IsFilterDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsFilter")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + public static extern sbyte IsFilterRaw([NativeTypeName("ALuint")] uint filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSource")] + public static MaybeBool IsSource([NativeTypeName("ALuint")] uint source) => + (MaybeBool)(sbyte)IsSourceRaw(source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + public static MaybeBool IsSourceDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => (MaybeBool)(sbyte)IsSourceDirectRaw(context, source); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsSourceDirect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern sbyte IsSourceDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alIsSource")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte IsSourceRaw([NativeTypeName("ALuint")] uint source); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListener3f")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListener3fDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void Listener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListener3i")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListener3iDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void Listener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListenerf")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListenerfDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void ListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListenerfv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + Listener(param0, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListenerfvDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ListenerfvDirect(context, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListeneri")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListeneriDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void ListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListeneriv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + Listener(param0, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alListenerivDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ListenerivDirect(context, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alObjectLabelDirectEXT")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + public static extern void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) + { + fixed (sbyte* __dsl_label = label) + { + ObjectLabelDirectEXT(context, (int)identifier, name, length, __dsl_label); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + public static void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => ObjectLabelDirectEXT(context, (int)identifier, name, 1, (sbyte*)&label); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alObjectLabelEXT")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + public static extern void ObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) + { + fixed (sbyte* __dsl_label = label) + { + ObjectLabelEXT((int)identifier, name, length, __dsl_label); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + public static void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => ObjectLabelEXT((int)identifier, name, 1, (sbyte*)&label); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alPopDebugGroupDirectEXT")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + public static extern void PopDebugGroupDirectEXT(ContextHandle context); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alPopDebugGroupEXT")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + public static extern void PopDebugGroupEXT(); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alProcessUpdatesDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + public static extern void ProcessUpdatesDirectSOFT(ContextHandle context); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alProcessUpdatesSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + public static extern void ProcessUpdatesSOFT(); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alPushDebugGroupDirectEXT")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + public static extern void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) + { + fixed (sbyte* __dsl_message = message) + { + PushDebugGroupDirectEXT(context, (int)source, id, length, __dsl_message); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + public static void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => PushDebugGroupDirectEXT(context, (int)source, id, 1, (sbyte*)&message); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alPushDebugGroupEXT")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + public static extern void PushDebugGroupEXT( + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) + { + fixed (sbyte* __dsl_message = message) + { + PushDebugGroupEXT((int)source, id, length, __dsl_message); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + public static void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => PushDebugGroupEXT((int)source, id, 1, (sbyte*)&message); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alRequestFoldbackStart")] + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + public static extern void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) + { + fixed (float* __dsl_mem = mem) + { + RequestFoldbackStart(mode, count, length, __dsl_mem, callback); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alRequestFoldbackStartDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + public static extern void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) + { + fixed (float* __dsl_mem = mem) + { + RequestFoldbackStartDirect(context, mode, count, length, __dsl_mem, callback); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alRequestFoldbackStop")] + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + public static extern void RequestFoldbackStop(); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alRequestFoldbackStopDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + public static extern void RequestFoldbackStopDirect(ContextHandle context); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSource3dDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void Source3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSource3dSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSource3f")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSource3fDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void Source3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSource3i")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSource3i64DirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void Source3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSource3i64SOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSource3iDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void Source3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcedDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void SourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcedSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcedvDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] double* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + SourcedvDirectSOFT(context, source, param2, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcedvSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] double* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + SourceSOFT(source, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcef")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcefDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcefv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Source( + [NativeTypeName("ALuint")] uint source, + [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 = "alSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + Source(source, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcefvDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + SourcefvDirect(context, source, param2, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcei")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcei64DirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void Sourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcei64SOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcei64vDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + public static extern void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] long* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + Sourcei64VDirectSOFT(context, source, param2, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcei64vSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + public static extern void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + SourceSOFT(source, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceiDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceiv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void Source( + [NativeTypeName("ALuint")] uint source, + [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 = "alSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + Source(source, param1, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceivDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + SourceivDirect(context, source, param2, __dsl_values); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePause")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourcePause([NativeTypeName("ALuint")] uint source); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePauseDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourcePauseDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePausev")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourcePausev( + [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 = "alSourcePausev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePausev(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + public static void SourcePausev([NativeTypeName("const ALuint *")] uint sources) => + SourcePausev(1, (uint*)&sources); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePausevDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePausevDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + public static void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => SourcePausevDirect(context, 1, (uint*)&sources); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePlay")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourcePlay([NativeTypeName("ALuint")] uint source); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePlayAtTimeDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + public static extern void SourcePlayAtTimeDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePlayAtTimeSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + public static extern void SourcePlayAtTimeSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + public static extern void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePlayAtTimevDirectSOFT(context, n, __dsl_sources, start_time); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + public static void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => SourcePlayAtTimevDirectSOFT(context, 1, (uint*)&sources, start_time); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePlayAtTimevSOFT")] + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + public static extern void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePlayAtTimevSOFT(n, __dsl_sources, start_time); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + public static void SourcePlayAtTimevSOFT( + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => SourcePlayAtTimevSOFT(1, (uint*)&sources, start_time); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePlayDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourcePlayDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePlayv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourcePlayv( + [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 = "alSourcePlayv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePlayv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + public static void SourcePlayv([NativeTypeName("const ALuint *")] uint sources) => + SourcePlayv(1, (uint*)&sources); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourcePlayvDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePlayvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + public static void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => SourcePlayvDirect(context, 1, (uint*)&sources); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceQueueBuffers")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + SourceQueueBuffers(source, nb, __dsl_buffers); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceQueueBuffersDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + SourceQueueBuffersDirect(context, source, nb, __dsl_buffers); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceRewind")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourceRewin([NativeTypeName("ALuint")] uint source); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceRewindDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourceRewindDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceRewindv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourceRewindv( + [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 = "alSourceRewindv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourceRewindv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + public static void SourceRewindv([NativeTypeName("const ALuint *")] uint sources) => + SourceRewindv(1, (uint*)&sources); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceRewindvDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourceRewindvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + public static void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => SourceRewindvDirect(context, 1, (uint*)&sources); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceStop")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourceStop([NativeTypeName("ALuint")] uint source); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceStopDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourceStopDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceStopv")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourceStopv( + [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 = "alSourceStopv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourceStopv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + public static void SourceStopv([NativeTypeName("const ALuint *")] uint sources) => + SourceStopv(1, (uint*)&sources); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceStopvDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourceStopvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + public static void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => SourceStopvDirect(context, 1, (uint*)&sources); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceUnqueueBuffers")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + SourceUnqueueBuffers(source, nb, __dsl_buffers); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSourceUnqueueBuffersDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + SourceUnqueueBuffersDirect(context, source, nb, __dsl_buffers); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSpeedOfSound")] + [SupportedApiProfile("al", ["AL_VERSION_1_1"], MinVersion = "1.1")] + public static extern void SpeedOfSound([NativeTypeName("ALfloat")] float value); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alSpeedOfSoundDirect")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void SpeedOfSoundDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "EAXGetBufferModeDirect")] + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] int* pReserved + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] Ref pReserved + ) + { + fixed (int* __dsl_pReserved = pReserved) + { + return (int)EAXGetBufferModeDirect(context, buffer, __dsl_pReserved); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "EAXGetDirect")] + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) + { + fixed (void* __dsl_value = value) + fixed (System.Guid* __dsl_property_set_id = property_set_id) + { + return (int)EAXGetDirect( + context, + __dsl_property_set_id, + property_id, + source_id, + __dsl_value, + value_size + ); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "EAXSetBufferModeDirect")] + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern sbyte EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers, + [NativeTypeName("ALint")] int value + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers, + [NativeTypeName("ALint")] int value + ) + { + fixed (uint* __dsl_buffers = buffers) + { + return (MaybeBool) + (sbyte)EAXSetBufferModeDirect(context, n, __dsl_buffers, value); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "EAXSetDirect")] + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) + { + fixed (void* __dsl_value = value) + fixed (System.Guid* __dsl_property_set_id = property_set_id) + { + return (int)EAXSetDirect( + context, + __dsl_property_set_id, + property_id, + source_id, + __dsl_value, + value_size + ); + } + } + } + + public partial class StaticWrapper : IAL + where T : IAL.Static + { + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => T.AuxiliaryEffectSlot(effectslot, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => T.AuxiliaryEffectSlotfDirect(context, effectslot, param2, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => T.AuxiliaryEffectSlot(effectslot, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => T.AuxiliaryEffectSlot(effectslot, param1, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => T.AuxiliaryEffectSlotfvDirect(context, effectslot, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => T.AuxiliaryEffectSlotfvDirect(context, effectslot, param2, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSloti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => T.AuxiliaryEffectSlot(effectslot, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => T.AuxiliaryEffectSlotiDirect(context, effectslot, param2, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => T.AuxiliaryEffectSlot(effectslot, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ) => T.AuxiliaryEffectSlot(effectslot, param1, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => T.AuxiliaryEffectSlotivDirect(context, effectslot, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) => T.AuxiliaryEffectSlotivDirect(context, effectslot, param2, piValues); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => T.Buffer3(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Buffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => T.Buffer3FDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => T.Buffer3(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Buffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => T.Buffer3IDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferCallbackDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] void* userptr + ) => T.BufferCallbackDirectSOFT(context, buffer, format, freq, callback, userptr); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferCallbackDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] Ref userptr + ) => T.BufferCallbackDirectSOFT(context, buffer, format, freq, callback, userptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alBufferCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferCallbackSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] void* userptr + ) => T.BufferCallbackSOFT(buffer, format, freq, callback, userptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferCallbackSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] Ref userptr + ) => T.BufferCallbackSOFT(buffer, format, freq, callback, userptr); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferData")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferData( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int samplerate + ) => T.BufferData(buffer, format, data, size, 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 void BufferData( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("const ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int samplerate + ) => T.BufferData(buffer, format, data, size, samplerate); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferDataDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.BufferDataDirect(context, buffer, format, data, size, samplerate); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferDataDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.BufferDataDirect(context, buffer, format, data, size, samplerate); + + [SupportedApiProfile("al", ["AL_EXT_STATIC_BUFFER"])] + [NativeFunction("openal", EntryPoint = "alBufferDataStatic")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferDataStatic( + [NativeTypeName("const ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => T.BufferDataStatic(buffer, format, data, size, freq); + + [SupportedApiProfile("al", ["AL_EXT_STATIC_BUFFER"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferDataStatic")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferDataStatic( + [NativeTypeName("const ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => T.BufferDataStatic(buffer, format, data, size, freq); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_EXT_STATIC_BUFFER"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferDataStaticDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferDataStaticDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => T.BufferDataStaticDirect(context, buffer, format, data, size, freq); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_EXT_STATIC_BUFFER"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferDataStaticDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferDataStaticDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => T.BufferDataStaticDirect(context, buffer, format, data, size, freq); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => T.Buffer(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ) => T.BufferfDirect(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => T.Buffer(buffer, param1, 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 void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) => T.Buffer(buffer, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ) => T.BufferfvDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) => T.BufferfvDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferi")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => T.Buffer(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ) => T.BufferiDirect(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => T.Buffer(buffer, param1, 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 void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) => T.Buffer(buffer, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ) => T.BufferivDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) => T.BufferivDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alBufferSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.BufferSamplesSOFT(buffer, samplerate, internalformat, samples, channels, type, data); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.BufferSamplesSOFT(buffer, samplerate, internalformat, samples, channels, type, data); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_buffer_sub_data"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferSubDataDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.BufferSubDataDirectSOFT(context, buffer, format, data, offset, 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 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 + ) => T.BufferSubDataDirectSOFT(context, buffer, format, data, offset, length); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_sub_data"])] + [NativeFunction("openal", EntryPoint = "alBufferSubDataSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferSubDataSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int offset, + [NativeTypeName("ALsizei")] int length + ) => T.BufferSubDataSOFT(buffer, format, data, offset, length); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_sub_data"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferSubDataSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void BufferSubDataSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("const ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int offset, + [NativeTypeName("ALsizei")] int length + ) => T.BufferSubDataSOFT(buffer, format, data, offset, length); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alBufferSubSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.BufferSubSamplesSOFT(buffer, offset, samples, channels, type, data); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferSubSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.BufferSubSamplesSOFT(buffer, offset, samples, channels, type, data); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DebugMessageCallbackDirectEXT( + ContextHandle context, + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ) => T.DebugMessageCallbackDirectEXT(context, callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DebugMessageCallbackDirectEXT( + ContextHandle context, + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + Ref userParam + ) => T.DebugMessageCallbackDirectEXT(context, callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ) => T.DebugMessageCallbackEXT(callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + Ref userParam + ) => T.DebugMessageCallbackEXT(callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageControlDirectEXT(context, source, type, severity, count, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageControlDirectEXT(context, source, type, severity, count, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageControlDirectEXT(context, source, type, severity, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageControlEXT(source, type, severity, count, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageControlEXT(source, type, severity, count, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DebugMessageControlEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALuint *")] uint ids, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => T.DebugMessageControlEXT(source, type, severity, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageInsertDirectEXT(context, source, type, id, severity, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageInsertDirectEXT(context, source, type, id, severity, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageInsertDirectEXT(context, source, type, id, severity, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageInsertEXT(source, type, id, severity, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.DebugMessageInsertEXT(source, type, id, severity, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DebugMessageInsertEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALchar *")] sbyte message + ) => T.DebugMessageInsertEXT(source, type, id, severity, message); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeferUpdatesDirectSOFT(ContextHandle context) => + T.DeferUpdatesDirectSOFT(context); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeferUpdatesSOFT() => T.DeferUpdatesSOFT(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteAuxiliaryEffectSlot( + [NativeTypeName("const ALuint *")] uint effectslots + ) => T.DeleteAuxiliaryEffectSlot(effectslots); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ) => T.DeleteAuxiliaryEffectSlots(n, effectslots); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effectslots + ) => T.DeleteAuxiliaryEffectSlots(n, effectslots); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ) => T.DeleteAuxiliaryEffectSlotsDirect(context, n, effectslots); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effectslots + ) => T.DeleteAuxiliaryEffectSlotsDirect(context, n, effectslots); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effectslots + ) => T.DeleteAuxiliaryEffectSlotsDirect(context, effectslots); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteBuffer([NativeTypeName("const ALuint *")] uint buffers) => + T.DeleteBuffer(buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ) => T.DeleteBuffers(n, 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 void DeleteBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers + ) => T.DeleteBuffers(n, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ) => T.DeleteBuffersDirect(context, n, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers + ) => T.DeleteBuffersDirect(context, n, buffers); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteEffect([NativeTypeName("const ALuint *")] uint effects) => + T.DeleteEffect(effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ) => T.DeleteEffects(n, effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effects + ) => T.DeleteEffects(n, effects); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ) => T.DeleteEffectsDirect(context, n, effects); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effects + ) => T.DeleteEffectsDirect(context, n, effects); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effects + ) => T.DeleteEffectsDirect(context, effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteFilter([NativeTypeName("const ALuint *")] uint filters) => + T.DeleteFilter(filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ) => T.DeleteFilters(n, filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref filters + ) => T.DeleteFilters(n, filters); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ) => T.DeleteFiltersDirect(context, n, filters); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref filters + ) => T.DeleteFiltersDirect(context, n, filters); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint filters + ) => T.DeleteFiltersDirect(context, filters); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSources")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteSource([NativeTypeName("const ALuint *")] uint sources) => + T.DeleteSource(sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteSources")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.DeleteSources(n, 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 void DeleteSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.DeleteSources(n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.DeleteSourcesDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.DeleteSourcesDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => T.DeleteSourcesDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDisable")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Disable([NativeTypeName("ALenum")] int capability) => T.Disable(capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisable")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Disable( + [NativeTypeName("ALenum")] Constant capability + ) => T.Disable(capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => T.DisableDirect(context, capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => T.DisableDirect(context, capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DistanceModel([NativeTypeName("ALenum")] int distanceModel) => + T.DistanceModel(distanceModel); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DistanceModel( + [NativeTypeName("ALenum")] Constant distanceModel + ) => T.DistanceModel(distanceModel); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int distanceModel + ) => T.DistanceModelDirect(context, distanceModel); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant distanceModel + ) => T.DistanceModelDirect(context, distanceModel); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerFactor")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DopplerFactor([NativeTypeName("ALfloat")] float value) => + T.DopplerFactor(value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDopplerFactorDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DopplerFactorDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ) => T.DopplerFactorDirect(context, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerVelocity")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DopplerVelocity([NativeTypeName("ALfloat")] float value) => + T.DopplerVelocity(value); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => T.Effect(effect, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => T.EffectfDirect(context, effect, param2, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => T.Effect(effect, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEffectfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => T.Effect(effect, param1, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => T.EffectfvDirect(context, effect, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEffectfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => T.EffectfvDirect(context, effect, param2, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffecti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => T.Effect(effect, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => T.EffectiDirect(context, effect, param2, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => T.Effect(effect, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEffectiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ) => T.Effect(effect, param1, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => T.EffectivDirect(context, effect, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEffectivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) => T.EffectivDirect(context, effect, param2, piValues); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alEnable")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Enable([NativeTypeName("ALenum")] int capability) => T.Enable(capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnable")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Enable( + [NativeTypeName("ALenum")] Constant capability + ) => T.Enable(capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => T.EnableDirect(context, capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => T.EnableDirect(context, capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventCallbackDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ) => T.EventCallbackDirectSOFT(context, callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventCallbackDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + Ref userParam + ) => T.EventCallbackDirectSOFT(context, callback, userParam); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ) => T.EventCallbackSOFT(callback, userParam); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + Ref userParam + ) => T.EventCallbackSOFT(callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] int* types, + [NativeTypeName("ALboolean")] sbyte enable + ) => T.EventControlDirectSOFT(context, count, types, enable); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] Ref types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => T.EventControlDirectSOFT(context, count, types, enable); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => T.EventControlDirectSOFT(context, types, enable); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventControlSOFT( + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] int* types, + [NativeTypeName("ALboolean")] sbyte enable + ) => T.EventControlSOFT(count, types, enable); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventControlSOFT( + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] Ref types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => T.EventControlSOFT(count, types, enable); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventControlSOFT( + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => T.EventControlSOFT(types, enable); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => T.Filter(filter, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void FilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => T.FilterfDirect(context, filter, param2, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => T.Filter(filter, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alFilterfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => T.Filter(filter, param1, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => T.FilterfvDirect(context, filter, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alFilterfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => T.FilterfvDirect(context, filter, param2, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => T.Filter(filter, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilteriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void FilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => T.FilteriDirect(context, filter, param2, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => T.Filter(filter, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alFilteriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ) => T.Filter(filter, param1, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => T.FilterivDirect(context, filter, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alFilterivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) => T.FilterivDirect(context, filter, param2, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenAuxiliaryEffectSlot() => T.GenAuxiliaryEffectSlot(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ) => T.GenAuxiliaryEffectSlots(n, effectslots); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effectslots + ) => T.GenAuxiliaryEffectSlots(n, effectslots); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ) => T.GenAuxiliaryEffectSlotsDirect(context, n, effectslots); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effectslots + ) => T.GenAuxiliaryEffectSlotsDirect(context, n, effectslots); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenAuxiliaryEffectSlotsDirect(ContextHandle context) => + T.GenAuxiliaryEffectSlotsDirect(context); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenBuffer() => T.GenBuffer(); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ) => T.GenBuffers(n, 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 void GenBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref buffers + ) => T.GenBuffers(n, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ) => T.GenBuffersDirect(context, n, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref buffers + ) => T.GenBuffersDirect(context, n, buffers); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenEffect() => T.GenEffect(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ) => T.GenEffects(n, effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effects + ) => T.GenEffects(n, effects); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ) => T.GenEffectsDirect(context, n, effects); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effects + ) => T.GenEffectsDirect(context, n, effects); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenEffectsDirect(ContextHandle context) => T.GenEffectsDirect(context); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenFilter() => T.GenFilter(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ) => T.GenFilters(n, filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref filters + ) => T.GenFilters(n, filters); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ) => T.GenFiltersDirect(context, n, filters); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref filters + ) => T.GenFiltersDirect(context, n, filters); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenFiltersDirect(ContextHandle context) => T.GenFiltersDirect(context); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSources")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenSource() => T.GenSource(); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenSources")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ) => T.GenSources(n, 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 void GenSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref sources + ) => T.GenSources(n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ) => T.GenSourcesDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref sources + ) => T.GenSourcesDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public uint GenSourcesDirect(ContextHandle context) => T.GenSourcesDirect(context); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => T.GetAuxiliaryEffectSlotf(effectslot, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ) => T.GetAuxiliaryEffectSlotf(effectslot, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValue + ) => T.GetAuxiliaryEffectSlotfDirect(context, effectslot, param2, pflValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ) => T.GetAuxiliaryEffectSlotfDirect(context, effectslot, param2, pflValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => T.GetAuxiliaryEffectSlotfv(effectslot, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ) => T.GetAuxiliaryEffectSlotfv(effectslot, param1, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValues + ) => T.GetAuxiliaryEffectSlotfvDirect(context, effectslot, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ) => T.GetAuxiliaryEffectSlotfvDirect(context, effectslot, param2, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => T.GetAuxiliaryEffectSloti(effectslot, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ) => T.GetAuxiliaryEffectSloti(effectslot, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValue + ) => T.GetAuxiliaryEffectSlotiDirect(context, effectslot, param2, piValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ) => T.GetAuxiliaryEffectSlotiDirect(context, effectslot, param2, piValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => T.GetAuxiliaryEffectSlotiv(effectslot, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ) => T.GetAuxiliaryEffectSlotiv(effectslot, param1, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValues + ) => T.GetAuxiliaryEffectSlotivDirect(context, effectslot, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetAuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ) => T.GetAuxiliaryEffectSlotivDirect(context, effectslot, param2, piValues); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool GetBoolean([NativeTypeName("ALenum")] int param0) => + T.GetBoolean(param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool GetBooleanDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => T.GetBooleanDirect(context, param1); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte GetBooleanDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => T.GetBooleanDirectRaw(context, param1); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte GetBooleanRaw([NativeTypeName("ALenum")] int param0) => + T.GetBooleanRaw(param0); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBooleanv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBoolean( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALboolean *")] sbyte* values + ) => T.GetBoolean(param0, 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 void GetBoolean( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALboolean *")] Ref values + ) => T.GetBoolean(param0, 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 sbyte GetBoolean() => T.GetBoolean(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] sbyte* values + ) => T.GetBooleanvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] Ref values + ) => T.GetBooleanvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => T.GetBuffer3(buffer, param1, value1, value2, 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 void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => T.GetBuffer3(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => T.GetBuffer3FDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => T.GetBuffer3FDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => T.GetBuffer3(buffer, param1, value1, value2, 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 void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => T.GetBuffer3(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => T.GetBuffer3IDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => T.GetBuffer3IDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3PtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] void** ptr0, + [NativeTypeName("ALvoid **")] void** ptr1, + [NativeTypeName("ALvoid **")] void** ptr2 + ) => T.GetBuffer3PtrDirectSOFT(context, buffer, param2, ptr0, ptr1, ptr2); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3PtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr0, + [NativeTypeName("ALvoid **")] Ref2D ptr1, + [NativeTypeName("ALvoid **")] Ref2D ptr2 + ) => T.GetBuffer3PtrDirectSOFT(context, buffer, param2, ptr0, ptr1, ptr2); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3PtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr0, + [NativeTypeName("ALvoid **")] void** ptr1, + [NativeTypeName("ALvoid **")] void** ptr2 + ) => T.GetBuffer3PtrSOFT(buffer, param1, ptr0, ptr1, ptr2); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBuffer3PtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr0, + [NativeTypeName("ALvoid **")] Ref2D ptr1, + [NativeTypeName("ALvoid **")] Ref2D ptr2 + ) => T.GetBuffer3PtrSOFT(buffer, param1, ptr0, ptr1, ptr2); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferf( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => T.GetBufferf(buffer, param1, 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 void GetBufferf( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) => T.GetBufferf(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ) => T.GetBufferfDirect(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ) => T.GetBufferfDirect(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferfv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => T.GetBufferfv(buffer, param1, 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 void GetBufferfv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) => T.GetBufferfv(buffer, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ) => T.GetBufferfvDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ) => T.GetBufferfvDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferi")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferi( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => T.GetBufferi(buffer, param1, 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 void GetBufferi( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) => T.GetBufferi(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ) => T.GetBufferiDirect(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ) => T.GetBufferiDirect(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferiv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => T.GetBufferiv(buffer, param1, 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 void GetBufferiv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) => T.GetBufferiv(buffer, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ) => T.GetBufferivDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ) => T.GetBufferivDirect(context, buffer, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferPtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] void** ptr + ) => T.GetBufferPtrDirectSOFT(context, buffer, param2, ptr); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferPtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr + ) => T.GetBufferPtrDirectSOFT(context, buffer, param2, ptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferPtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr + ) => T.GetBufferPtrSOFT(buffer, param1, ptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferPtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr + ) => T.GetBufferPtrSOFT(buffer, param1, ptr); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferPtrvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] void** ptr + ) => T.GetBufferPtrvDirectSOFT(context, buffer, param2, ptr); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferPtrvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr + ) => T.GetBufferPtrvDirectSOFT(context, buffer, param2, ptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferPtrvSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr + ) => T.GetBufferPtrvSOFT(buffer, param1, ptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetBufferPtrvSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr + ) => T.GetBufferPtrvSOFT(buffer, param1, ptr); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alGetBufferSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.GetBufferSamplesSOFT(buffer, offset, samples, channels, type, data); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBufferSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => T.GetBufferSamplesSOFT(buffer, offset, samples, channels, type, data); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => + T.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + 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 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 + ) => + T.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + 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 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 + ) => + T.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + 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 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 + ) => + T.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => + T.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => + T.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => + T.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public 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 + ) => + T.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDouble")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public double GetDouble([NativeTypeName("ALenum")] int param0) => T.GetDouble(param0); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoubleDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public double GetDoubleDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => T.GetDoubleDirect(context, param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDoublev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetDouble( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALdouble *")] double* values + ) => T.GetDouble(param0, 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 void GetDouble( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALdouble *")] Ref values + ) => T.GetDouble(param0, 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 double GetDouble() => T.GetDouble(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ) => T.GetDoublevDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) => T.GetDoublevDirect(context, param1, values); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => T.GetEffectf(effect, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ) => T.GetEffectf(effect, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValue + ) => T.GetEffectfDirect(context, effect, param2, pflValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ) => T.GetEffectfDirect(context, effect, param2, pflValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => T.GetEffectfv(effect, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ) => T.GetEffectfv(effect, param1, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValues + ) => T.GetEffectfvDirect(context, effect, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ) => T.GetEffectfvDirect(context, effect, param2, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffecti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => T.GetEffecti(effect, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffecti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ) => T.GetEffecti(effect, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValue + ) => T.GetEffectiDirect(context, effect, param2, piValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ) => T.GetEffectiDirect(context, effect, param2, piValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => T.GetEffectiv(effect, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ) => T.GetEffectiv(effect, param1, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValues + ) => T.GetEffectivDirect(context, effect, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetEffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ) => T.GetEffectivDirect(context, effect, param2, piValues); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetEnumValue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEnumValue([NativeTypeName("const ALchar *")] sbyte* ename) => + T.GetEnumValue(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 int GetEnumValue([NativeTypeName("const ALchar *")] Ref ename) => + T.GetEnumValue(ename); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* ename + ) => T.GetEnumValueDirect(context, ename); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref ename + ) => T.GetEnumValueDirect(context, ename); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetError")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Constant GetError() => T.GetError(); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Constant GetErrorDirect(ContextHandle context) => + T.GetErrorDirect(context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetErrorDirectRaw(ContextHandle context) => T.GetErrorDirectRaw(context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetError")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetErrorRaw() => T.GetErrorRaw(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => T.GetFilterf(filter, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ) => T.GetFilterf(filter, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValue + ) => T.GetFilterfDirect(context, filter, param2, pflValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ) => T.GetFilterfDirect(context, filter, param2, pflValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => T.GetFilterfv(filter, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ) => T.GetFilterfv(filter, param1, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValues + ) => T.GetFilterfvDirect(context, filter, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ) => T.GetFilterfvDirect(context, filter, param2, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => T.GetFilteri(filter, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilteri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ) => T.GetFilteri(filter, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilteriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValue + ) => T.GetFilteriDirect(context, filter, param2, piValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilteriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ) => T.GetFilteriDirect(context, filter, param2, piValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => T.GetFilteriv(filter, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilteriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ) => T.GetFilteriv(filter, param1, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValues + ) => T.GetFilterivDirect(context, filter, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ) => T.GetFilterivDirect(context, filter, param2, piValues); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloat")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public float GetFloat([NativeTypeName("ALenum")] int param0) => T.GetFloat(param0); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public float GetFloatDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1) => + T.GetFloatDirect(context, param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloatv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFloat( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* values + ) => T.GetFloat(param0, 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 void GetFloat( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref values + ) => T.GetFloat(param0, 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 float GetFloat() => T.GetFloat(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => T.GetFloatvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) => T.GetFloatvDirect(context, param1, values); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetInteger")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetInteger([NativeTypeName("ALenum")] int param0) => T.GetInteger(param0); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegerDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetIntegerDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1) => + T.GetIntegerDirect(context, param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetInteger( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* values + ) => T.GetInteger(param0, 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 void GetInteger( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref values + ) => T.GetInteger(param0, 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 int GetInteger() => T.GetInteger(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => T.GetIntegervDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) => T.GetIntegervDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => T.GetListener3(param0, value1, value2, 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 void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => T.GetListener3(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => T.GetListener3FDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => T.GetListener3FDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => T.GetListener3(param0, value1, value2, 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 void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => T.GetListener3(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => T.GetListener3IDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => T.GetListener3IDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListenerf( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* value + ) => T.GetListenerf(param0, 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 void GetListenerf( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref value + ) => T.GetListenerf(param0, 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 float GetListenerf() => T.GetListenerf(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => T.GetListenerfDirect(context, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) => T.GetListenerfDirect(context, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListenerfv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* values + ) => T.GetListenerfv(param0, 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 void GetListenerfv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref values + ) => T.GetListenerfv(param0, 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 float GetListenerfv() => T.GetListenerfv(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => T.GetListenerfvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) => T.GetListenerfvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListeneri( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* value + ) => T.GetListeneri(param0, 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 void GetListeneri( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref value + ) => T.GetListeneri(param0, 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 int GetListeneri() => T.GetListeneri(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => T.GetListeneriDirect(context, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) => T.GetListeneriDirect(context, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListeneriv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* values + ) => T.GetListeneriv(param0, 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 void GetListeneriv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref values + ) => T.GetListeneriv(param0, 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 int GetListeneriv() => T.GetListeneriv(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => T.GetListenerivDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) => T.GetListenerivDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] int* length, + [NativeTypeName("ALchar *")] sbyte* label + ) => T.GetObjectLabelDirectEXT(context, identifier, name, bufSize, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] Ref length, + [NativeTypeName("ALchar *")] Ref label + ) => T.GetObjectLabelDirectEXT(context, identifier, name, bufSize, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei *")] Ref length + ) => T.GetObjectLabelDirectEXT(context, identifier, name, length); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] int* length, + [NativeTypeName("ALchar *")] sbyte* label + ) => T.GetObjectLabelEXT(identifier, name, bufSize, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] Ref length, + [NativeTypeName("ALchar *")] Ref label + ) => T.GetObjectLabelEXT(identifier, name, bufSize, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte GetObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei *")] Ref length + ) => T.GetObjectLabelEXT(identifier, name, length); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetPointerDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname + ) => T.GetPointerDirectEXT(context, pname); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetPointerDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname + ) => T.GetPointerDirectEXT(context, pname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetPointerDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname + ) => T.GetPointerDirectSOFT(context, pname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetPointerDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname + ) => T.GetPointerDirectSOFT(context, pname); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetPointerEXT([NativeTypeName("ALenum")] int pname) => T.GetPointerEXT(pname); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname + ) => T.GetPointerEXT(pname); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetPointerSOFT([NativeTypeName("ALenum")] int pname) => + T.GetPointerSOFT(pname); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname + ) => T.GetPointerSOFT(pname); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ) => T.GetPointervDirectEXT(context, pname, values); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) => T.GetPointervDirectEXT(context, pname, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ) => T.GetPointervDirectSOFT(context, pname, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) => T.GetPointervDirectSOFT(context, pname, values); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetPointerEXT([NativeTypeName("ALenum")] int pname, void** values) => + T.GetPointerEXT(pname, values); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) => T.GetPointerEXT(pname, values); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetPointerSOFT([NativeTypeName("ALenum")] int pname, void** values) => + T.GetPointerSOFT(pname, values); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) => T.GetPointerSOFT(pname, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetProcAddress([NativeTypeName("const ALchar *")] sbyte* fname) => + T.GetProcAddress(fname); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetProcAddress([NativeTypeName("const ALchar *")] Ref fname) => + T.GetProcAddress(fname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* fname + ) => T.GetProcAddressDirect(context, fname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref fname + ) => T.GetProcAddressDirect(context, fname); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ) => T.GetSource3DDirectSOFT(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) => T.GetSource3DDirectSOFT(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ) => T.GetSource3SOFT(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) => T.GetSource3SOFT(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => T.GetSource3(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => T.GetSource3(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => T.GetSource3FDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => T.GetSource3FDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => T.GetSource3(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => T.GetSource3(source, param1, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ) => T.GetSource3I64DirectSOFT(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) => T.GetSource3I64DirectSOFT(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ) => T.GetSource3SOFT(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) => T.GetSource3SOFT(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => T.GetSource3IDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => T.GetSource3IDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value + ) => T.GetSourcedDirectSOFT(context, source, param2, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value + ) => T.GetSourcedDirectSOFT(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value + ) => T.GetSourceSOFT(source, param1, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value + ) => T.GetSourceSOFT(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* values + ) => T.GetSourcedvDirectSOFT(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref values + ) => T.GetSourcedvDirectSOFT(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ) => T.GetSourcedvSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) => T.GetSourcedvSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcef")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => T.GetSourcef(source, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcef")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) => T.GetSourcef(source, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ) => T.GetSourcefDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ) => T.GetSourcefDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => T.GetSourcefv(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) => T.GetSourcefv(source, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ) => T.GetSourcefvDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ) => T.GetSourcefvDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcei")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => T.GetSourcei(source, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) => T.GetSourcei(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value + ) => T.GetSourcei64DirectSOFT(context, source, param2, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value + ) => T.GetSourcei64DirectSOFT(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value + ) => T.GetSourcei64SOFT(source, param1, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value + ) => T.GetSourcei64SOFT(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* values + ) => T.GetSourcei64VDirectSOFT(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref values + ) => T.GetSourcei64VDirectSOFT(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* values + ) => T.GetSourcei64VSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref values + ) => T.GetSourcei64VSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ) => T.GetSourceiDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ) => T.GetSourceiDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => T.GetSourceiv(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) => T.GetSourceiv(source, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ) => T.GetSourceivDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ) => T.GetSourceivDirect(context, source, param2, values); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetString([NativeTypeName("ALenum")] int param0) => T.GetString(param0); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetStringDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => T.GetStringDirect(context, param1); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte* GetStringDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => T.GetStringDirectRaw(context, param1); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte* GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ) => T.GetStringiDirectSOFT(context, pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => T.GetStringiDirectSOFT(context, pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte* GetStringSOFT( + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ) => T.GetStringSOFT(pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetStringSOFT( + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => T.GetStringSOFT(pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte* GetStringRaw([NativeTypeName("ALenum")] int param0) => T.GetStringRaw(param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsAuxiliaryEffectSlot([NativeTypeName("ALuint")] uint effectslot) => + T.IsAuxiliaryEffectSlot(effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsAuxiliaryEffectSlotDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => T.IsAuxiliaryEffectSlotDirect(context, effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsAuxiliaryEffectSlotDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => T.IsAuxiliaryEffectSlotDirectRaw(context, effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsAuxiliaryEffectSlotRaw([NativeTypeName("ALuint")] uint effectslot) => + T.IsAuxiliaryEffectSlotRaw(effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsBuffer([NativeTypeName("ALuint")] uint buffer) => + T.IsBuffer(buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsBufferDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ) => T.IsBufferDirect(context, buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsBufferDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ) => T.IsBufferDirectRaw(context, buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsBufferFormatSupporteSOFT([NativeTypeName("ALenum")] int format) => + T.IsBufferFormatSupporteSOFT(format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsBufferFormatSupportedSOFTRaw([NativeTypeName("ALenum")] int format) => + T.IsBufferFormatSupportedSOFTRaw(format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsBufferRaw([NativeTypeName("ALuint")] uint buffer) => T.IsBufferRaw(buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsEffect([NativeTypeName("ALuint")] uint effect) => + T.IsEffect(effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsEffectDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ) => T.IsEffectDirect(context, effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsEffectDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ) => T.IsEffectDirectRaw(context, effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsEffectRaw([NativeTypeName("ALuint")] uint effect) => T.IsEffectRaw(effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsEnabled([NativeTypeName("ALenum")] int capability) => + T.IsEnabled(capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsEnabled( + [NativeTypeName("ALenum")] Constant capability + ) => T.IsEnabled(capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => T.IsEnabledDirect(context, capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => T.IsEnabledDirect(context, capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsExtensionPresent([NativeTypeName("const ALchar *")] sbyte* extname) => + T.IsExtensionPresent(extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsExtensionPresent( + [NativeTypeName("const ALchar *")] Ref extname + ) => T.IsExtensionPresent(extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* extname + ) => T.IsExtensionPresentDirect(context, extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref extname + ) => T.IsExtensionPresentDirect(context, extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsFilter([NativeTypeName("ALuint")] uint filter) => + T.IsFilter(filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsFilterDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ) => T.IsFilterDirect(context, filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsFilterDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ) => T.IsFilterDirectRaw(context, filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsFilterRaw([NativeTypeName("ALuint")] uint filter) => T.IsFilterRaw(filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsSource([NativeTypeName("ALuint")] uint source) => + T.IsSource(source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool IsSourceDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => T.IsSourceDirect(context, source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsSourceDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => T.IsSourceDirectRaw(context, source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsSourceRaw([NativeTypeName("ALuint")] uint source) => T.IsSourceRaw(source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListener3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => T.Listener3(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => T.Listener3FDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListener3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => T.Listener3(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => T.Listener3IDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListenerf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value + ) => T.Listener(param0, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => T.ListenerfDirect(context, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] float* values + ) => T.Listener(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] Ref values + ) => T.Listener(param0, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => T.ListenerfvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) => T.ListenerfvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value + ) => T.Listener(param0, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListeneriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => T.ListeneriDirect(context, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] int* values + ) => T.Listener(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] Ref values + ) => T.Listener(param0, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => T.ListenerivDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) => T.ListenerivDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ) => T.ObjectLabelDirectEXT(context, identifier, name, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) => T.ObjectLabelDirectEXT(context, identifier, name, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => T.ObjectLabelDirectEXT(context, identifier, name, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ) => T.ObjectLabelEXT(identifier, name, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) => T.ObjectLabelEXT(identifier, name, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => T.ObjectLabelEXT(identifier, name, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void PopDebugGroupDirectEXT(ContextHandle context) => + T.PopDebugGroupDirectEXT(context); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void PopDebugGroupEXT() => T.PopDebugGroupEXT(); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ProcessUpdatesDirectSOFT(ContextHandle context) => + T.ProcessUpdatesDirectSOFT(context); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ProcessUpdatesSOFT() => T.ProcessUpdatesSOFT(); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ) => T.PushDebugGroupDirectEXT(context, source, id, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) => T.PushDebugGroupDirectEXT(context, source, id, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => T.PushDebugGroupDirectEXT(context, source, id, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void PushDebugGroupEXT( + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ) => T.PushDebugGroupEXT(source, id, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) => T.PushDebugGroupEXT(source, id, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => T.PushDebugGroupEXT(source, id, message); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => T.RequestFoldbackStart(mode, count, length, mem, callback); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => T.RequestFoldbackStart(mode, count, length, mem, callback); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => T.RequestFoldbackStartDirect(context, mode, count, length, mem, callback); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => T.RequestFoldbackStartDirect(context, mode, count, length, mem, callback); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStop")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void RequestFoldbackStop() => T.RequestFoldbackStop(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStopDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void RequestFoldbackStopDirect(ContextHandle context) => + T.RequestFoldbackStopDirect(context); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3dDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ) => T.Source3DDirectSOFT(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3dSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ) => T.Source3Soft(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSource3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => T.Source3(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => T.Source3FDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSource3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => T.Source3(source, param1, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3i64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ) => T.Source3I64DirectSOFT(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3i64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ) => T.Source3Soft(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => T.Source3IDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value + ) => T.SourcedDirectSOFT(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value + ) => T.SourceSOFT(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] double* values + ) => T.SourcedvDirectSOFT(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] Ref values + ) => T.SourcedvDirectSOFT(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] double* values + ) => T.SourceSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] Ref values + ) => T.SourceSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcef")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => T.Source(source, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ) => T.SourcefDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => T.Source(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) => T.Source(source, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ) => T.SourcefvDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) => T.SourcefvDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcei")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => T.Source(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Sourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value + ) => T.Sourcei64DirectSOFT(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value + ) => T.SourceSOFT(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] long* values + ) => T.Sourcei64VDirectSOFT(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) => T.Sourcei64VDirectSOFT(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] long* values + ) => T.SourceSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) => T.SourceSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ) => T.SourceiDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => T.Source(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) => T.Source(source, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ) => T.SourceivDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) => T.SourceivDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePause")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePause([NativeTypeName("ALuint")] uint source) => T.SourcePause(source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePauseDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePauseDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => T.SourcePauseDirect(context, source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.SourcePausev(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.SourcePausev(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePausev([NativeTypeName("const ALuint *")] uint sources) => + T.SourcePausev(sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.SourcePausevDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.SourcePausevDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => T.SourcePausevDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlay")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlay([NativeTypeName("ALuint")] uint source) => T.SourcePlay(source); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayAtTimeDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ) => T.SourcePlayAtTimeDirectSOFT(context, source, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayAtTimeSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ) => T.SourcePlayAtTimeSOFT(source, start_time); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => T.SourcePlayAtTimevDirectSOFT(context, n, sources, start_time); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => T.SourcePlayAtTimevDirectSOFT(context, n, sources, start_time); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => T.SourcePlayAtTimevDirectSOFT(context, sources, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => T.SourcePlayAtTimevSOFT(n, sources, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => T.SourcePlayAtTimevSOFT(n, sources, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayAtTimevSOFT( + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => T.SourcePlayAtTimevSOFT(sources, start_time); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => T.SourcePlayDirect(context, source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.SourcePlayv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.SourcePlayv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayv([NativeTypeName("const ALuint *")] uint sources) => + T.SourcePlayv(sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.SourcePlayvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.SourcePlayvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => T.SourcePlayvDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ) => T.SourceQueueBuffers(source, nb, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) => T.SourceQueueBuffers(source, nb, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ) => T.SourceQueueBuffersDirect(context, source, nb, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) => T.SourceQueueBuffersDirect(context, source, nb, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewind")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceRewin([NativeTypeName("ALuint")] uint source) => T.SourceRewin(source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceRewindDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => T.SourceRewindDirect(context, source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.SourceRewindv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.SourceRewindv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceRewindv([NativeTypeName("const ALuint *")] uint sources) => + T.SourceRewindv(sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.SourceRewindvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.SourceRewindvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => T.SourceRewindvDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStop")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceStop([NativeTypeName("ALuint")] uint source) => T.SourceStop(source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceStopDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => T.SourceStopDirect(context, source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.SourceStopv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.SourceStopv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceStopv([NativeTypeName("const ALuint *")] uint sources) => + T.SourceStopv(sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => T.SourceStopvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => T.SourceStopvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => T.SourceStopvDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ) => T.SourceUnqueueBuffers(source, nb, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) => T.SourceUnqueueBuffers(source, nb, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ) => T.SourceUnqueueBuffersDirect(context, source, nb, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) => T.SourceUnqueueBuffersDirect(context, source, nb, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alSpeedOfSound")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SpeedOfSound([NativeTypeName("ALfloat")] float value) => T.SpeedOfSound(value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSpeedOfSoundDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SpeedOfSoundDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ) => T.SpeedOfSoundDirect(context, value); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] int* pReserved + ) => T.EAXGetBufferModeDirect(context, buffer, pReserved); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] Ref pReserved + ) => T.EAXGetBufferModeDirect(context, buffer, pReserved); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ) => T.EAXGetDirect(context, property_set_id, property_id, source_id, value, value_size); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) => T.EAXGetDirect(context, property_set_id, property_id, source_id, value, value_size); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers, + [NativeTypeName("ALint")] int value + ) => T.EAXSetBufferModeDirect(context, n, buffers, value); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public MaybeBool EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers, + [NativeTypeName("ALint")] int value + ) => T.EAXSetBufferModeDirect(context, n, buffers, value); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ) => T.EAXSetDirect(context, property_set_id, property_id, source_id, value, value_size); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) => T.EAXSetDirect(context, property_set_id, property_id, source_id, value, value_size); + } + + public partial class ThisThread + { + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => Underlying.Value!.AuxiliaryEffectSlot(effectslot, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void AuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => Underlying.Value!.AuxiliaryEffectSlotfDirect(context, effectslot, param2, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => Underlying.Value!.AuxiliaryEffectSlot(effectslot, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => Underlying.Value!.AuxiliaryEffectSlotfvDirect(context, effectslot, param2, 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 AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + AuxiliaryEffectSlotfvDirect(context, effectslot, param2, __dsl_pflValues); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSloti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => Underlying.Value!.AuxiliaryEffectSlot(effectslot, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void AuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => Underlying.Value!.AuxiliaryEffectSlotiDirect(context, effectslot, param2, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => Underlying.Value!.AuxiliaryEffectSlot(effectslot, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => Underlying.Value!.AuxiliaryEffectSlotivDirect(context, effectslot, param2, 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 AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + AuxiliaryEffectSlotivDirect(context, effectslot, param2, __dsl_piValues); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => Underlying.Value!.Buffer3(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Buffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => Underlying.Value!.Buffer3FDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => Underlying.Value!.Buffer3(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Buffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => Underlying.Value!.Buffer3IDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferCallbackDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] void* userptr + ) => + Underlying.Value!.BufferCallbackDirectSOFT( + context, + buffer, + format, + freq, + callback, + 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 + ); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alBufferCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferCallbackSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] void* userptr + ) => Underlying.Value!.BufferCallbackSOFT(buffer, format, freq, callback, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferData")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferData( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int samplerate + ) => Underlying.Value!.BufferData(buffer, format, data, size, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferDataDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static 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 + ) => Underlying.Value!.BufferDataDirect(context, buffer, format, data, size, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_STATIC_BUFFER"])] + [NativeFunction("openal", EntryPoint = "alBufferDataStatic")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferDataStatic( + [NativeTypeName("const ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => Underlying.Value!.BufferDataStatic(buffer, format, data, size, 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); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_EXT_STATIC_BUFFER"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferDataStaticDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferDataStaticDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => Underlying.Value!.BufferDataStaticDirect(context, buffer, format, data, size, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => Underlying.Value!.Buffer(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ) => Underlying.Value!.BufferfDirect(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => Underlying.Value!.Buffer(buffer, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ) => Underlying.Value!.BufferfvDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + BufferfvDirect(context, buffer, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferi")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => Underlying.Value!.Buffer(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ) => Underlying.Value!.BufferiDirect(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => Underlying.Value!.Buffer(buffer, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ) => Underlying.Value!.BufferivDirect(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + BufferivDirect(context, buffer, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [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")] int channels, + [NativeTypeName("ALenum")] int type, + [NativeTypeName("const ALvoid *")] void* data + ) => + Underlying.Value!.BufferSamplesSOFT( + buffer, + samplerate, + internalformat, + samples, + channels, + type, + 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 + ); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_buffer_sub_data"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferSubDataDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static 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 + ) => + Underlying.Value!.BufferSubDataDirectSOFT( + context, + buffer, + format, + data, + offset, + 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); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_buffer_sub_data"])] + [NativeFunction("openal", EntryPoint = "alBufferSubDataSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void BufferSubDataSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int offset, + [NativeTypeName("ALsizei")] int length + ) => Underlying.Value!.BufferSubDataSOFT(buffer, format, data, offset, 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); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [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")] int channels, + [NativeTypeName("ALenum")] int type, + [NativeTypeName("const ALvoid *")] void* data + ) => Underlying.Value!.BufferSubSamplesSOFT(buffer, offset, samples, channels, type, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DebugMessageCallbackDirectEXT( + ContextHandle context, + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ) => Underlying.Value!.DebugMessageCallbackDirectEXT(context, callback, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ) => Underlying.Value!.DebugMessageCallbackEXT(callback, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static 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 + ) => + Underlying.Value!.DebugMessageControlDirectEXT( + context, + source, + type, + severity, + count, + ids, + 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + 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 + ) => + Underlying.Value!.DebugMessageControlDirectEXT( + context, + source, + type, + severity, + ids, + enable + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static 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 + ) => Underlying.Value!.DebugMessageControlEXT(source, type, severity, count, ids, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + 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 + ) => Underlying.Value!.DebugMessageControlEXT(source, type, severity, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static 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 + ) => + Underlying.Value!.DebugMessageInsertDirectEXT( + context, + source, + type, + id, + severity, + length, + 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")] + [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("const ALchar *")] sbyte message + ) => + Underlying.Value!.DebugMessageInsertDirectEXT( + context, + source, + type, + id, + severity, + message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static 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 + ) => Underlying.Value!.DebugMessageInsertEXT(source, type, id, severity, length, 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")] + [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("const ALchar *")] sbyte message + ) => Underlying.Value!.DebugMessageInsertEXT(source, type, id, severity, message); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeferUpdatesDirectSOFT(ContextHandle context) => + Underlying.Value!.DeferUpdatesDirectSOFT(context); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeferUpdatesSOFT() => Underlying.Value!.DeferUpdatesSOFT(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteAuxiliaryEffectSlot( + [NativeTypeName("const ALuint *")] uint effectslots + ) => Underlying.Value!.DeleteAuxiliaryEffectSlot(effectslots); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ) => Underlying.Value!.DeleteAuxiliaryEffectSlots(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ) => Underlying.Value!.DeleteAuxiliaryEffectSlotsDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effectslots + ) => Underlying.Value!.DeleteAuxiliaryEffectSlotsDirect(context, effectslots); + + [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 DeleteBuffer([NativeTypeName("const ALuint *")] uint buffers) => + Underlying.Value!.DeleteBuffer(buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ) => Underlying.Value!.DeleteBuffers(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ) => Underlying.Value!.DeleteBuffersDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteEffect([NativeTypeName("const ALuint *")] uint effects) => + Underlying.Value!.DeleteEffect(effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ) => Underlying.Value!.DeleteEffects(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ) => Underlying.Value!.DeleteEffectsDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effects + ) => Underlying.Value!.DeleteEffectsDirect(context, effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteFilter([NativeTypeName("const ALuint *")] uint filters) => + Underlying.Value!.DeleteFilter(filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ) => Underlying.Value!.DeleteFilters(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ) => Underlying.Value!.DeleteFiltersDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint filters + ) => Underlying.Value!.DeleteFiltersDirect(context, filters); + + [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 DeleteSource([NativeTypeName("const ALuint *")] uint sources) => + Underlying.Value!.DeleteSource(sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteSources")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.DeleteSources(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.DeleteSourcesDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => Underlying.Value!.DeleteSourcesDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDisable")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Disable([NativeTypeName("ALenum")] int capability) => + Underlying.Value!.Disable(capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisable")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Disable( + [NativeTypeName("ALenum")] Constant capability + ) => Underlying.Value!.Disable(capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => Underlying.Value!.DisableDirect(context, capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => Underlying.Value!.DisableDirect(context, capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DistanceModel([NativeTypeName("ALenum")] int distanceModel) => + Underlying.Value!.DistanceModel(distanceModel); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DistanceModel( + [NativeTypeName("ALenum")] Constant distanceModel + ) => Underlying.Value!.DistanceModel(distanceModel); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int distanceModel + ) => Underlying.Value!.DistanceModelDirect(context, distanceModel); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant distanceModel + ) => Underlying.Value!.DistanceModelDirect(context, distanceModel); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerFactor")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DopplerFactor([NativeTypeName("ALfloat")] float value) => + Underlying.Value!.DopplerFactor(value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDopplerFactorDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DopplerFactorDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ) => Underlying.Value!.DopplerFactorDirect(context, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerVelocity")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DopplerVelocity([NativeTypeName("ALfloat")] float value) => + Underlying.Value!.DopplerVelocity(value); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => Underlying.Value!.Effect(effect, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => Underlying.Value!.EffectfDirect(context, effect, param2, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => Underlying.Value!.Effect(effect, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => Underlying.Value!.EffectfvDirect(context, effect, param2, 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 EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + EffectfvDirect(context, effect, param2, __dsl_pflValues); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffecti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => Underlying.Value!.Effect(effect, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => Underlying.Value!.EffectiDirect(context, effect, param2, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => Underlying.Value!.Effect(effect, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => Underlying.Value!.EffectivDirect(context, effect, param2, 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 EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + EffectivDirect(context, effect, param2, __dsl_piValues); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alEnable")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Enable([NativeTypeName("ALenum")] int capability) => + Underlying.Value!.Enable(capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnable")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Enable( + [NativeTypeName("ALenum")] Constant capability + ) => Underlying.Value!.Enable(capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => Underlying.Value!.EnableDirect(context, capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => Underlying.Value!.EnableDirect(context, capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventCallbackDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ) => Underlying.Value!.EventCallbackDirectSOFT(context, callback, 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); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ) => Underlying.Value!.EventCallbackSOFT(callback, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] int* types, + [NativeTypeName("ALboolean")] sbyte enable + ) => Underlying.Value!.EventControlDirectSOFT(context, count, types, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => Underlying.Value!.EventControlDirectSOFT(context, types, enable); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventControlSOFT( + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] int* types, + [NativeTypeName("ALboolean")] sbyte enable + ) => Underlying.Value!.EventControlSOFT(count, types, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventControlSOFT( + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => Underlying.Value!.EventControlSOFT(types, enable); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => Underlying.Value!.Filter(filter, param1, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void FilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => Underlying.Value!.FilterfDirect(context, filter, param2, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => Underlying.Value!.Filter(filter, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => Underlying.Value!.FilterfvDirect(context, filter, param2, 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 FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + FilterfvDirect(context, filter, param2, __dsl_pflValues); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => Underlying.Value!.Filter(filter, param1, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilteriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void FilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => Underlying.Value!.FilteriDirect(context, filter, param2, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => Underlying.Value!.Filter(filter, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => Underlying.Value!.FilterivDirect(context, filter, param2, 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 FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + FilterivDirect(context, filter, param2, __dsl_piValues); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static uint GenAuxiliaryEffectSlot() + { + uint effectslots = default; + GenAuxiliaryEffectSlots(1, (uint*)&effectslots); + return effectslots; + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ) => Underlying.Value!.GenAuxiliaryEffectSlots(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ) => Underlying.Value!.GenAuxiliaryEffectSlotsDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static uint GenBuffer() + { + uint buffers = default; + GenBuffers(1, (uint*)&buffers); + return buffers; + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ) => Underlying.Value!.GenBuffers(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ) => Underlying.Value!.GenBuffersDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static uint GenEffect() + { + uint effects = default; + GenEffects(1, (uint*)&effects); + return effects; + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ) => Underlying.Value!.GenEffects(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ) => Underlying.Value!.GenEffectsDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static uint GenFilter() + { + uint filters = default; + GenFilters(1, (uint*)&filters); + return filters; + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ) => Underlying.Value!.GenFilters(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ) => Underlying.Value!.GenFiltersDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static uint GenSource() + { + uint sources = default; + GenSources(1, (uint*)&sources); + return sources; + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenSources")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ) => Underlying.Value!.GenSources(n, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ) => Underlying.Value!.GenSourcesDirect(context, n, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static uint GenSourcesDirect(ContextHandle context) + { + uint sources = default; + GenSourcesDirect(context, 1, (uint*)&sources); + return sources; + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => Underlying.Value!.GetAuxiliaryEffectSlotf(effectslot, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValue + ) => Underlying.Value!.GetAuxiliaryEffectSlotfDirect(context, effectslot, param2, 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => Underlying.Value!.GetAuxiliaryEffectSlotfv(effectslot, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValues + ) => + Underlying.Value!.GetAuxiliaryEffectSlotfvDirect( + context, + effectslot, + param2, + 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => Underlying.Value!.GetAuxiliaryEffectSloti(effectslot, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValue + ) => Underlying.Value!.GetAuxiliaryEffectSlotiDirect(context, effectslot, param2, 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => Underlying.Value!.GetAuxiliaryEffectSlotiv(effectslot, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValues + ) => + Underlying.Value!.GetAuxiliaryEffectSlotivDirect(context, effectslot, param2, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool GetBoolean([NativeTypeName("ALenum")] int param0) => + Underlying.Value!.GetBoolean(param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool GetBooleanDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => Underlying.Value!.GetBooleanDirect(context, param1); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte GetBooleanDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => Underlying.Value!.GetBooleanDirectRaw(context, param1); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte GetBooleanRaw([NativeTypeName("ALenum")] int param0) => + Underlying.Value!.GetBooleanRaw(param0); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBooleanv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBoolean( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALboolean *")] sbyte* values + ) => Underlying.Value!.GetBoolean(param0, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte GetBoolean() + { + sbyte values = default; + GetBoolean(1, (sbyte*)&values); + return values; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] sbyte* values + ) => Underlying.Value!.GetBooleanvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] Ref values + ) + { + fixed (sbyte* __dsl_values = values) + { + GetBooleanvDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => Underlying.Value!.GetBuffer3(buffer, param1, value1, value2, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBuffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => Underlying.Value!.GetBuffer3FDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBuffer3FDirect( + 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) + { + GetBuffer3FDirect( + context, + buffer, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => Underlying.Value!.GetBuffer3(buffer, param1, value1, value2, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBuffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => Underlying.Value!.GetBuffer3IDirect(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBuffer3IDirect( + 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) + { + GetBuffer3IDirect( + context, + buffer, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [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 **")] void** ptr0, + [NativeTypeName("ALvoid **")] void** ptr1, + [NativeTypeName("ALvoid **")] void** ptr2 + ) => Underlying.Value!.GetBuffer3PtrDirectSOFT(context, buffer, param2, ptr0, ptr1, 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 + ); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBuffer3PtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr0, + [NativeTypeName("ALvoid **")] void** ptr1, + [NativeTypeName("ALvoid **")] void** ptr2 + ) => Underlying.Value!.GetBuffer3PtrSOFT(buffer, param1, ptr0, ptr1, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBufferf( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => Underlying.Value!.GetBufferf(buffer, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [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 *")] float* value + ) => Underlying.Value!.GetBufferfDirect(context, buffer, param2, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBufferfv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => Underlying.Value!.GetBufferfv(buffer, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [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 *")] float* values + ) => Underlying.Value!.GetBufferfvDirect(context, buffer, param2, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferi")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBufferi( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => Underlying.Value!.GetBufferi(buffer, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [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 *")] int* value + ) => Underlying.Value!.GetBufferiDirect(context, buffer, param2, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBufferiv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => Underlying.Value!.GetBufferiv(buffer, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [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 *")] int* values + ) => Underlying.Value!.GetBufferivDirect(context, buffer, param2, 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); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [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 **")] void** ptr + ) => Underlying.Value!.GetBufferPtrDirectSOFT(context, buffer, param2, 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); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBufferPtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr + ) => Underlying.Value!.GetBufferPtrSOFT(buffer, param1, 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); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [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 **")] void** ptr + ) => Underlying.Value!.GetBufferPtrvDirectSOFT(context, buffer, param2, 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); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetBufferPtrvSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr + ) => Underlying.Value!.GetBufferPtrvSOFT(buffer, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [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")] int channels, + [NativeTypeName("ALenum")] int type, + [NativeTypeName("ALvoid *")] void* data + ) => Underlying.Value!.GetBufferSamplesSOFT(buffer, offset, samples, channels, type, 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); + } + } + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [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 *")] int* sources, + [NativeTypeName("ALenum *")] int* types, + [NativeTypeName("ALuint *")] uint* ids, + [NativeTypeName("ALenum *")] int* severities, + [NativeTypeName("ALsizei *")] int* lengths, + [NativeTypeName("ALchar *")] sbyte* logBuf + ) => + Underlying.Value!.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + 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 + ); + } + } + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static 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 + ) => + Underlying.Value!.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + 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 + ); + } + } + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDouble")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static double GetDouble([NativeTypeName("ALenum")] int param0) => + Underlying.Value!.GetDouble(param0); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoubleDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static double GetDoubleDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => Underlying.Value!.GetDoubleDirect(context, param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDoublev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetDouble( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALdouble *")] double* values + ) => Underlying.Value!.GetDouble(param0, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static double GetDouble() + { + double values = default; + GetDouble(1, (double*)&values); + return values; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ) => Underlying.Value!.GetDoublevDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + GetDoublevDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => Underlying.Value!.GetEffectf(effect, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValue + ) => Underlying.Value!.GetEffectfDirect(context, effect, param2, 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => Underlying.Value!.GetEffectfv(effect, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValues + ) => Underlying.Value!.GetEffectfvDirect(context, effect, param2, 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffecti")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => Underlying.Value!.GetEffecti(effect, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValue + ) => Underlying.Value!.GetEffectiDirect(context, effect, param2, 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => Underlying.Value!.GetEffectiv(effect, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValues + ) => Underlying.Value!.GetEffectivDirect(context, effect, param2, 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); + } + } + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetEnumValue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEnumValue([NativeTypeName("const ALchar *")] sbyte* ename) => + Underlying.Value!.GetEnumValue(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); + } + } + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* ename + ) => Underlying.Value!.GetEnumValueDirect(context, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Constant GetError() => Underlying.Value!.GetError(); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Constant GetErrorDirect(ContextHandle context) => + Underlying.Value!.GetErrorDirect(context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetErrorDirectRaw(ContextHandle context) => + Underlying.Value!.GetErrorDirectRaw(context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetError")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetErrorRaw() => Underlying.Value!.GetErrorRaw(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => Underlying.Value!.GetFilterf(filter, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValue + ) => Underlying.Value!.GetFilterfDirect(context, filter, param2, 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => Underlying.Value!.GetFilterfv(filter, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValues + ) => Underlying.Value!.GetFilterfvDirect(context, filter, param2, 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => Underlying.Value!.GetFilteri(filter, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValue + ) => Underlying.Value!.GetFilteriDirect(context, filter, param2, 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); + } + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => Underlying.Value!.GetFilteriv(filter, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValues + ) => Underlying.Value!.GetFilterivDirect(context, filter, param2, 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); + } + } + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloat")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static float GetFloat([NativeTypeName("ALenum")] int param0) => + Underlying.Value!.GetFloat(param0); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static float GetFloatDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => Underlying.Value!.GetFloatDirect(context, param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloatv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetFloat( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* values + ) => Underlying.Value!.GetFloat(param0, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static float GetFloat() + { + float values = default; + GetFloat(1, (float*)&values); + return values; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => Underlying.Value!.GetFloatvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + GetFloatvDirect(context, param1, __dsl_values); + } + } + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetInteger")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetInteger([NativeTypeName("ALenum")] int param0) => + Underlying.Value!.GetInteger(param0); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegerDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetIntegerDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => Underlying.Value!.GetIntegerDirect(context, param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetInteger( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* values + ) => Underlying.Value!.GetInteger(param0, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetInteger() + { + int values = default; + GetInteger(1, (int*)&values); + return values; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => Underlying.Value!.GetIntegervDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + GetIntegervDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => Underlying.Value!.GetListener3(param0, value1, value2, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => Underlying.Value!.GetListener3FDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListener3FDirect( + 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) + { + GetListener3FDirect(context, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => Underlying.Value!.GetListener3(param0, value1, value2, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => Underlying.Value!.GetListener3IDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListener3IDirect( + 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) + { + GetListener3IDirect(context, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListenerf( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* value + ) => Underlying.Value!.GetListenerf(param0, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static float GetListenerf() + { + float value = default; + GetListenerf(1, (float*)&value); + return value; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => Underlying.Value!.GetListenerfDirect(context, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListenerfv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* values + ) => Underlying.Value!.GetListenerfv(param0, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static float GetListenerfv() + { + float values = default; + GetListenerfv(1, (float*)&values); + return values; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => Underlying.Value!.GetListenerfvDirect(context, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListeneri( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* value + ) => Underlying.Value!.GetListeneri(param0, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetListeneri() + { + int value = default; + GetListeneri(1, (int*)&value); + return value; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => Underlying.Value!.GetListeneriDirect(context, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListeneriv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* values + ) => Underlying.Value!.GetListeneriv(param0, 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")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetListeneriv() + { + int values = default; + GetListeneriv(1, (int*)&values); + return values; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => Underlying.Value!.GetListenerivDirect(context, param1, 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); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] int* length, + [NativeTypeName("ALchar *")] sbyte* label + ) => + Underlying.Value!.GetObjectLabelDirectEXT( + context, + identifier, + name, + bufSize, + length, + 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; + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] int* length, + [NativeTypeName("ALchar *")] sbyte* label + ) => Underlying.Value!.GetObjectLabelEXT(identifier, name, bufSize, length, 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; + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetPointerDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname + ) => Underlying.Value!.GetPointerDirectEXT(context, 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 + ) => Underlying.Value!.GetPointerDirectEXT(context, pname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetPointerDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname + ) => Underlying.Value!.GetPointerDirectSOFT(context, 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 + ) => Underlying.Value!.GetPointerDirectSOFT(context, pname); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetPointerEXT([NativeTypeName("ALenum")] int pname) => + Underlying.Value!.GetPointerEXT(pname); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname + ) => Underlying.Value!.GetPointerEXT(pname); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetPointerSOFT([NativeTypeName("ALenum")] int pname) => + Underlying.Value!.GetPointerSOFT(pname); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname + ) => Underlying.Value!.GetPointerSOFT(pname); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ) => Underlying.Value!.GetPointervDirectEXT(context, pname, 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 GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + GetPointervDirectEXT(context, (int)pname, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ) => Underlying.Value!.GetPointervDirectSOFT(context, pname, 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 GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + GetPointervDirectSOFT(context, (int)pname, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetPointerEXT([NativeTypeName("ALenum")] int pname, void** values) => + Underlying.Value!.GetPointerEXT(pname, values); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + GetPointerEXT((int)pname, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetPointerSOFT([NativeTypeName("ALenum")] int pname, void** values) => + Underlying.Value!.GetPointerSOFT(pname, values); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + GetPointerSOFT((int)pname, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetProcAddress([NativeTypeName("const ALchar *")] sbyte* fname) => + Underlying.Value!.GetProcAddress(fname); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetProcAddress([NativeTypeName("const ALchar *")] Ref fname) + { + fixed (sbyte* __dsl_fname = fname) + { + return (void*)GetProcAddress(__dsl_fname); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* fname + ) => Underlying.Value!.GetProcAddressDirect(context, fname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref fname + ) + { + fixed (sbyte* __dsl_fname = fname) + { + return (void*)GetProcAddressDirect(context, __dsl_fname); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ) => + Underlying.Value!.GetSource3DDirectSOFT( + context, + source, + param2, + value1, + value2, + value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) + { + fixed (double* __dsl_value3 = value3) + fixed (double* __dsl_value2 = value2) + fixed (double* __dsl_value1 = value1) + { + GetSource3DDirectSOFT( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ) => Underlying.Value!.GetSource3SOFT(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) + { + fixed (double* __dsl_value3 = value3) + fixed (double* __dsl_value2 = value2) + fixed (double* __dsl_value1 = value1) + { + GetSource3SOFT(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => Underlying.Value!.GetSource3(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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) + { + GetSource3(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => Underlying.Value!.GetSource3FDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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) + { + GetSource3FDirect( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => Underlying.Value!.GetSource3(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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) + { + GetSource3(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ) => + Underlying.Value!.GetSource3I64DirectSOFT( + context, + source, + param2, + value1, + value2, + value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) + { + fixed (long* __dsl_value3 = value3) + fixed (long* __dsl_value2 = value2) + fixed (long* __dsl_value1 = value1) + { + GetSource3I64DirectSOFT( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ) => Underlying.Value!.GetSource3SOFT(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) + { + fixed (long* __dsl_value3 = value3) + fixed (long* __dsl_value2 = value2) + fixed (long* __dsl_value1 = value1) + { + GetSource3SOFT(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => Underlying.Value!.GetSource3IDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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) + { + GetSource3IDirect( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value + ) => Underlying.Value!.GetSourcedDirectSOFT(context, source, param2, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value + ) + { + fixed (double* __dsl_value = value) + { + GetSourcedDirectSOFT(context, source, param2, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value + ) => Underlying.Value!.GetSourceSOFT(source, param1, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value + ) + { + fixed (double* __dsl_value = value) + { + GetSourceSOFT(source, param1, __dsl_value); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* values + ) => Underlying.Value!.GetSourcedvDirectSOFT(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + GetSourcedvDirectSOFT(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ) => Underlying.Value!.GetSourcedvSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + GetSourcedvSOFT(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcef")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => Underlying.Value!.GetSourcef(source, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcef")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + GetSourcef(source, param1, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ) => Underlying.Value!.GetSourcefDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + GetSourcefDirect(context, source, param2, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => Underlying.Value!.GetSourcefv(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + GetSourcefv(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ) => Underlying.Value!.GetSourcefvDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + GetSourcefvDirect(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcei")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => Underlying.Value!.GetSourcei(source, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + GetSourcei(source, param1, __dsl_value); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value + ) => Underlying.Value!.GetSourcei64DirectSOFT(context, source, param2, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value + ) + { + fixed (long* __dsl_value = value) + { + GetSourcei64DirectSOFT(context, source, param2, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value + ) => Underlying.Value!.GetSourcei64SOFT(source, param1, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value + ) + { + fixed (long* __dsl_value = value) + { + GetSourcei64SOFT(source, param1, __dsl_value); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* values + ) => Underlying.Value!.GetSourcei64VDirectSOFT(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + GetSourcei64VDirectSOFT(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* values + ) => Underlying.Value!.GetSourcei64VSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + GetSourcei64VSOFT(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ) => Underlying.Value!.GetSourceiDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + GetSourceiDirect(context, source, param2, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => Underlying.Value!.GetSourceiv(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + GetSourceiv(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ) => Underlying.Value!.GetSourceivDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + GetSourceivDirect(context, source, param2, __dsl_values); + } + } + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetString([NativeTypeName("ALenum")] int param0) => + Underlying.Value!.GetString(param0); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetStringDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => Underlying.Value!.GetStringDirect(context, param1); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte* GetStringDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => Underlying.Value!.GetStringDirectRaw(context, param1); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte* GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ) => Underlying.Value!.GetStringiDirectSOFT(context, pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => Underlying.Value!.GetStringiDirectSOFT(context, pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte* GetStringSOFT( + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ) => Underlying.Value!.GetStringSOFT(pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetStringSOFT( + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => Underlying.Value!.GetStringSOFT(pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte* GetStringRaw([NativeTypeName("ALenum")] int param0) => + Underlying.Value!.GetStringRaw(param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsAuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot + ) => Underlying.Value!.IsAuxiliaryEffectSlot(effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsAuxiliaryEffectSlotDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => Underlying.Value!.IsAuxiliaryEffectSlotDirect(context, effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsAuxiliaryEffectSlotDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => Underlying.Value!.IsAuxiliaryEffectSlotDirectRaw(context, effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsAuxiliaryEffectSlotRaw([NativeTypeName("ALuint")] uint effectslot) => + Underlying.Value!.IsAuxiliaryEffectSlotRaw(effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsBuffer([NativeTypeName("ALuint")] uint buffer) => + Underlying.Value!.IsBuffer(buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsBufferDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ) => Underlying.Value!.IsBufferDirect(context, buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsBufferDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ) => Underlying.Value!.IsBufferDirectRaw(context, buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsBufferFormatSupporteSOFT( + [NativeTypeName("ALenum")] int format + ) => Underlying.Value!.IsBufferFormatSupporteSOFT(format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsBufferFormatSupportedSOFTRaw([NativeTypeName("ALenum")] int format) => + Underlying.Value!.IsBufferFormatSupportedSOFTRaw(format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsBufferRaw([NativeTypeName("ALuint")] uint buffer) => + Underlying.Value!.IsBufferRaw(buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsEffect([NativeTypeName("ALuint")] uint effect) => + Underlying.Value!.IsEffect(effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsEffectDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ) => Underlying.Value!.IsEffectDirect(context, effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsEffectDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ) => Underlying.Value!.IsEffectDirectRaw(context, effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsEffectRaw([NativeTypeName("ALuint")] uint effect) => + Underlying.Value!.IsEffectRaw(effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsEnabled([NativeTypeName("ALenum")] int capability) => + Underlying.Value!.IsEnabled(capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsEnabled( + [NativeTypeName("ALenum")] Constant capability + ) => Underlying.Value!.IsEnabled(capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => Underlying.Value!.IsEnabledDirect(context, capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => Underlying.Value!.IsEnabledDirect(context, capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsExtensionPresent([NativeTypeName("const ALchar *")] sbyte* extname) => + Underlying.Value!.IsExtensionPresent(extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsExtensionPresent( + [NativeTypeName("const ALchar *")] Ref extname + ) + { + fixed (sbyte* __dsl_extname = extname) + { + return (MaybeBool)(sbyte)IsExtensionPresent(__dsl_extname); + } + } + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* extname + ) => Underlying.Value!.IsExtensionPresentDirect(context, extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref extname + ) + { + fixed (sbyte* __dsl_extname = extname) + { + return (MaybeBool)(sbyte)IsExtensionPresentDirect(context, __dsl_extname); + } + } + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsFilter([NativeTypeName("ALuint")] uint filter) => + Underlying.Value!.IsFilter(filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsFilterDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ) => Underlying.Value!.IsFilterDirect(context, filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsFilterDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ) => Underlying.Value!.IsFilterDirectRaw(context, filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsFilterRaw([NativeTypeName("ALuint")] uint filter) => + Underlying.Value!.IsFilterRaw(filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsSource([NativeTypeName("ALuint")] uint source) => + Underlying.Value!.IsSource(source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool IsSourceDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => Underlying.Value!.IsSourceDirect(context, source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsSourceDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => Underlying.Value!.IsSourceDirectRaw(context, source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsSource")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsSourceRaw([NativeTypeName("ALuint")] uint source) => + Underlying.Value!.IsSourceRaw(source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListener3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => Underlying.Value!.Listener3(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => Underlying.Value!.Listener3FDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListener3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => Underlying.Value!.Listener3(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => Underlying.Value!.Listener3IDirect(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListenerf")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value + ) => Underlying.Value!.Listener(param0, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => Underlying.Value!.ListenerfDirect(context, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] float* values + ) => Underlying.Value!.Listener(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + Listener(param0, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => Underlying.Value!.ListenerfvDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ListenerfvDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneri")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value + ) => Underlying.Value!.Listener(param0, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListeneriDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => Underlying.Value!.ListeneriDirect(context, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] int* values + ) => Underlying.Value!.Listener(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + Listener(param0, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => Underlying.Value!.ListenerivDirect(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ListenerivDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ) => Underlying.Value!.ObjectLabelDirectEXT(context, identifier, name, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) + { + fixed (sbyte* __dsl_label = label) + { + ObjectLabelDirectEXT(context, (int)identifier, name, length, __dsl_label); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => Underlying.Value!.ObjectLabelDirectEXT(context, identifier, name, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ) => Underlying.Value!.ObjectLabelEXT(identifier, name, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) + { + fixed (sbyte* __dsl_label = label) + { + ObjectLabelEXT((int)identifier, name, length, __dsl_label); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => Underlying.Value!.ObjectLabelEXT(identifier, name, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PopDebugGroupDirectEXT(ContextHandle context) => + Underlying.Value!.PopDebugGroupDirectEXT(context); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PopDebugGroupEXT() => Underlying.Value!.PopDebugGroupEXT(); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ProcessUpdatesDirectSOFT(ContextHandle context) => + Underlying.Value!.ProcessUpdatesDirectSOFT(context); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ProcessUpdatesSOFT() => Underlying.Value!.ProcessUpdatesSOFT(); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ) => Underlying.Value!.PushDebugGroupDirectEXT(context, source, id, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) + { + fixed (sbyte* __dsl_message = message) + { + PushDebugGroupDirectEXT(context, (int)source, id, length, __dsl_message); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => Underlying.Value!.PushDebugGroupDirectEXT(context, source, id, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PushDebugGroupEXT( + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ) => Underlying.Value!.PushDebugGroupEXT(source, id, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) + { + fixed (sbyte* __dsl_message = message) + { + PushDebugGroupEXT((int)source, id, length, __dsl_message); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => Underlying.Value!.PushDebugGroupEXT(source, id, message); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => Underlying.Value!.RequestFoldbackStart(mode, count, length, mem, callback); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) + { + fixed (float* __dsl_mem = mem) + { + RequestFoldbackStart(mode, count, length, __dsl_mem, callback); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => + Underlying.Value!.RequestFoldbackStartDirect( + context, + mode, + count, + length, + mem, + callback + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) + { + fixed (float* __dsl_mem = mem) + { + RequestFoldbackStartDirect(context, mode, count, length, __dsl_mem, callback); + } + } + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStop")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RequestFoldbackStop() => Underlying.Value!.RequestFoldbackStop(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStopDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RequestFoldbackStopDirect(ContextHandle context) => + Underlying.Value!.RequestFoldbackStopDirect(context); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3dDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ) => Underlying.Value!.Source3DDirectSOFT(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3dSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ) => Underlying.Value!.Source3Soft(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSource3f")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => Underlying.Value!.Source3(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3fDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => Underlying.Value!.Source3FDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSource3i")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => Underlying.Value!.Source3(source, param1, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3i64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ) => + Underlying.Value!.Source3I64DirectSOFT(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3i64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ) => Underlying.Value!.Source3Soft(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3iDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => Underlying.Value!.Source3IDirect(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value + ) => Underlying.Value!.SourcedDirectSOFT(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value + ) => Underlying.Value!.SourceSOFT(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] double* values + ) => Underlying.Value!.SourcedvDirectSOFT(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + SourcedvDirectSOFT(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] double* values + ) => Underlying.Value!.SourceSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + SourceSOFT(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcef")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => Underlying.Value!.Source(source, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ) => Underlying.Value!.SourcefDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => Underlying.Value!.Source(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + Source(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ) => Underlying.Value!.SourcefvDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + SourcefvDirect(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcei")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => Underlying.Value!.Source(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64DirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Sourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value + ) => Underlying.Value!.Sourcei64DirectSOFT(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64SOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value + ) => Underlying.Value!.SourceSOFT(source, param1, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] long* values + ) => Underlying.Value!.Sourcei64VDirectSOFT(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + Sourcei64VDirectSOFT(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] long* values + ) => Underlying.Value!.SourceSOFT(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + SourceSOFT(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceiDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ) => Underlying.Value!.SourceiDirect(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => Underlying.Value!.Source(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceiv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + Source(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ) => Underlying.Value!.SourceivDirect(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + SourceivDirect(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePause")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePause([NativeTypeName("ALuint")] uint source) => + Underlying.Value!.SourcePause(source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePauseDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePauseDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => Underlying.Value!.SourcePauseDirect(context, source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.SourcePausev(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePausev(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePausev([NativeTypeName("const ALuint *")] uint sources) => + Underlying.Value!.SourcePausev(sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.SourcePausevDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePausevDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => Underlying.Value!.SourcePausevDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlay")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlay([NativeTypeName("ALuint")] uint source) => + Underlying.Value!.SourcePlay(source); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimeDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ) => Underlying.Value!.SourcePlayAtTimeDirectSOFT(context, source, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimeSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ) => Underlying.Value!.SourcePlayAtTimeSOFT(source, start_time); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => Underlying.Value!.SourcePlayAtTimevDirectSOFT(context, n, sources, start_time); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePlayAtTimevDirectSOFT(context, n, __dsl_sources, start_time); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => Underlying.Value!.SourcePlayAtTimevDirectSOFT(context, sources, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => Underlying.Value!.SourcePlayAtTimevSOFT(n, sources, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePlayAtTimevSOFT(n, __dsl_sources, start_time); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayAtTimevSOFT( + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => Underlying.Value!.SourcePlayAtTimevSOFT(sources, start_time); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => Underlying.Value!.SourcePlayDirect(context, source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.SourcePlayv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePlayv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayv([NativeTypeName("const ALuint *")] uint sources) => + Underlying.Value!.SourcePlayv(sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.SourcePlayvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourcePlayvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => Underlying.Value!.SourcePlayvDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ) => Underlying.Value!.SourceQueueBuffers(source, nb, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + SourceQueueBuffers(source, nb, __dsl_buffers); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ) => Underlying.Value!.SourceQueueBuffersDirect(context, source, nb, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + SourceQueueBuffersDirect(context, source, nb, __dsl_buffers); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewind")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewin([NativeTypeName("ALuint")] uint source) => + Underlying.Value!.SourceRewin(source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => Underlying.Value!.SourceRewindDirect(context, source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.SourceRewindv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourceRewindv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindv([NativeTypeName("const ALuint *")] uint sources) => + Underlying.Value!.SourceRewindv(sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.SourceRewindvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourceRewindvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => Underlying.Value!.SourceRewindvDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStop")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStop([NativeTypeName("ALuint")] uint source) => + Underlying.Value!.SourceStop(source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => Underlying.Value!.SourceStopDirect(context, source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.SourceStopv(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourceStopv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopv([NativeTypeName("const ALuint *")] uint sources) => + Underlying.Value!.SourceStopv(sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => Underlying.Value!.SourceStopvDirect(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + SourceStopvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => Underlying.Value!.SourceStopvDirect(context, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ) => Underlying.Value!.SourceUnqueueBuffers(source, nb, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + SourceUnqueueBuffers(source, nb, __dsl_buffers); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ) => Underlying.Value!.SourceUnqueueBuffersDirect(context, source, nb, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + SourceUnqueueBuffersDirect(context, source, nb, __dsl_buffers); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alSpeedOfSound")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SpeedOfSound([NativeTypeName("ALfloat")] float value) => + Underlying.Value!.SpeedOfSound(value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSpeedOfSoundDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SpeedOfSoundDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ) => Underlying.Value!.SpeedOfSoundDirect(context, value); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] int* pReserved + ) => Underlying.Value!.EAXGetBufferModeDirect(context, buffer, pReserved); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] Ref pReserved + ) + { + fixed (int* __dsl_pReserved = pReserved) + { + return (int)EAXGetBufferModeDirect(context, buffer, __dsl_pReserved); + } + } + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ) => + Underlying.Value!.EAXGetDirect( + context, + property_set_id, + property_id, + source_id, + value, + value_size + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) + { + fixed (void* __dsl_value = value) + fixed (System.Guid* __dsl_property_set_id = property_set_id) + { + return (int)EAXGetDirect( + context, + __dsl_property_set_id, + property_id, + source_id, + __dsl_value, + value_size + ); + } + } + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers, + [NativeTypeName("ALint")] int value + ) => Underlying.Value!.EAXSetBufferModeDirect(context, n, buffers, value); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static MaybeBool EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers, + [NativeTypeName("ALint")] int value + ) + { + fixed (uint* __dsl_buffers = buffers) + { + return (MaybeBool) + (sbyte)EAXSetBufferModeDirect(context, n, __dsl_buffers, value); + } + } + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ) => + Underlying.Value!.EAXSetDirect( + context, + property_set_id, + property_id, + source_id, + value, + value_size + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) + { + fixed (void* __dsl_value = value) + fixed (System.Guid* __dsl_property_set_id = property_set_id) + { + return (int)EAXSetDirect( + context, + __dsl_property_set_id, + property_id, + source_id, + __dsl_value, + value_size + ); + } + } + } + + [NativeTypeName("#define AL_CPLUSPLUS __cplusplus")] + public const nint Cplusplus = 201703; + + [NativeTypeName("#define AL_EXT_FOLDBACK_NAME \"AL_EXT_FOLDBACK\"")] + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + public static ReadOnlySpan ExtFoldbackName => "AL_EXT_FOLDBACK"u8; + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => + ( + (delegate* unmanaged)( + _slots[0] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[0] = nativeContext.LoadFunction("alAuxiliaryEffectSlotf", "openal") + ) + )(effectslot, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => ThisThread.AuxiliaryEffectSlot(effectslot, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => + ( + (delegate* unmanaged)( + _slots[1] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[1] = nativeContext.LoadFunction( + "alAuxiliaryEffectSlotfDirect", + "openal" + ) + ) + )(context, effectslot, param2, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void AuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => ThisThread.AuxiliaryEffectSlotfDirect(context, effectslot, param2, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[2] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[2] = nativeContext.LoadFunction("alAuxiliaryEffectSlotfv", "openal") + ) + )(effectslot, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => ThisThread.AuxiliaryEffectSlot(effectslot, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).AuxiliaryEffectSlot(effectslot, param1, __dsl_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 + ) => ThisThread.AuxiliaryEffectSlot(effectslot, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[3] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[3] = nativeContext.LoadFunction( + "alAuxiliaryEffectSlotfvDirect", + "openal" + ) + ) + )(context, effectslot, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => ThisThread.AuxiliaryEffectSlotfvDirect(context, effectslot, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).AuxiliaryEffectSlotfvDirect(context, effectslot, param2, __dsl_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 AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => ThisThread.AuxiliaryEffectSlotfvDirect(context, effectslot, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => + ( + (delegate* unmanaged)( + _slots[4] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[4] = nativeContext.LoadFunction("alAuxiliaryEffectSloti", "openal") + ) + )(effectslot, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSloti")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => ThisThread.AuxiliaryEffectSlot(effectslot, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => + ( + (delegate* unmanaged)( + _slots[5] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[5] = nativeContext.LoadFunction( + "alAuxiliaryEffectSlotiDirect", + "openal" + ) + ) + )(context, effectslot, param2, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void AuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => ThisThread.AuxiliaryEffectSlotiDirect(context, effectslot, param2, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[6] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[6] = nativeContext.LoadFunction("alAuxiliaryEffectSlotiv", "openal") + ) + )(effectslot, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => ThisThread.AuxiliaryEffectSlot(effectslot, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).AuxiliaryEffectSlot(effectslot, param1, __dsl_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 + ) => ThisThread.AuxiliaryEffectSlot(effectslot, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[7] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[7] = nativeContext.LoadFunction( + "alAuxiliaryEffectSlotivDirect", + "openal" + ) + ) + )(context, effectslot, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => ThisThread.AuxiliaryEffectSlotivDirect(context, effectslot, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).AuxiliaryEffectSlotivDirect(context, effectslot, param2, __dsl_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 AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) => ThisThread.AuxiliaryEffectSlotivDirect(context, effectslot, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => + ( + (delegate* unmanaged)( + _slots[8] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[8] = nativeContext.LoadFunction("alBuffer3f", "openal") + ) + )(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => ThisThread.Buffer3(buffer, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => + ( + (delegate* unmanaged)( + _slots[9] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[9] = nativeContext.LoadFunction("alBuffer3fDirect", "openal") + ) + )(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Buffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => ThisThread.Buffer3FDirect(context, buffer, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => + ( + (delegate* unmanaged)( + _slots[10] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[10] = nativeContext.LoadFunction("alBuffer3i", "openal") + ) + )(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3i")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => ThisThread.Buffer3(buffer, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => + ( + (delegate* unmanaged)( + _slots[11] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[11] = nativeContext.LoadFunction("alBuffer3iDirect", "openal") + ) + )(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Buffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => ThisThread.Buffer3IDirect(context, buffer, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] void* userptr + ) => + ( + (delegate* unmanaged)( + _slots[12] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[12] = nativeContext.LoadFunction( + "alBufferCallbackDirectSOFT", + "openal" + ) + ) + )(context, buffer, format, freq, callback, userptr); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferCallbackDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] void* userptr + ) => ThisThread.BufferCallbackDirectSOFT(context, buffer, format, freq, callback, userptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferCallbackDirectSOFT( + context, + buffer, + (int)format, + freq, + callback, + __dsl_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 + ) => ThisThread.BufferCallbackDirectSOFT(context, buffer, format, freq, callback, userptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferCallbackSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] void* userptr + ) => + ( + (delegate* unmanaged)( + _slots[13] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[13] = nativeContext.LoadFunction("alBufferCallbackSOFT", "openal") + ) + )(buffer, format, freq, callback, userptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alBufferCallbackSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferCallbackSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] void* userptr + ) => ThisThread.BufferCallbackSOFT(buffer, format, freq, callback, userptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferCallbackSOFT(buffer, (int)format, freq, callback, __dsl_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 + ) => ThisThread.BufferCallbackSOFT(buffer, format, freq, callback, userptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferData( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int samplerate + ) => + ( + (delegate* unmanaged)( + _slots[14] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[14] = nativeContext.LoadFunction("alBufferData", "openal") + ) + )(buffer, format, data, size, samplerate); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferData")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferData( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int samplerate + ) => ThisThread.BufferData(buffer, format, data, size, samplerate); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferData(buffer, (int)format, __dsl_data, size, 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 + ) => ThisThread.BufferData(buffer, format, data, size, samplerate); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferDataDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int samplerate + ) => + ( + (delegate* unmanaged)( + _slots[15] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[15] = nativeContext.LoadFunction("alBufferDataDirect", "openal") + ) + )(context, buffer, format, data, size, samplerate); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferDataDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static 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 + ) => ThisThread.BufferDataDirect(context, buffer, format, data, size, samplerate); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferDataDirect( + context, + buffer, + (int)format, + __dsl_data, + size, + 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 + ) => ThisThread.BufferDataDirect(context, buffer, format, data, size, samplerate); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferDataStatic( + [NativeTypeName("const ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => + ( + (delegate* unmanaged)( + _slots[16] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[16] = nativeContext.LoadFunction("alBufferDataStatic", "openal") + ) + )(buffer, format, data, size, freq); + + [SupportedApiProfile("al", ["AL_EXT_STATIC_BUFFER"])] + [NativeFunction("openal", EntryPoint = "alBufferDataStatic")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferDataStatic( + [NativeTypeName("const ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => ThisThread.BufferDataStatic(buffer, format, data, size, freq); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferDataStatic(buffer, (int)format, __dsl_data, size, 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 + ) => ThisThread.BufferDataStatic(buffer, format, data, size, freq); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferDataStaticDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => + ( + (delegate* unmanaged)( + _slots[17] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[17] = nativeContext.LoadFunction("alBufferDataStaticDirect", "openal") + ) + )(context, buffer, format, data, size, freq); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_EXT_STATIC_BUFFER"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferDataStaticDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferDataStaticDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ) => ThisThread.BufferDataStaticDirect(context, buffer, format, data, size, freq); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferDataStaticDirect( + context, + buffer, + (int)format, + __dsl_data, + size, + 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 + ) => ThisThread.BufferDataStaticDirect(context, buffer, format, data, size, freq); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => + ( + (delegate* unmanaged)( + _slots[18] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[18] = nativeContext.LoadFunction("alBufferf", "openal") + ) + )(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => ThisThread.Buffer(buffer, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ) => + ( + (delegate* unmanaged)( + _slots[19] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[19] = nativeContext.LoadFunction("alBufferfDirect", "openal") + ) + )(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ) => ThisThread.BufferfDirect(context, buffer, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[20] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[20] = nativeContext.LoadFunction("alBufferfv", "openal") + ) + )(buffer, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => ThisThread.Buffer(buffer, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).Buffer(buffer, param1, __dsl_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 + ) => ThisThread.Buffer(buffer, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[21] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[21] = nativeContext.LoadFunction("alBufferfvDirect", "openal") + ) + )(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ) => ThisThread.BufferfvDirect(context, buffer, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).BufferfvDirect(context, buffer, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferfvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) => ThisThread.BufferfvDirect(context, buffer, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => + ( + (delegate* unmanaged)( + _slots[22] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[22] = nativeContext.LoadFunction("alBufferi", "openal") + ) + )(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferi")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => ThisThread.Buffer(buffer, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ) => + ( + (delegate* unmanaged)( + _slots[23] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[23] = nativeContext.LoadFunction("alBufferiDirect", "openal") + ) + )(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferiDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ) => ThisThread.BufferiDirect(context, buffer, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[24] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[24] = nativeContext.LoadFunction("alBufferiv", "openal") + ) + )(buffer, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => ThisThread.Buffer(buffer, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).Buffer(buffer, param1, __dsl_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 + ) => ThisThread.Buffer(buffer, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[25] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[25] = nativeContext.LoadFunction("alBufferivDirect", "openal") + ) + )(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ) => ThisThread.BufferivDirect(context, buffer, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).BufferivDirect(context, buffer, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alBufferivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) => ThisThread.BufferivDirect(context, buffer, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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 + ) => + ( + (delegate* unmanaged)( + _slots[26] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[26] = nativeContext.LoadFunction("alBufferSamplesSOFT", "openal") + ) + )(buffer, samplerate, internalformat, samples, channels, type, data); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [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")] int channels, + [NativeTypeName("ALenum")] int type, + [NativeTypeName("const ALvoid *")] void* data + ) => + ThisThread.BufferSamplesSOFT( + buffer, + samplerate, + internalformat, + samples, + channels, + type, + data + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferSamplesSOFT( + buffer, + samplerate, + internalformat, + samples, + (int)channels, + (int)type, + __dsl_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 + ) => + ThisThread.BufferSamplesSOFT( + buffer, + samplerate, + internalformat, + samples, + channels, + type, + data + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferSubDataDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int offset, + [NativeTypeName("ALsizei")] int length + ) => + ( + (delegate* unmanaged)( + _slots[27] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[27] = nativeContext.LoadFunction("alBufferSubDataDirectSOFT", "openal") + ) + )(context, buffer, format, data, offset, length); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_buffer_sub_data"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferSubDataDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static 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 + ) => ThisThread.BufferSubDataDirectSOFT(context, buffer, format, data, offset, length); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferSubDataDirectSOFT( + context, + buffer, + (int)format, + __dsl_data, + offset, + 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 + ) => ThisThread.BufferSubDataDirectSOFT(context, buffer, format, data, offset, length); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.BufferSubDataSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int offset, + [NativeTypeName("ALsizei")] int length + ) => + ( + (delegate* unmanaged)( + _slots[28] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[28] = nativeContext.LoadFunction("alBufferSubDataSOFT", "openal") + ) + )(buffer, format, data, offset, length); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_sub_data"])] + [NativeFunction("openal", EntryPoint = "alBufferSubDataSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void BufferSubDataSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int format, + [NativeTypeName("const ALvoid *")] void* data, + [NativeTypeName("ALsizei")] int offset, + [NativeTypeName("ALsizei")] int length + ) => ThisThread.BufferSubDataSOFT(buffer, format, data, offset, length); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferSubDataSOFT(buffer, (int)format, __dsl_data, offset, 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 + ) => ThisThread.BufferSubDataSOFT(buffer, format, data, offset, length); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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 + ) => + ( + (delegate* unmanaged)( + _slots[29] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[29] = nativeContext.LoadFunction("alBufferSubSamplesSOFT", "openal") + ) + )(buffer, offset, samples, channels, type, data); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [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")] int channels, + [NativeTypeName("ALenum")] int type, + [NativeTypeName("const ALvoid *")] void* data + ) => ThisThread.BufferSubSamplesSOFT(buffer, offset, samples, channels, type, data); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).BufferSubSamplesSOFT( + buffer, + offset, + samples, + (int)channels, + (int)type, + __dsl_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 + ) => ThisThread.BufferSubSamplesSOFT(buffer, offset, samples, channels, type, data); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DebugMessageCallbackDirectEXT( + ContextHandle context, + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ) => + ( + (delegate* unmanaged)( + _slots[30] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[30] = nativeContext.LoadFunction( + "alDebugMessageCallbackDirectEXT", + "openal" + ) + ) + )(context, callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DebugMessageCallbackDirectEXT( + ContextHandle context, + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ) => ThisThread.DebugMessageCallbackDirectEXT(context, callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DebugMessageCallbackDirectEXT( + ContextHandle context, + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + Ref userParam + ) + { + fixed (void* __dsl_userParam = userParam) + { + ((IAL)this).DebugMessageCallbackDirectEXT(context, callback, __dsl_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 + ) => ThisThread.DebugMessageCallbackDirectEXT(context, callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ) => + ( + (delegate* unmanaged)( + _slots[31] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[31] = nativeContext.LoadFunction("alDebugMessageCallbackEXT", "openal") + ) + )(callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ) => ThisThread.DebugMessageCallbackEXT(callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + Ref userParam + ) + { + fixed (void* __dsl_userParam = userParam) + { + ((IAL)this).DebugMessageCallbackEXT(callback, __dsl_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 + ) => ThisThread.DebugMessageCallbackEXT(callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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 + ) => + ( + (delegate* unmanaged)( + _slots[32] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[32] = nativeContext.LoadFunction( + "alDebugMessageControlDirectEXT", + "openal" + ) + ) + )(context, source, type, severity, count, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static 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 + ) => + ThisThread.DebugMessageControlDirectEXT( + context, + source, + type, + severity, + count, + ids, + enable + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).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")] + [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 + ) => + ThisThread.DebugMessageControlDirectEXT( + context, + source, + type, + severity, + count, + ids, + enable + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DebugMessageControlDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALuint *")] uint ids, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => + ((IAL)this).DebugMessageControlDirectEXT( + context, + (int)source, + (int)type, + (int)severity, + 1, + (uint*)&ids, + (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("const ALuint *")] uint ids, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => ThisThread.DebugMessageControlDirectEXT(context, source, type, severity, ids, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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 + ) => + ( + (delegate* unmanaged)( + _slots[33] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[33] = nativeContext.LoadFunction("alDebugMessageControlEXT", "openal") + ) + )(source, type, severity, count, ids, enable); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static 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 + ) => ThisThread.DebugMessageControlEXT(source, type, severity, count, ids, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).DebugMessageControlEXT( + (int)source, + (int)type, + (int)severity, + count, + __dsl_ids, + (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 + ) => ThisThread.DebugMessageControlEXT(source, type, severity, count, ids, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DebugMessageControlEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALuint *")] uint ids, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => + ((IAL)this).DebugMessageControlEXT( + (int)source, + (int)type, + (int)severity, + 1, + (uint*)&ids, + (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("const ALuint *")] uint ids, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => ThisThread.DebugMessageControlEXT(source, type, severity, ids, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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 + ) => + ( + (delegate* unmanaged)( + _slots[34] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[34] = nativeContext.LoadFunction( + "alDebugMessageInsertDirectEXT", + "openal" + ) + ) + )(context, source, type, id, severity, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static 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 + ) => + ThisThread.DebugMessageInsertDirectEXT( + context, + source, + type, + id, + severity, + length, + message + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).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")] + [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 + ) => + ThisThread.DebugMessageInsertDirectEXT( + context, + source, + type, + id, + severity, + length, + message + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DebugMessageInsertDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALchar *")] sbyte message + ) => + ((IAL)this).DebugMessageInsertDirectEXT( + context, + (int)source, + (int)type, + id, + (int)severity, + 1, + (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("const ALchar *")] sbyte message + ) => ThisThread.DebugMessageInsertDirectEXT(context, source, type, id, severity, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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 + ) => + ( + (delegate* unmanaged)( + _slots[35] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[35] = nativeContext.LoadFunction("alDebugMessageInsertEXT", "openal") + ) + )(source, type, id, severity, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static 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 + ) => ThisThread.DebugMessageInsertEXT(source, type, id, severity, length, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).DebugMessageInsertEXT( + (int)source, + (int)type, + id, + (int)severity, + length, + __dsl_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 + ) => ThisThread.DebugMessageInsertEXT(source, type, id, severity, length, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DebugMessageInsertEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALchar *")] sbyte message + ) => + ((IAL)this).DebugMessageInsertEXT( + (int)source, + (int)type, + id, + (int)severity, + 1, + (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("const ALchar *")] sbyte message + ) => ThisThread.DebugMessageInsertEXT(source, type, id, severity, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeferUpdatesDirectSOFT(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[36] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[36] = nativeContext.LoadFunction("alDeferUpdatesDirectSOFT", "openal") + ) + )(context); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeferUpdatesDirectSOFT(ContextHandle context) => + ThisThread.DeferUpdatesDirectSOFT(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeferUpdatesSOFT() => + ( + (delegate* unmanaged)( + _slots[37] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[37] = nativeContext.LoadFunction("alDeferUpdatesSOFT", "openal") + ) + )(); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeferUpdatesSOFT() => ThisThread.DeferUpdatesSOFT(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteAuxiliaryEffectSlot([NativeTypeName("const ALuint *")] uint effectslots) => + ((IAL)this).DeleteAuxiliaryEffectSlots(1, (uint*)&effectslots); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteAuxiliaryEffectSlot( + [NativeTypeName("const ALuint *")] uint effectslots + ) => ThisThread.DeleteAuxiliaryEffectSlot(effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ) => + ( + (delegate* unmanaged)( + _slots[38] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[38] = nativeContext.LoadFunction( + "alDeleteAuxiliaryEffectSlots", + "openal" + ) + ) + )(n, effectslots); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ) => ThisThread.DeleteAuxiliaryEffectSlots(n, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effectslots + ) + { + fixed (uint* __dsl_effectslots = effectslots) + { + ((IAL)this).DeleteAuxiliaryEffectSlots(n, __dsl_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 + ) => ThisThread.DeleteAuxiliaryEffectSlots(n, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ) => + ( + (delegate* unmanaged)( + _slots[39] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[39] = nativeContext.LoadFunction( + "alDeleteAuxiliaryEffectSlotsDirect", + "openal" + ) + ) + )(context, n, effectslots); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ) => ThisThread.DeleteAuxiliaryEffectSlotsDirect(context, n, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effectslots + ) + { + fixed (uint* __dsl_effectslots = effectslots) + { + ((IAL)this).DeleteAuxiliaryEffectSlotsDirect(context, n, __dsl_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 + ) => ThisThread.DeleteAuxiliaryEffectSlotsDirect(context, n, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effectslots + ) => ((IAL)this).DeleteAuxiliaryEffectSlotsDirect(context, 1, (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("const ALuint *")] uint effectslots + ) => ThisThread.DeleteAuxiliaryEffectSlotsDirect(context, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteBuffer([NativeTypeName("const ALuint *")] uint buffers) => + ((IAL)this).DeleteBuffers(1, (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 DeleteBuffer([NativeTypeName("const ALuint *")] uint buffers) => + ThisThread.DeleteBuffer(buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ) => + ( + (delegate* unmanaged)( + _slots[40] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[40] = nativeContext.LoadFunction("alDeleteBuffers", "openal") + ) + )(n, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteBuffers")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ) => ThisThread.DeleteBuffers(n, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + ((IAL)this).DeleteBuffers(n, __dsl_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 + ) => ThisThread.DeleteBuffers(n, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ) => + ( + (delegate* unmanaged)( + _slots[41] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[41] = nativeContext.LoadFunction("alDeleteBuffersDirect", "openal") + ) + )(context, n, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ) => ThisThread.DeleteBuffersDirect(context, n, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + ((IAL)this).DeleteBuffersDirect(context, n, __dsl_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 + ) => ThisThread.DeleteBuffersDirect(context, n, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteEffect([NativeTypeName("const ALuint *")] uint effects) => + ((IAL)this).DeleteEffects(1, (uint*)&effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteEffect([NativeTypeName("const ALuint *")] uint effects) => + ThisThread.DeleteEffect(effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ) => + ( + (delegate* unmanaged)( + _slots[42] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[42] = nativeContext.LoadFunction("alDeleteEffects", "openal") + ) + )(n, effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ) => ThisThread.DeleteEffects(n, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effects + ) + { + fixed (uint* __dsl_effects = effects) + { + ((IAL)this).DeleteEffects(n, __dsl_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 + ) => ThisThread.DeleteEffects(n, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ) => + ( + (delegate* unmanaged)( + _slots[43] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[43] = nativeContext.LoadFunction("alDeleteEffectsDirect", "openal") + ) + )(context, n, effects); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ) => ThisThread.DeleteEffectsDirect(context, n, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effects + ) + { + fixed (uint* __dsl_effects = effects) + { + ((IAL)this).DeleteEffectsDirect(context, n, __dsl_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 + ) => ThisThread.DeleteEffectsDirect(context, n, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effects + ) => ((IAL)this).DeleteEffectsDirect(context, 1, (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("const ALuint *")] uint effects + ) => ThisThread.DeleteEffectsDirect(context, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteFilter([NativeTypeName("const ALuint *")] uint filters) => + ((IAL)this).DeleteFilters(1, (uint*)&filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteFilter([NativeTypeName("const ALuint *")] uint filters) => + ThisThread.DeleteFilter(filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ) => + ( + (delegate* unmanaged)( + _slots[44] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[44] = nativeContext.LoadFunction("alDeleteFilters", "openal") + ) + )(n, filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ) => ThisThread.DeleteFilters(n, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref filters + ) + { + fixed (uint* __dsl_filters = filters) + { + ((IAL)this).DeleteFilters(n, __dsl_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 + ) => ThisThread.DeleteFilters(n, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ) => + ( + (delegate* unmanaged)( + _slots[45] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[45] = nativeContext.LoadFunction("alDeleteFiltersDirect", "openal") + ) + )(context, n, filters); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ) => ThisThread.DeleteFiltersDirect(context, n, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref filters + ) + { + fixed (uint* __dsl_filters = filters) + { + ((IAL)this).DeleteFiltersDirect(context, n, __dsl_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 + ) => ThisThread.DeleteFiltersDirect(context, n, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint filters + ) => ((IAL)this).DeleteFiltersDirect(context, 1, (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("const ALuint *")] uint filters + ) => ThisThread.DeleteFiltersDirect(context, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteSource([NativeTypeName("const ALuint *")] uint sources) => + ((IAL)this).DeleteSources(1, (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 DeleteSource([NativeTypeName("const ALuint *")] uint sources) => + ThisThread.DeleteSource(sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[46] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[46] = nativeContext.LoadFunction("alDeleteSources", "openal") + ) + )(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteSources")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.DeleteSources(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).DeleteSources(n, __dsl_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 + ) => ThisThread.DeleteSources(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[47] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[47] = nativeContext.LoadFunction("alDeleteSourcesDirect", "openal") + ) + )(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.DeleteSourcesDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).DeleteSourcesDirect(context, n, __dsl_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 + ) => ThisThread.DeleteSourcesDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ((IAL)this).DeleteSourcesDirect(context, 1, (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("const ALuint *")] uint sources + ) => ThisThread.DeleteSourcesDirect(context, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Disable([NativeTypeName("ALenum")] int capability) => + ( + (delegate* unmanaged)( + _slots[48] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[48] = nativeContext.LoadFunction("alDisable", "openal") + ) + )(capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDisable")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Disable([NativeTypeName("ALenum")] int capability) => + ThisThread.Disable(capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Disable([NativeTypeName("ALenum")] Constant capability) => + ((IAL)this).Disable((int)capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisable")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Disable( + [NativeTypeName("ALenum")] Constant capability + ) => ThisThread.Disable(capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DisableDirect(ContextHandle context, [NativeTypeName("ALenum")] int capability) => + ( + (delegate* unmanaged)( + _slots[49] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[49] = nativeContext.LoadFunction("alDisableDirect", "openal") + ) + )(context, capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => ThisThread.DisableDirect(context, capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => ((IAL)this).DisableDirect(context, (int)capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => ThisThread.DisableDirect(context, capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DistanceModel([NativeTypeName("ALenum")] int distanceModel) => + ( + (delegate* unmanaged)( + _slots[50] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[50] = nativeContext.LoadFunction("alDistanceModel", "openal") + ) + )(distanceModel); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DistanceModel([NativeTypeName("ALenum")] int distanceModel) => + ThisThread.DistanceModel(distanceModel); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DistanceModel( + [NativeTypeName("ALenum")] Constant distanceModel + ) => ((IAL)this).DistanceModel((int)distanceModel); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DistanceModel( + [NativeTypeName("ALenum")] Constant distanceModel + ) => ThisThread.DistanceModel(distanceModel); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int distanceModel + ) => + ( + (delegate* unmanaged)( + _slots[51] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[51] = nativeContext.LoadFunction("alDistanceModelDirect", "openal") + ) + )(context, distanceModel); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int distanceModel + ) => ThisThread.DistanceModelDirect(context, distanceModel); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant distanceModel + ) => ((IAL)this).DistanceModelDirect(context, (int)distanceModel); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant distanceModel + ) => ThisThread.DistanceModelDirect(context, distanceModel); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DopplerFactor([NativeTypeName("ALfloat")] float value) => + ( + (delegate* unmanaged)( + _slots[52] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[52] = nativeContext.LoadFunction("alDopplerFactor", "openal") + ) + )(value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerFactor")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DopplerFactor([NativeTypeName("ALfloat")] float value) => + ThisThread.DopplerFactor(value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DopplerFactorDirect(ContextHandle context, [NativeTypeName("ALfloat")] float value) => + ( + (delegate* unmanaged)( + _slots[53] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[53] = nativeContext.LoadFunction("alDopplerFactorDirect", "openal") + ) + )(context, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDopplerFactorDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DopplerFactorDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ) => ThisThread.DopplerFactorDirect(context, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.DopplerVelocity([NativeTypeName("ALfloat")] float value) => + ( + (delegate* unmanaged)( + _slots[54] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[54] = nativeContext.LoadFunction("alDopplerVelocity", "openal") + ) + )(value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerVelocity")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DopplerVelocity([NativeTypeName("ALfloat")] float value) => + ThisThread.DopplerVelocity(value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => + ( + (delegate* unmanaged)( + _slots[55] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[55] = nativeContext.LoadFunction("alEffectf", "openal") + ) + )(effect, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => ThisThread.Effect(effect, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => + ( + (delegate* unmanaged)( + _slots[56] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[56] = nativeContext.LoadFunction("alEffectfDirect", "openal") + ) + )(context, effect, param2, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => ThisThread.EffectfDirect(context, effect, param2, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[57] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[57] = nativeContext.LoadFunction("alEffectfv", "openal") + ) + )(effect, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => ThisThread.Effect(effect, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).Effect(effect, param1, __dsl_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 + ) => ThisThread.Effect(effect, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[58] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[58] = nativeContext.LoadFunction("alEffectfvDirect", "openal") + ) + )(context, effect, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => ThisThread.EffectfvDirect(context, effect, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).EffectfvDirect(context, effect, param2, __dsl_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 EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => ThisThread.EffectfvDirect(context, effect, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => + ( + (delegate* unmanaged)( + _slots[59] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[59] = nativeContext.LoadFunction("alEffecti", "openal") + ) + )(effect, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffecti")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => ThisThread.Effect(effect, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => + ( + (delegate* unmanaged)( + _slots[60] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[60] = nativeContext.LoadFunction("alEffectiDirect", "openal") + ) + )(context, effect, param2, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectiDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => ThisThread.EffectiDirect(context, effect, param2, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[61] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[61] = nativeContext.LoadFunction("alEffectiv", "openal") + ) + )(effect, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => ThisThread.Effect(effect, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).Effect(effect, param1, __dsl_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 + ) => ThisThread.Effect(effect, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[62] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[62] = nativeContext.LoadFunction("alEffectivDirect", "openal") + ) + )(context, effect, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => ThisThread.EffectivDirect(context, effect, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).EffectivDirect(context, effect, param2, __dsl_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 EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) => ThisThread.EffectivDirect(context, effect, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Enable([NativeTypeName("ALenum")] int capability) => + ( + (delegate* unmanaged)( + _slots[63] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[63] = nativeContext.LoadFunction("alEnable", "openal") + ) + )(capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alEnable")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Enable([NativeTypeName("ALenum")] int capability) => + ThisThread.Enable(capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Enable([NativeTypeName("ALenum")] Constant capability) => + ((IAL)this).Enable((int)capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnable")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Enable( + [NativeTypeName("ALenum")] Constant capability + ) => ThisThread.Enable(capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EnableDirect(ContextHandle context, [NativeTypeName("ALenum")] int capability) => + ( + (delegate* unmanaged)( + _slots[64] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[64] = nativeContext.LoadFunction("alEnableDirect", "openal") + ) + )(context, capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => ThisThread.EnableDirect(context, capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => ((IAL)this).EnableDirect(context, (int)capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => ThisThread.EnableDirect(context, capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ) => + ( + (delegate* unmanaged)( + _slots[65] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[65] = nativeContext.LoadFunction("alEventCallbackDirectSOFT", "openal") + ) + )(context, callback, userParam); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventCallbackDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EventCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ) => ThisThread.EventCallbackDirectSOFT(context, callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + Ref userParam + ) + { + fixed (void* __dsl_userParam = userParam) + { + ((IAL)this).EventCallbackDirectSOFT(context, callback, __dsl_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 + ) => ThisThread.EventCallbackDirectSOFT(context, callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ) => + ( + (delegate* unmanaged)( + _slots[66] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[66] = nativeContext.LoadFunction("alEventCallbackSOFT", "openal") + ) + )(callback, userParam); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ) => ThisThread.EventCallbackSOFT(callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + Ref userParam + ) + { + fixed (void* __dsl_userParam = userParam) + { + ((IAL)this).EventCallbackSOFT(callback, __dsl_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 + ) => ThisThread.EventCallbackSOFT(callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] int* types, + [NativeTypeName("ALboolean")] sbyte enable + ) => + ( + (delegate* unmanaged)( + _slots[67] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[67] = nativeContext.LoadFunction("alEventControlDirectSOFT", "openal") + ) + )(context, count, types, enable); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] int* types, + [NativeTypeName("ALboolean")] sbyte enable + ) => ThisThread.EventControlDirectSOFT(context, count, types, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] Ref types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) + { + fixed (int* __dsl_types = types) + { + ((IAL)this).EventControlDirectSOFT(context, count, __dsl_types, (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 + ) => ThisThread.EventControlDirectSOFT(context, count, types, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => ((IAL)this).EventControlDirectSOFT(context, 1, (int*)&types, (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("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => ThisThread.EventControlDirectSOFT(context, types, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventControlSOFT( + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] int* types, + [NativeTypeName("ALboolean")] sbyte enable + ) => + ( + (delegate* unmanaged)( + _slots[68] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[68] = nativeContext.LoadFunction("alEventControlSOFT", "openal") + ) + )(count, types, enable); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EventControlSOFT( + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] int* types, + [NativeTypeName("ALboolean")] sbyte enable + ) => ThisThread.EventControlSOFT(count, types, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventControlSOFT( + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] Ref types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) + { + fixed (int* __dsl_types = types) + { + ((IAL)this).EventControlSOFT(count, __dsl_types, (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 + ) => ThisThread.EventControlSOFT(count, types, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.EventControlSOFT( + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => ((IAL)this).EventControlSOFT(1, (int*)&types, (sbyte)enable); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EventControlSOFT( + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ) => ThisThread.EventControlSOFT(types, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => + ( + (delegate* unmanaged)( + _slots[69] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[69] = nativeContext.LoadFunction("alFilterf", "openal") + ) + )(filter, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ) => ThisThread.Filter(filter, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.FilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => + ( + (delegate* unmanaged)( + _slots[70] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[70] = nativeContext.LoadFunction("alFilterfDirect", "openal") + ) + )(context, filter, param2, flValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void FilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ) => ThisThread.FilterfDirect(context, filter, param2, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[71] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[71] = nativeContext.LoadFunction("alFilterfv", "openal") + ) + )(filter, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => ThisThread.Filter(filter, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).Filter(filter, param1, __dsl_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 + ) => ThisThread.Filter(filter, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[72] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[72] = nativeContext.LoadFunction("alFilterfvDirect", "openal") + ) + )(context, filter, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* pflValues + ) => ThisThread.FilterfvDirect(context, filter, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).FilterfvDirect(context, filter, param2, __dsl_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 FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ) => ThisThread.FilterfvDirect(context, filter, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => + ( + (delegate* unmanaged)( + _slots[73] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[73] = nativeContext.LoadFunction("alFilteri", "openal") + ) + )(filter, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteri")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ) => ThisThread.Filter(filter, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.FilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => + ( + (delegate* unmanaged)( + _slots[74] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[74] = nativeContext.LoadFunction("alFilteriDirect", "openal") + ) + )(context, filter, param2, iValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilteriDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void FilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ) => ThisThread.FilteriDirect(context, filter, param2, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[75] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[75] = nativeContext.LoadFunction("alFilteriv", "openal") + ) + )(filter, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteriv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* piValues + ) => ThisThread.Filter(filter, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).Filter(filter, param1, __dsl_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 + ) => ThisThread.Filter(filter, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[76] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[76] = nativeContext.LoadFunction("alFilterivDirect", "openal") + ) + )(context, filter, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* piValues + ) => ThisThread.FilterivDirect(context, filter, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).FilterivDirect(context, filter, param2, __dsl_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 FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ) => ThisThread.FilterivDirect(context, filter, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenAuxiliaryEffectSlot() + { + uint effectslots = default; + ((IAL)this).GenAuxiliaryEffectSlots(1, (uint*)&effectslots); + return effectslots; + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static uint GenAuxiliaryEffectSlot() => ThisThread.GenAuxiliaryEffectSlot(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ) => + ( + (delegate* unmanaged)( + _slots[77] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[77] = nativeContext.LoadFunction("alGenAuxiliaryEffectSlots", "openal") + ) + )(n, effectslots); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ) => ThisThread.GenAuxiliaryEffectSlots(n, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effectslots + ) + { + fixed (uint* __dsl_effectslots = effectslots) + { + ((IAL)this).GenAuxiliaryEffectSlots(n, __dsl_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 + ) => ThisThread.GenAuxiliaryEffectSlots(n, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ) => + ( + (delegate* unmanaged)( + _slots[78] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[78] = nativeContext.LoadFunction( + "alGenAuxiliaryEffectSlotsDirect", + "openal" + ) + ) + )(context, n, effectslots); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ) => ThisThread.GenAuxiliaryEffectSlotsDirect(context, n, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effectslots + ) + { + fixed (uint* __dsl_effectslots = effectslots) + { + ((IAL)this).GenAuxiliaryEffectSlotsDirect(context, n, __dsl_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 + ) => ThisThread.GenAuxiliaryEffectSlotsDirect(context, n, effectslots); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenAuxiliaryEffectSlotsDirect(ContextHandle context) + { + uint effectslots = default; + ((IAL)this).GenAuxiliaryEffectSlotsDirect(context, 1, (uint*)&effectslots); + return effectslots; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static uint GenAuxiliaryEffectSlotsDirect(ContextHandle context) => + ThisThread.GenAuxiliaryEffectSlotsDirect(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenBuffer() + { + uint buffers = default; + ((IAL)this).GenBuffers(1, (uint*)&buffers); + return 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 uint GenBuffer() => ThisThread.GenBuffer(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ) => + ( + (delegate* unmanaged)( + _slots[79] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[79] = nativeContext.LoadFunction("alGenBuffers", "openal") + ) + )(n, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenBuffers")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ) => ThisThread.GenBuffers(n, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + ((IAL)this).GenBuffers(n, __dsl_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 + ) => ThisThread.GenBuffers(n, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ) => + ( + (delegate* unmanaged)( + _slots[80] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[80] = nativeContext.LoadFunction("alGenBuffersDirect", "openal") + ) + )(context, n, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ) => ThisThread.GenBuffersDirect(context, n, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + ((IAL)this).GenBuffersDirect(context, n, __dsl_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 + ) => ThisThread.GenBuffersDirect(context, n, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenEffect() + { + uint effects = default; + ((IAL)this).GenEffects(1, (uint*)&effects); + return effects; + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static uint GenEffect() => ThisThread.GenEffect(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ) => + ( + (delegate* unmanaged)( + _slots[81] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[81] = nativeContext.LoadFunction("alGenEffects", "openal") + ) + )(n, effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ) => ThisThread.GenEffects(n, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effects + ) + { + fixed (uint* __dsl_effects = effects) + { + ((IAL)this).GenEffects(n, __dsl_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 + ) => ThisThread.GenEffects(n, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ) => + ( + (delegate* unmanaged)( + _slots[82] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[82] = nativeContext.LoadFunction("alGenEffectsDirect", "openal") + ) + )(context, n, effects); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ) => ThisThread.GenEffectsDirect(context, n, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effects + ) + { + fixed (uint* __dsl_effects = effects) + { + ((IAL)this).GenEffectsDirect(context, n, __dsl_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 + ) => ThisThread.GenEffectsDirect(context, n, effects); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenEffectsDirect(ContextHandle context) + { + uint effects = default; + ((IAL)this).GenEffectsDirect(context, 1, (uint*)&effects); + return effects; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static uint GenEffectsDirect(ContextHandle context) => + ThisThread.GenEffectsDirect(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenFilter() + { + uint filters = default; + ((IAL)this).GenFilters(1, (uint*)&filters); + return filters; + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static uint GenFilter() => ThisThread.GenFilter(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ) => + ( + (delegate* unmanaged)( + _slots[83] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[83] = nativeContext.LoadFunction("alGenFilters", "openal") + ) + )(n, filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ) => ThisThread.GenFilters(n, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref filters + ) + { + fixed (uint* __dsl_filters = filters) + { + ((IAL)this).GenFilters(n, __dsl_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 + ) => ThisThread.GenFilters(n, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ) => + ( + (delegate* unmanaged)( + _slots[84] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[84] = nativeContext.LoadFunction("alGenFiltersDirect", "openal") + ) + )(context, n, filters); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ) => ThisThread.GenFiltersDirect(context, n, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref filters + ) + { + fixed (uint* __dsl_filters = filters) + { + ((IAL)this).GenFiltersDirect(context, n, __dsl_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 + ) => ThisThread.GenFiltersDirect(context, n, filters); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenFiltersDirect(ContextHandle context) + { + uint filters = default; + ((IAL)this).GenFiltersDirect(context, 1, (uint*)&filters); + return filters; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static uint GenFiltersDirect(ContextHandle context) => + ThisThread.GenFiltersDirect(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenSource() + { + uint sources = default; + ((IAL)this).GenSources(1, (uint*)&sources); + return 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 uint GenSource() => ThisThread.GenSource(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[85] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[85] = nativeContext.LoadFunction("alGenSources", "openal") + ) + )(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenSources")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ) => ThisThread.GenSources(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).GenSources(n, __dsl_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 + ) => ThisThread.GenSources(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[86] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[86] = nativeContext.LoadFunction("alGenSourcesDirect", "openal") + ) + )(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ) => ThisThread.GenSourcesDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).GenSourcesDirect(context, n, __dsl_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 + ) => ThisThread.GenSourcesDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.GenSourcesDirect(ContextHandle context) + { + uint sources = default; + ((IAL)this).GenSourcesDirect(context, 1, (uint*)&sources); + return sources; + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static uint GenSourcesDirect(ContextHandle context) => + ThisThread.GenSourcesDirect(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => + ( + (delegate* unmanaged)( + _slots[87] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[87] = nativeContext.LoadFunction("alGetAuxiliaryEffectSlotf", "openal") + ) + )(effectslot, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => ThisThread.GetAuxiliaryEffectSlotf(effectslot, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ) + { + fixed (float* __dsl_flValue = flValue) + { + ((IAL)this).GetAuxiliaryEffectSlotf(effectslot, param1, __dsl_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 + ) => ThisThread.GetAuxiliaryEffectSlotf(effectslot, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValue + ) => + ( + (delegate* unmanaged)( + _slots[88] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[88] = nativeContext.LoadFunction( + "alGetAuxiliaryEffectSlotfDirect", + "openal" + ) + ) + )(context, effectslot, param2, pflValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValue + ) => ThisThread.GetAuxiliaryEffectSlotfDirect(context, effectslot, param2, pflValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ) + { + fixed (float* __dsl_pflValue = pflValue) + { + ((IAL)this).GetAuxiliaryEffectSlotfDirect(context, effectslot, param2, __dsl_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 + ) => ThisThread.GetAuxiliaryEffectSlotfDirect(context, effectslot, param2, pflValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[89] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[89] = nativeContext.LoadFunction( + "alGetAuxiliaryEffectSlotfv", + "openal" + ) + ) + )(effectslot, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => ThisThread.GetAuxiliaryEffectSlotfv(effectslot, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).GetAuxiliaryEffectSlotfv(effectslot, param1, __dsl_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 + ) => ThisThread.GetAuxiliaryEffectSlotfv(effectslot, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[90] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[90] = nativeContext.LoadFunction( + "alGetAuxiliaryEffectSlotfvDirect", + "openal" + ) + ) + )(context, effectslot, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValues + ) => ThisThread.GetAuxiliaryEffectSlotfvDirect(context, effectslot, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).GetAuxiliaryEffectSlotfvDirect( + context, + effectslot, + param2, + __dsl_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 + ) => ThisThread.GetAuxiliaryEffectSlotfvDirect(context, effectslot, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => + ( + (delegate* unmanaged)( + _slots[91] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[91] = nativeContext.LoadFunction("alGetAuxiliaryEffectSloti", "openal") + ) + )(effectslot, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => ThisThread.GetAuxiliaryEffectSloti(effectslot, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ) + { + fixed (int* __dsl_iValue = iValue) + { + ((IAL)this).GetAuxiliaryEffectSloti(effectslot, param1, __dsl_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 + ) => ThisThread.GetAuxiliaryEffectSloti(effectslot, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValue + ) => + ( + (delegate* unmanaged)( + _slots[92] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[92] = nativeContext.LoadFunction( + "alGetAuxiliaryEffectSlotiDirect", + "openal" + ) + ) + )(context, effectslot, param2, piValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValue + ) => ThisThread.GetAuxiliaryEffectSlotiDirect(context, effectslot, param2, piValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ) + { + fixed (int* __dsl_piValue = piValue) + { + ((IAL)this).GetAuxiliaryEffectSlotiDirect(context, effectslot, param2, __dsl_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 + ) => ThisThread.GetAuxiliaryEffectSlotiDirect(context, effectslot, param2, piValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[93] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[93] = nativeContext.LoadFunction( + "alGetAuxiliaryEffectSlotiv", + "openal" + ) + ) + )(effectslot, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => ThisThread.GetAuxiliaryEffectSlotiv(effectslot, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).GetAuxiliaryEffectSlotiv(effectslot, param1, __dsl_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 + ) => ThisThread.GetAuxiliaryEffectSlotiv(effectslot, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[94] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[94] = nativeContext.LoadFunction( + "alGetAuxiliaryEffectSlotivDirect", + "openal" + ) + ) + )(context, effectslot, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValues + ) => ThisThread.GetAuxiliaryEffectSlotivDirect(context, effectslot, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetAuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).GetAuxiliaryEffectSlotivDirect(context, effectslot, param2, __dsl_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 + ) => ThisThread.GetAuxiliaryEffectSlotivDirect(context, effectslot, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.GetBoolean([NativeTypeName("ALenum")] int param0) => + (MaybeBool)(sbyte)((IAL)this).GetBooleanRaw(param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool GetBoolean([NativeTypeName("ALenum")] int param0) => + ThisThread.GetBoolean(param0); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.GetBooleanDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => (MaybeBool)(sbyte)((IAL)this).GetBooleanDirectRaw(context, param1); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool GetBooleanDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => ThisThread.GetBooleanDirect(context, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.GetBooleanDirectRaw(ContextHandle context, [NativeTypeName("ALenum")] int param1) => + ( + (delegate* unmanaged)( + _slots[96] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[96] = nativeContext.LoadFunction("alGetBooleanDirect", "openal") + ) + )(context, param1); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte GetBooleanDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => ThisThread.GetBooleanDirectRaw(context, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.GetBooleanRaw([NativeTypeName("ALenum")] int param0) => + ( + (delegate* unmanaged)( + _slots[95] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[95] = nativeContext.LoadFunction("alGetBoolean", "openal") + ) + )(param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte GetBooleanRaw([NativeTypeName("ALenum")] int param0) => + ThisThread.GetBooleanRaw(param0); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBoolean( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALboolean *")] sbyte* values + ) => + ( + (delegate* unmanaged)( + _slots[97] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[97] = nativeContext.LoadFunction("alGetBooleanv", "openal") + ) + )(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBooleanv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBoolean( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALboolean *")] sbyte* values + ) => ThisThread.GetBoolean(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBoolean( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALboolean *")] Ref values + ) + { + fixed (sbyte* __dsl_values = values) + { + ((IAL)this).GetBoolean(param0, __dsl_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 + ) => ThisThread.GetBoolean(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.GetBoolean() + { + sbyte values = default; + ((IAL)this).GetBoolean(1, (sbyte*)&values); + return 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 sbyte GetBoolean() => ThisThread.GetBoolean(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] sbyte* values + ) => + ( + (delegate* unmanaged)( + _slots[98] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[98] = nativeContext.LoadFunction("alGetBooleanvDirect", "openal") + ) + )(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] sbyte* values + ) => ThisThread.GetBooleanvDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] Ref values + ) + { + fixed (sbyte* __dsl_values = values) + { + ((IAL)this).GetBooleanvDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] Ref values + ) => ThisThread.GetBooleanvDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => + ( + (delegate* unmanaged)( + _slots[99] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[99] = nativeContext.LoadFunction("alGetBuffer3f", "openal") + ) + )(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => ThisThread.GetBuffer3(buffer, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).GetBuffer3(buffer, param1, __dsl_value1, __dsl_value2, __dsl_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 + ) => ThisThread.GetBuffer3(buffer, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBuffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => + ( + (delegate* unmanaged)( + _slots[100] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[100] = nativeContext.LoadFunction("alGetBuffer3fDirect", "openal") + ) + )(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBuffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => ThisThread.GetBuffer3FDirect(context, buffer, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBuffer3FDirect( + 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) + { + ((IAL)this).GetBuffer3FDirect( + context, + buffer, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBuffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => ThisThread.GetBuffer3FDirect(context, buffer, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => + ( + (delegate* unmanaged)( + _slots[101] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[101] = nativeContext.LoadFunction("alGetBuffer3i", "openal") + ) + )(buffer, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3i")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => ThisThread.GetBuffer3(buffer, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).GetBuffer3(buffer, param1, __dsl_value1, __dsl_value2, __dsl_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 + ) => ThisThread.GetBuffer3(buffer, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBuffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => + ( + (delegate* unmanaged)( + _slots[102] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[102] = nativeContext.LoadFunction("alGetBuffer3iDirect", "openal") + ) + )(context, buffer, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBuffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => ThisThread.GetBuffer3IDirect(context, buffer, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBuffer3IDirect( + 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) + { + ((IAL)this).GetBuffer3IDirect( + context, + buffer, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBuffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => ThisThread.GetBuffer3IDirect(context, buffer, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBuffer3PtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] void** ptr0, + [NativeTypeName("ALvoid **")] void** ptr1, + [NativeTypeName("ALvoid **")] void** ptr2 + ) => + ( + (delegate* unmanaged)( + _slots[103] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[103] = nativeContext.LoadFunction( + "alGetBuffer3PtrDirectSOFT", + "openal" + ) + ) + )(context, buffer, param2, ptr0, ptr1, ptr2); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [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 **")] void** ptr0, + [NativeTypeName("ALvoid **")] void** ptr1, + [NativeTypeName("ALvoid **")] void** ptr2 + ) => ThisThread.GetBuffer3PtrDirectSOFT(context, buffer, param2, ptr0, ptr1, ptr2); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).GetBuffer3PtrDirectSOFT( + context, + buffer, + param2, + __dsl_ptr0, + __dsl_ptr1, + __dsl_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 + ) => ThisThread.GetBuffer3PtrDirectSOFT(context, buffer, param2, ptr0, ptr1, ptr2); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBuffer3PtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr0, + [NativeTypeName("ALvoid **")] void** ptr1, + [NativeTypeName("ALvoid **")] void** ptr2 + ) => + ( + (delegate* unmanaged)( + _slots[104] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[104] = nativeContext.LoadFunction("alGetBuffer3PtrSOFT", "openal") + ) + )(buffer, param1, ptr0, ptr1, ptr2); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBuffer3PtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr0, + [NativeTypeName("ALvoid **")] void** ptr1, + [NativeTypeName("ALvoid **")] void** ptr2 + ) => ThisThread.GetBuffer3PtrSOFT(buffer, param1, ptr0, ptr1, ptr2); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).GetBuffer3PtrSOFT(buffer, param1, __dsl_ptr0, __dsl_ptr1, __dsl_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 + ) => ThisThread.GetBuffer3PtrSOFT(buffer, param1, ptr0, ptr1, ptr2); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferf( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => + ( + (delegate* unmanaged)( + _slots[105] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[105] = nativeContext.LoadFunction("alGetBufferf", "openal") + ) + )(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBufferf( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => ThisThread.GetBufferf(buffer, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferf( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + ((IAL)this).GetBufferf(buffer, param1, __dsl_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 + ) => ThisThread.GetBufferf(buffer, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ) => + ( + (delegate* unmanaged)( + _slots[106] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[106] = nativeContext.LoadFunction("alGetBufferfDirect", "openal") + ) + )(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [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 *")] float* value + ) => ThisThread.GetBufferfDirect(context, buffer, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + ((IAL)this).GetBufferfDirect(context, buffer, param2, __dsl_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 + ) => ThisThread.GetBufferfDirect(context, buffer, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferfv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[107] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[107] = nativeContext.LoadFunction("alGetBufferfv", "openal") + ) + )(buffer, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBufferfv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => ThisThread.GetBufferfv(buffer, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferfv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).GetBufferfv(buffer, param1, __dsl_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 + ) => ThisThread.GetBufferfv(buffer, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[108] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[108] = nativeContext.LoadFunction("alGetBufferfvDirect", "openal") + ) + )(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [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 *")] float* values + ) => ThisThread.GetBufferfvDirect(context, buffer, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).GetBufferfvDirect(context, buffer, param2, __dsl_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 + ) => ThisThread.GetBufferfvDirect(context, buffer, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferi( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => + ( + (delegate* unmanaged)( + _slots[109] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[109] = nativeContext.LoadFunction("alGetBufferi", "openal") + ) + )(buffer, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferi")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBufferi( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => ThisThread.GetBufferi(buffer, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferi( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + ((IAL)this).GetBufferi(buffer, param1, __dsl_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 + ) => ThisThread.GetBufferi(buffer, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ) => + ( + (delegate* unmanaged)( + _slots[110] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[110] = nativeContext.LoadFunction("alGetBufferiDirect", "openal") + ) + )(context, buffer, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [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 *")] int* value + ) => ThisThread.GetBufferiDirect(context, buffer, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + ((IAL)this).GetBufferiDirect(context, buffer, param2, __dsl_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 + ) => ThisThread.GetBufferiDirect(context, buffer, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferiv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[111] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[111] = nativeContext.LoadFunction("alGetBufferiv", "openal") + ) + )(buffer, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBufferiv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => ThisThread.GetBufferiv(buffer, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferiv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).GetBufferiv(buffer, param1, __dsl_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 + ) => ThisThread.GetBufferiv(buffer, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[112] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[112] = nativeContext.LoadFunction("alGetBufferivDirect", "openal") + ) + )(context, buffer, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [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 *")] int* values + ) => ThisThread.GetBufferivDirect(context, buffer, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).GetBufferivDirect(context, buffer, param2, __dsl_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 + ) => ThisThread.GetBufferivDirect(context, buffer, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferPtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] void** ptr + ) => + ( + (delegate* unmanaged)( + _slots[113] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[113] = nativeContext.LoadFunction("alGetBufferPtrDirectSOFT", "openal") + ) + )(context, buffer, param2, ptr); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [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 **")] void** ptr + ) => ThisThread.GetBufferPtrDirectSOFT(context, buffer, param2, ptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferPtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr + ) + { + fixed (void** __dsl_ptr = ptr) + { + ((IAL)this).GetBufferPtrDirectSOFT(context, buffer, param2, __dsl_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 + ) => ThisThread.GetBufferPtrDirectSOFT(context, buffer, param2, ptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferPtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr + ) => + ( + (delegate* unmanaged)( + _slots[114] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[114] = nativeContext.LoadFunction("alGetBufferPtrSOFT", "openal") + ) + )(buffer, param1, ptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBufferPtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr + ) => ThisThread.GetBufferPtrSOFT(buffer, param1, ptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferPtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr + ) + { + fixed (void** __dsl_ptr = ptr) + { + ((IAL)this).GetBufferPtrSOFT(buffer, param1, __dsl_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 + ) => ThisThread.GetBufferPtrSOFT(buffer, param1, ptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferPtrvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] void** ptr + ) => + ( + (delegate* unmanaged)( + _slots[115] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[115] = nativeContext.LoadFunction( + "alGetBufferPtrvDirectSOFT", + "openal" + ) + ) + )(context, buffer, param2, ptr); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [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 **")] void** ptr + ) => ThisThread.GetBufferPtrvDirectSOFT(context, buffer, param2, ptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferPtrvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr + ) + { + fixed (void** __dsl_ptr = ptr) + { + ((IAL)this).GetBufferPtrvDirectSOFT(context, buffer, param2, __dsl_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 + ) => ThisThread.GetBufferPtrvDirectSOFT(context, buffer, param2, ptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferPtrvSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr + ) => + ( + (delegate* unmanaged)( + _slots[116] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[116] = nativeContext.LoadFunction("alGetBufferPtrvSOFT", "openal") + ) + )(buffer, param1, ptr); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetBufferPtrvSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] void** ptr + ) => ThisThread.GetBufferPtrvSOFT(buffer, param1, ptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetBufferPtrvSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr + ) + { + fixed (void** __dsl_ptr = ptr) + { + ((IAL)this).GetBufferPtrvSOFT(buffer, param1, __dsl_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 + ) => ThisThread.GetBufferPtrvSOFT(buffer, param1, ptr); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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 + ) => + ( + (delegate* unmanaged)( + _slots[117] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[117] = nativeContext.LoadFunction("alGetBufferSamplesSOFT", "openal") + ) + )(buffer, offset, samples, channels, type, data); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [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")] int channels, + [NativeTypeName("ALenum")] int type, + [NativeTypeName("ALvoid *")] void* data + ) => ThisThread.GetBufferSamplesSOFT(buffer, offset, samples, channels, type, data); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).GetBufferSamplesSOFT( + buffer, + offset, + samples, + (int)channels, + (int)type, + __dsl_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 + ) => ThisThread.GetBufferSamplesSOFT(buffer, offset, samples, channels, type, data); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.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 + ) => + ( + (delegate* unmanaged< + ContextHandle, + uint, + int, + int*, + int*, + uint*, + int*, + int*, + sbyte*, + uint>)( + _slots[118] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[118] = nativeContext.LoadFunction( + "alGetDebugMessageLogDirectEXT", + "openal" + ) + ) + )(context, count, logBufSize, sources, types, ids, severities, lengths, logBuf); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [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 *")] int* sources, + [NativeTypeName("ALenum *")] int* types, + [NativeTypeName("ALuint *")] uint* ids, + [NativeTypeName("ALenum *")] int* severities, + [NativeTypeName("ALsizei *")] int* lengths, + [NativeTypeName("ALchar *")] sbyte* logBuf + ) => + ThisThread.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.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) + ((IAL)this).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 + ) => + ThisThread.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.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) + ((IAL)this).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 + ) => + ThisThread.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.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) + ((IAL)this).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 + ) => + ThisThread.GetDebugMessageLogDirectEXT( + context, + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.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 + ) => + ( + (delegate* unmanaged)( + _slots[119] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[119] = nativeContext.LoadFunction("alGetDebugMessageLogEXT", "openal") + ) + )(count, logBufSize, sources, types, ids, severities, lengths, logBuf); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static 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 + ) => + ThisThread.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.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) + ((IAL)this).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 + ) => + ThisThread.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.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) + ((IAL)this).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 + ) => + ThisThread.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + uint IAL.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) + ((IAL)this).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 + ) => + ThisThread.GetDebugMessageLogEXT( + count, + logBufSize, + sources, + types, + ids, + severities, + lengths, + logBuf + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + double IAL.GetDouble([NativeTypeName("ALenum")] int param0) => + ( + (delegate* unmanaged)( + _slots[120] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[120] = nativeContext.LoadFunction("alGetDouble", "openal") + ) + )(param0); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDouble")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static double GetDouble([NativeTypeName("ALenum")] int param0) => + ThisThread.GetDouble(param0); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + double IAL.GetDoubleDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1) => + ( + (delegate* unmanaged)( + _slots[121] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[121] = nativeContext.LoadFunction("alGetDoubleDirect", "openal") + ) + )(context, param1); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoubleDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static double GetDoubleDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => ThisThread.GetDoubleDirect(context, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetDouble( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALdouble *")] double* values + ) => + ( + (delegate* unmanaged)( + _slots[122] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[122] = nativeContext.LoadFunction("alGetDoublev", "openal") + ) + )(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDoublev")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetDouble( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALdouble *")] double* values + ) => ThisThread.GetDouble(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetDouble( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + ((IAL)this).GetDouble(param0, __dsl_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 + ) => ThisThread.GetDouble(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + double IAL.GetDouble() + { + double values = default; + ((IAL)this).GetDouble(1, (double*)&values); + return 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 double GetDouble() => ThisThread.GetDouble(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ) => + ( + (delegate* unmanaged)( + _slots[123] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[123] = nativeContext.LoadFunction("alGetDoublevDirect", "openal") + ) + )(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ) => ThisThread.GetDoublevDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + ((IAL)this).GetDoublevDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) => ThisThread.GetDoublevDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => + ( + (delegate* unmanaged)( + _slots[124] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[124] = nativeContext.LoadFunction("alGetEffectf", "openal") + ) + )(effect, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => ThisThread.GetEffectf(effect, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ) + { + fixed (float* __dsl_flValue = flValue) + { + ((IAL)this).GetEffectf(effect, param1, __dsl_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 + ) => ThisThread.GetEffectf(effect, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValue + ) => + ( + (delegate* unmanaged)( + _slots[125] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[125] = nativeContext.LoadFunction("alGetEffectfDirect", "openal") + ) + )(context, effect, param2, pflValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValue + ) => ThisThread.GetEffectfDirect(context, effect, param2, pflValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ) + { + fixed (float* __dsl_pflValue = pflValue) + { + ((IAL)this).GetEffectfDirect(context, effect, param2, __dsl_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 + ) => ThisThread.GetEffectfDirect(context, effect, param2, pflValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[126] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[126] = nativeContext.LoadFunction("alGetEffectfv", "openal") + ) + )(effect, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => ThisThread.GetEffectfv(effect, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).GetEffectfv(effect, param1, __dsl_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 + ) => ThisThread.GetEffectfv(effect, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[127] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[127] = nativeContext.LoadFunction("alGetEffectfvDirect", "openal") + ) + )(context, effect, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValues + ) => ThisThread.GetEffectfvDirect(context, effect, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).GetEffectfvDirect(context, effect, param2, __dsl_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 + ) => ThisThread.GetEffectfvDirect(context, effect, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => + ( + (delegate* unmanaged)( + _slots[128] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[128] = nativeContext.LoadFunction("alGetEffecti", "openal") + ) + )(effect, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffecti")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => ThisThread.GetEffecti(effect, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ) + { + fixed (int* __dsl_iValue = iValue) + { + ((IAL)this).GetEffecti(effect, param1, __dsl_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 + ) => ThisThread.GetEffecti(effect, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValue + ) => + ( + (delegate* unmanaged)( + _slots[129] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[129] = nativeContext.LoadFunction("alGetEffectiDirect", "openal") + ) + )(context, effect, param2, piValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValue + ) => ThisThread.GetEffectiDirect(context, effect, param2, piValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ) + { + fixed (int* __dsl_piValue = piValue) + { + ((IAL)this).GetEffectiDirect(context, effect, param2, __dsl_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 + ) => ThisThread.GetEffectiDirect(context, effect, param2, piValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[130] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[130] = nativeContext.LoadFunction("alGetEffectiv", "openal") + ) + )(effect, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => ThisThread.GetEffectiv(effect, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).GetEffectiv(effect, param1, __dsl_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 + ) => ThisThread.GetEffectiv(effect, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[131] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[131] = nativeContext.LoadFunction("alGetEffectivDirect", "openal") + ) + )(context, effect, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValues + ) => ThisThread.GetEffectivDirect(context, effect, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetEffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).GetEffectivDirect(context, effect, param2, __dsl_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 + ) => ThisThread.GetEffectivDirect(context, effect, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetEnumValue([NativeTypeName("const ALchar *")] sbyte* ename) => + ( + (delegate* unmanaged)( + _slots[132] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[132] = nativeContext.LoadFunction("alGetEnumValue", "openal") + ) + )(ename); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetEnumValue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetEnumValue([NativeTypeName("const ALchar *")] sbyte* ename) => + ThisThread.GetEnumValue(ename); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetEnumValue([NativeTypeName("const ALchar *")] Ref ename) + { + fixed (sbyte* __dsl_ename = ename) + { + return (int)((IAL)this).GetEnumValue(__dsl_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) => + ThisThread.GetEnumValue(ename); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* ename + ) => + ( + (delegate* unmanaged)( + _slots[133] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[133] = nativeContext.LoadFunction("alGetEnumValueDirect", "openal") + ) + )(context, ename); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* ename + ) => ThisThread.GetEnumValueDirect(context, ename); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref ename + ) + { + fixed (sbyte* __dsl_ename = ename) + { + return (int)((IAL)this).GetEnumValueDirect(context, __dsl_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 + ) => ThisThread.GetEnumValueDirect(context, ename); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Constant IAL.GetError() => + (Constant)(int)((IAL)this).GetErrorRaw(); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetError")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Constant GetError() => ThisThread.GetError(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Constant IAL.GetErrorDirect(ContextHandle context) => + (Constant)(int)((IAL)this).GetErrorDirectRaw(context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Constant GetErrorDirect(ContextHandle context) => + ThisThread.GetErrorDirect(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetErrorDirectRaw(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[135] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[135] = nativeContext.LoadFunction("alGetErrorDirect", "openal") + ) + )(context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetErrorDirectRaw(ContextHandle context) => + ThisThread.GetErrorDirectRaw(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetErrorRaw() => + ( + (delegate* unmanaged)( + _slots[134] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[134] = nativeContext.LoadFunction("alGetError", "openal") + ) + )(); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetError")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetErrorRaw() => ThisThread.GetErrorRaw(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => + ( + (delegate* unmanaged)( + _slots[136] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[136] = nativeContext.LoadFunction("alGetFilterf", "openal") + ) + )(filter, param1, flValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ) => ThisThread.GetFilterf(filter, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ) + { + fixed (float* __dsl_flValue = flValue) + { + ((IAL)this).GetFilterf(filter, param1, __dsl_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 + ) => ThisThread.GetFilterf(filter, param1, flValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValue + ) => + ( + (delegate* unmanaged)( + _slots[137] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[137] = nativeContext.LoadFunction("alGetFilterfDirect", "openal") + ) + )(context, filter, param2, pflValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValue + ) => ThisThread.GetFilterfDirect(context, filter, param2, pflValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ) + { + fixed (float* __dsl_pflValue = pflValue) + { + ((IAL)this).GetFilterfDirect(context, filter, param2, __dsl_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 + ) => ThisThread.GetFilterfDirect(context, filter, param2, pflValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[138] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[138] = nativeContext.LoadFunction("alGetFilterfv", "openal") + ) + )(filter, param1, pflValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ) => ThisThread.GetFilterfv(filter, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).GetFilterfv(filter, param1, __dsl_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 + ) => ThisThread.GetFilterfv(filter, param1, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* pflValues + ) => + ( + (delegate* unmanaged)( + _slots[139] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[139] = nativeContext.LoadFunction("alGetFilterfvDirect", "openal") + ) + )(context, filter, param2, pflValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] float* pflValues + ) => ThisThread.GetFilterfvDirect(context, filter, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ) + { + fixed (float* __dsl_pflValues = pflValues) + { + ((IAL)this).GetFilterfvDirect(context, filter, param2, __dsl_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 + ) => ThisThread.GetFilterfvDirect(context, filter, param2, pflValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => + ( + (delegate* unmanaged)( + _slots[140] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[140] = nativeContext.LoadFunction("alGetFilteri", "openal") + ) + )(filter, param1, iValue); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteri")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ) => ThisThread.GetFilteri(filter, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ) + { + fixed (int* __dsl_iValue = iValue) + { + ((IAL)this).GetFilteri(filter, param1, __dsl_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 + ) => ThisThread.GetFilteri(filter, param1, iValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValue + ) => + ( + (delegate* unmanaged)( + _slots[141] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[141] = nativeContext.LoadFunction("alGetFilteriDirect", "openal") + ) + )(context, filter, param2, piValue); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValue + ) => ThisThread.GetFilteriDirect(context, filter, param2, piValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ) + { + fixed (int* __dsl_piValue = piValue) + { + ((IAL)this).GetFilteriDirect(context, filter, param2, __dsl_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 + ) => ThisThread.GetFilteriDirect(context, filter, param2, piValue); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[142] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[142] = nativeContext.LoadFunction("alGetFilteriv", "openal") + ) + )(filter, param1, piValues); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteriv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ) => ThisThread.GetFilteriv(filter, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).GetFilteriv(filter, param1, __dsl_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 + ) => ThisThread.GetFilteriv(filter, param1, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* piValues + ) => + ( + (delegate* unmanaged)( + _slots[143] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[143] = nativeContext.LoadFunction("alGetFilterivDirect", "openal") + ) + )(context, filter, param2, piValues); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [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 *")] int* piValues + ) => ThisThread.GetFilterivDirect(context, filter, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ) + { + fixed (int* __dsl_piValues = piValues) + { + ((IAL)this).GetFilterivDirect(context, filter, param2, __dsl_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 + ) => ThisThread.GetFilterivDirect(context, filter, param2, piValues); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + float IAL.GetFloat([NativeTypeName("ALenum")] int param0) => + ( + (delegate* unmanaged)( + _slots[144] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[144] = nativeContext.LoadFunction("alGetFloat", "openal") + ) + )(param0); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloat")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static float GetFloat([NativeTypeName("ALenum")] int param0) => + ThisThread.GetFloat(param0); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + float IAL.GetFloatDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1) => + ( + (delegate* unmanaged)( + _slots[145] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[145] = nativeContext.LoadFunction("alGetFloatDirect", "openal") + ) + )(context, param1); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static float GetFloatDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => ThisThread.GetFloatDirect(context, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFloat( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[146] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[146] = nativeContext.LoadFunction("alGetFloatv", "openal") + ) + )(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloatv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetFloat( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* values + ) => ThisThread.GetFloat(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFloat( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).GetFloat(param0, __dsl_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 + ) => ThisThread.GetFloat(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + float IAL.GetFloat() + { + float values = default; + ((IAL)this).GetFloat(1, (float*)&values); + return 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 float GetFloat() => ThisThread.GetFloat(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[147] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[147] = nativeContext.LoadFunction("alGetFloatvDirect", "openal") + ) + )(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => ThisThread.GetFloatvDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).GetFloatvDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) => ThisThread.GetFloatvDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetInteger([NativeTypeName("ALenum")] int param0) => + ( + (delegate* unmanaged)( + _slots[148] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[148] = nativeContext.LoadFunction("alGetInteger", "openal") + ) + )(param0); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetInteger")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetInteger([NativeTypeName("ALenum")] int param0) => + ThisThread.GetInteger(param0); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetIntegerDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1) => + ( + (delegate* unmanaged)( + _slots[149] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[149] = nativeContext.LoadFunction("alGetIntegerDirect", "openal") + ) + )(context, param1); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegerDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetIntegerDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => ThisThread.GetIntegerDirect(context, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetInteger( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[150] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[150] = nativeContext.LoadFunction("alGetIntegerv", "openal") + ) + )(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetIntegerv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetInteger( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* values + ) => ThisThread.GetInteger(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetInteger( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).GetInteger(param0, __dsl_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 + ) => ThisThread.GetInteger(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetInteger() + { + int values = default; + ((IAL)this).GetInteger(1, (int*)&values); + return 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 int GetInteger() => ThisThread.GetInteger(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[151] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[151] = nativeContext.LoadFunction("alGetIntegervDirect", "openal") + ) + )(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => ThisThread.GetIntegervDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).GetIntegervDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) => ThisThread.GetIntegervDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => + ( + (delegate* unmanaged)( + _slots[152] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[152] = nativeContext.LoadFunction("alGetListener3f", "openal") + ) + )(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => ThisThread.GetListener3(param0, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).GetListener3(param0, __dsl_value1, __dsl_value2, __dsl_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 + ) => ThisThread.GetListener3(param0, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => + ( + (delegate* unmanaged)( + _slots[153] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[153] = nativeContext.LoadFunction("alGetListener3fDirect", "openal") + ) + )(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => ThisThread.GetListener3FDirect(context, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListener3FDirect( + 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) + { + ((IAL)this).GetListener3FDirect( + context, + param1, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => ThisThread.GetListener3FDirect(context, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => + ( + (delegate* unmanaged)( + _slots[154] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[154] = nativeContext.LoadFunction("alGetListener3i", "openal") + ) + )(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3i")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => ThisThread.GetListener3(param0, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).GetListener3(param0, __dsl_value1, __dsl_value2, __dsl_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 + ) => ThisThread.GetListener3(param0, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => + ( + (delegate* unmanaged)( + _slots[155] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[155] = nativeContext.LoadFunction("alGetListener3iDirect", "openal") + ) + )(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => ThisThread.GetListener3IDirect(context, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListener3IDirect( + 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) + { + ((IAL)this).GetListener3IDirect( + context, + param1, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => ThisThread.GetListener3IDirect(context, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerf( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* value + ) => + ( + (delegate* unmanaged)( + _slots[156] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[156] = nativeContext.LoadFunction("alGetListenerf", "openal") + ) + )(param0, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListenerf( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* value + ) => ThisThread.GetListenerf(param0, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerf( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + ((IAL)this).GetListenerf(param0, __dsl_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 + ) => ThisThread.GetListenerf(param0, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + float IAL.GetListenerf() + { + float value = default; + ((IAL)this).GetListenerf(1, (float*)&value); + return 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 float GetListenerf() => ThisThread.GetListenerf(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => + ( + (delegate* unmanaged)( + _slots[157] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[157] = nativeContext.LoadFunction("alGetListenerfDirect", "openal") + ) + )(context, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => ThisThread.GetListenerfDirect(context, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + ((IAL)this).GetListenerfDirect(context, param1, __dsl_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 + ) => ThisThread.GetListenerfDirect(context, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerfv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[158] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[158] = nativeContext.LoadFunction("alGetListenerfv", "openal") + ) + )(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListenerfv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] float* values + ) => ThisThread.GetListenerfv(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerfv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).GetListenerfv(param0, __dsl_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 + ) => ThisThread.GetListenerfv(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + float IAL.GetListenerfv() + { + float values = default; + ((IAL)this).GetListenerfv(1, (float*)&values); + return 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 float GetListenerfv() => ThisThread.GetListenerfv(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[159] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[159] = nativeContext.LoadFunction("alGetListenerfvDirect", "openal") + ) + )(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => ThisThread.GetListenerfvDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).GetListenerfvDirect(context, param1, __dsl_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 + ) => ThisThread.GetListenerfvDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListeneri( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* value + ) => + ( + (delegate* unmanaged)( + _slots[160] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[160] = nativeContext.LoadFunction("alGetListeneri", "openal") + ) + )(param0, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneri")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListeneri( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* value + ) => ThisThread.GetListeneri(param0, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListeneri( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + ((IAL)this).GetListeneri(param0, __dsl_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 + ) => ThisThread.GetListeneri(param0, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetListeneri() + { + int value = default; + ((IAL)this).GetListeneri(1, (int*)&value); + return 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 int GetListeneri() => ThisThread.GetListeneri(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => + ( + (delegate* unmanaged)( + _slots[161] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[161] = nativeContext.LoadFunction("alGetListeneriDirect", "openal") + ) + )(context, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => ThisThread.GetListeneriDirect(context, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + ((IAL)this).GetListeneriDirect(context, param1, __dsl_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 + ) => ThisThread.GetListeneriDirect(context, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListeneriv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[162] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[162] = nativeContext.LoadFunction("alGetListeneriv", "openal") + ) + )(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneriv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListeneriv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] int* values + ) => ThisThread.GetListeneriv(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListeneriv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).GetListeneriv(param0, __dsl_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 + ) => ThisThread.GetListeneriv(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.GetListeneriv() + { + int values = default; + ((IAL)this).GetListeneriv(1, (int*)&values); + return 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 int GetListeneriv() => ThisThread.GetListeneriv(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[163] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[163] = nativeContext.LoadFunction("alGetListenerivDirect", "openal") + ) + )(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => ThisThread.GetListenerivDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).GetListenerivDirect(context, param1, __dsl_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 + ) => ThisThread.GetListenerivDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] int* length, + [NativeTypeName("ALchar *")] sbyte* label + ) => + ( + (delegate* unmanaged)( + _slots[164] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[164] = nativeContext.LoadFunction( + "alGetObjectLabelDirectEXT", + "openal" + ) + ) + )(context, identifier, name, bufSize, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] int* length, + [NativeTypeName("ALchar *")] sbyte* label + ) => ThisThread.GetObjectLabelDirectEXT(context, identifier, name, bufSize, length, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).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 void GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] Ref length, + [NativeTypeName("ALchar *")] Ref label + ) => ThisThread.GetObjectLabelDirectEXT(context, identifier, name, bufSize, length, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei *")] Ref length + ) + { + fixed (int* __dsl_length = length) + { + sbyte label = default; + ((IAL)this).GetObjectLabelDirectEXT( + context, + (int)identifier, + name, + 1, + __dsl_length, + (sbyte*)&label + ); + return 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 + ) => ThisThread.GetObjectLabelDirectEXT(context, identifier, name, length); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] int* length, + [NativeTypeName("ALchar *")] sbyte* label + ) => + ( + (delegate* unmanaged)( + _slots[165] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[165] = nativeContext.LoadFunction("alGetObjectLabelEXT", "openal") + ) + )(identifier, name, bufSize, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] int* length, + [NativeTypeName("ALchar *")] sbyte* label + ) => ThisThread.GetObjectLabelEXT(identifier, name, bufSize, length, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.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) + { + ((IAL)this).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 void GetObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] Ref length, + [NativeTypeName("ALchar *")] Ref label + ) => ThisThread.GetObjectLabelEXT(identifier, name, bufSize, length, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.GetObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei *")] Ref length + ) + { + fixed (int* __dsl_length = length) + { + sbyte label = default; + ((IAL)this).GetObjectLabelEXT((int)identifier, name, 1, __dsl_length, (sbyte*)&label); + return 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 + ) => ThisThread.GetObjectLabelEXT(identifier, name, length); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* IAL.GetPointerDirectEXT(ContextHandle context, [NativeTypeName("ALenum")] int pname) => + ( + (delegate* unmanaged)( + _slots[166] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[166] = nativeContext.LoadFunction("alGetPointerDirectEXT", "openal") + ) + )(context, pname); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetPointerDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname + ) => ThisThread.GetPointerDirectEXT(context, pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetPointerDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname + ) => (void*)((IAL)this).GetPointerDirectEXT(context, (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 + ) => ThisThread.GetPointerDirectEXT(context, pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* IAL.GetPointerDirectSOFT(ContextHandle context, [NativeTypeName("ALenum")] int pname) => + ( + (delegate* unmanaged)( + _slots[167] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[167] = nativeContext.LoadFunction("alGetPointerDirectSOFT", "openal") + ) + )(context, pname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetPointerDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname + ) => ThisThread.GetPointerDirectSOFT(context, pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetPointerDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname + ) => (void*)((IAL)this).GetPointerDirectSOFT(context, (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 + ) => ThisThread.GetPointerDirectSOFT(context, pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* IAL.GetPointerEXT([NativeTypeName("ALenum")] int pname) => + ( + (delegate* unmanaged)( + _slots[168] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[168] = nativeContext.LoadFunction("alGetPointerEXT", "openal") + ) + )(pname); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetPointerEXT([NativeTypeName("ALenum")] int pname) => + ThisThread.GetPointerEXT(pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetPointerEXT([NativeTypeName("ALenum")] Constant pname) => + (void*)((IAL)this).GetPointerEXT((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 + ) => ThisThread.GetPointerEXT(pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* IAL.GetPointerSOFT([NativeTypeName("ALenum")] int pname) => + ( + (delegate* unmanaged)( + _slots[169] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[169] = nativeContext.LoadFunction("alGetPointerSOFT", "openal") + ) + )(pname); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetPointerSOFT([NativeTypeName("ALenum")] int pname) => + ThisThread.GetPointerSOFT(pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetPointerSOFT([NativeTypeName("ALenum")] Constant pname) => + (void*)((IAL)this).GetPointerSOFT((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 + ) => ThisThread.GetPointerSOFT(pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ) => + ( + (delegate* unmanaged)( + _slots[170] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[170] = nativeContext.LoadFunction("alGetPointervDirectEXT", "openal") + ) + )(context, pname, values); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ) => ThisThread.GetPointervDirectEXT(context, pname, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + ((IAL)this).GetPointervDirectEXT(context, (int)pname, __dsl_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 GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) => ThisThread.GetPointervDirectEXT(context, pname, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ) => + ( + (delegate* unmanaged)( + _slots[171] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[171] = nativeContext.LoadFunction("alGetPointervDirectSOFT", "openal") + ) + )(context, pname, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ) => ThisThread.GetPointervDirectSOFT(context, pname, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + ((IAL)this).GetPointervDirectSOFT(context, (int)pname, __dsl_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 GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) => ThisThread.GetPointervDirectSOFT(context, pname, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetPointerEXT([NativeTypeName("ALenum")] int pname, void** values) => + ( + (delegate* unmanaged)( + _slots[172] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[172] = nativeContext.LoadFunction("alGetPointervEXT", "openal") + ) + )(pname, values); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetPointerEXT([NativeTypeName("ALenum")] int pname, void** values) => + ThisThread.GetPointerEXT(pname, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + ((IAL)this).GetPointerEXT((int)pname, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) => ThisThread.GetPointerEXT(pname, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetPointerSOFT([NativeTypeName("ALenum")] int pname, void** values) => + ( + (delegate* unmanaged)( + _slots[173] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[173] = nativeContext.LoadFunction("alGetPointervSOFT", "openal") + ) + )(pname, values); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetPointerSOFT([NativeTypeName("ALenum")] int pname, void** values) => + ThisThread.GetPointerSOFT(pname, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) + { + fixed (void** __dsl_values = values) + { + ((IAL)this).GetPointerSOFT((int)pname, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ) => ThisThread.GetPointerSOFT(pname, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* IAL.GetProcAddress([NativeTypeName("const ALchar *")] sbyte* fname) => + ( + (delegate* unmanaged)( + _slots[174] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[174] = nativeContext.LoadFunction("alGetProcAddress", "openal") + ) + )(fname); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetProcAddress([NativeTypeName("const ALchar *")] sbyte* fname) => + ThisThread.GetProcAddress(fname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetProcAddress([NativeTypeName("const ALchar *")] Ref fname) + { + fixed (sbyte* __dsl_fname = fname) + { + return (void*)((IAL)this).GetProcAddress(__dsl_fname); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetProcAddress([NativeTypeName("const ALchar *")] Ref fname) => + ThisThread.GetProcAddress(fname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* IAL.GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* fname + ) => + ( + (delegate* unmanaged)( + _slots[175] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[175] = nativeContext.LoadFunction("alGetProcAddressDirect", "openal") + ) + )(context, fname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* fname + ) => ThisThread.GetProcAddressDirect(context, fname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref fname + ) + { + fixed (sbyte* __dsl_fname = fname) + { + return (void*)((IAL)this).GetProcAddressDirect(context, __dsl_fname); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref fname + ) => ThisThread.GetProcAddressDirect(context, fname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ) => + ( + (delegate* unmanaged)( + _slots[176] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[176] = nativeContext.LoadFunction("alGetSource3dDirectSOFT", "openal") + ) + )(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ) => ThisThread.GetSource3DDirectSOFT(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) + { + fixed (double* __dsl_value3 = value3) + fixed (double* __dsl_value2 = value2) + fixed (double* __dsl_value1 = value1) + { + ((IAL)this).GetSource3DDirectSOFT( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) => ThisThread.GetSource3DDirectSOFT(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ) => + ( + (delegate* unmanaged)( + _slots[177] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[177] = nativeContext.LoadFunction("alGetSource3dSOFT", "openal") + ) + )(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ) => ThisThread.GetSource3SOFT(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) + { + fixed (double* __dsl_value3 = value3) + fixed (double* __dsl_value2 = value2) + fixed (double* __dsl_value1 = value1) + { + ((IAL)this).GetSource3SOFT(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ) => ThisThread.GetSource3SOFT(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => + ( + (delegate* unmanaged)( + _slots[178] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[178] = nativeContext.LoadFunction("alGetSource3f", "openal") + ) + )(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => ThisThread.GetSource3(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3( + [NativeTypeName("ALuint")] uint source, + [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) + { + ((IAL)this).GetSource3(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => ThisThread.GetSource3(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => + ( + (delegate* unmanaged)( + _slots[179] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[179] = nativeContext.LoadFunction("alGetSource3fDirect", "openal") + ) + )(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value1, + [NativeTypeName("ALfloat *")] float* value2, + [NativeTypeName("ALfloat *")] float* value3 + ) => ThisThread.GetSource3FDirect(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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) + { + ((IAL)this).GetSource3FDirect( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ) => ThisThread.GetSource3FDirect(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => + ( + (delegate* unmanaged)( + _slots[180] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[180] = nativeContext.LoadFunction("alGetSource3i", "openal") + ) + )(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3i")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => ThisThread.GetSource3(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3( + [NativeTypeName("ALuint")] uint source, + [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) + { + ((IAL)this).GetSource3(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => ThisThread.GetSource3(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ) => + ( + (delegate* unmanaged)( + _slots[181] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[181] = nativeContext.LoadFunction( + "alGetSource3i64DirectSOFT", + "openal" + ) + ) + )(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ) => ThisThread.GetSource3I64DirectSOFT(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) + { + fixed (long* __dsl_value3 = value3) + fixed (long* __dsl_value2 = value2) + fixed (long* __dsl_value1 = value1) + { + ((IAL)this).GetSource3I64DirectSOFT( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) => ThisThread.GetSource3I64DirectSOFT(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ) => + ( + (delegate* unmanaged)( + _slots[182] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[182] = nativeContext.LoadFunction("alGetSource3i64SOFT", "openal") + ) + )(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ) => ThisThread.GetSource3SOFT(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) + { + fixed (long* __dsl_value3 = value3) + fixed (long* __dsl_value2 = value2) + fixed (long* __dsl_value1 = value1) + { + ((IAL)this).GetSource3SOFT(source, param1, __dsl_value1, __dsl_value2, __dsl_value3); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ) => ThisThread.GetSource3SOFT(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => + ( + (delegate* unmanaged)( + _slots[183] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[183] = nativeContext.LoadFunction("alGetSource3iDirect", "openal") + ) + )(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value1, + [NativeTypeName("ALint *")] int* value2, + [NativeTypeName("ALint *")] int* value3 + ) => ThisThread.GetSource3IDirect(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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) + { + ((IAL)this).GetSource3IDirect( + context, + source, + param2, + __dsl_value1, + __dsl_value2, + __dsl_value3 + ); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ) => ThisThread.GetSource3IDirect(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value + ) => + ( + (delegate* unmanaged)( + _slots[184] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[184] = nativeContext.LoadFunction("alGetSourcedDirectSOFT", "openal") + ) + )(context, source, param2, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value + ) => ThisThread.GetSourcedDirectSOFT(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value + ) + { + fixed (double* __dsl_value = value) + { + ((IAL)this).GetSourcedDirectSOFT(context, source, param2, __dsl_value); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value + ) => ThisThread.GetSourcedDirectSOFT(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value + ) => + ( + (delegate* unmanaged)( + _slots[185] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[185] = nativeContext.LoadFunction("alGetSourcedSOFT", "openal") + ) + )(source, param1, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value + ) => ThisThread.GetSourceSOFT(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value + ) + { + fixed (double* __dsl_value = value) + { + ((IAL)this).GetSourceSOFT(source, param1, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value + ) => ThisThread.GetSourceSOFT(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* values + ) => + ( + (delegate* unmanaged)( + _slots[186] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[186] = nativeContext.LoadFunction("alGetSourcedvDirectSOFT", "openal") + ) + )(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* values + ) => ThisThread.GetSourcedvDirectSOFT(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + ((IAL)this).GetSourcedvDirectSOFT(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref values + ) => ThisThread.GetSourcedvDirectSOFT(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ) => + ( + (delegate* unmanaged)( + _slots[187] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[187] = nativeContext.LoadFunction("alGetSourcedvSOFT", "openal") + ) + )(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ) => ThisThread.GetSourcedvSOFT(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + ((IAL)this).GetSourcedvSOFT(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ) => ThisThread.GetSourcedvSOFT(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => + ( + (delegate* unmanaged)( + _slots[188] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[188] = nativeContext.LoadFunction("alGetSourcef", "openal") + ) + )(source, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcef")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ) => ThisThread.GetSourcef(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + ((IAL)this).GetSourcef(source, param1, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcef")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ) => ThisThread.GetSourcef(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ) => + ( + (delegate* unmanaged)( + _slots[189] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[189] = nativeContext.LoadFunction("alGetSourcefDirect", "openal") + ) + )(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ) => ThisThread.GetSourcefDirect(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ) + { + fixed (float* __dsl_value = value) + { + ((IAL)this).GetSourcefDirect(context, source, param2, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ) => ThisThread.GetSourcefDirect(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[190] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[190] = nativeContext.LoadFunction("alGetSourcefv", "openal") + ) + )(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcefv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ) => ThisThread.GetSourcefv(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).GetSourcefv(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ) => ThisThread.GetSourcefv(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[191] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[191] = nativeContext.LoadFunction("alGetSourcefvDirect", "openal") + ) + )(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ) => ThisThread.GetSourcefvDirect(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).GetSourcefvDirect(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ) => ThisThread.GetSourcefvDirect(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => + ( + (delegate* unmanaged)( + _slots[192] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[192] = nativeContext.LoadFunction("alGetSourcei", "openal") + ) + )(source, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcei")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ) => ThisThread.GetSourcei(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + ((IAL)this).GetSourcei(source, param1, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ) => ThisThread.GetSourcei(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value + ) => + ( + (delegate* unmanaged)( + _slots[193] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[193] = nativeContext.LoadFunction("alGetSourcei64DirectSOFT", "openal") + ) + )(context, source, param2, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value + ) => ThisThread.GetSourcei64DirectSOFT(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value + ) + { + fixed (long* __dsl_value = value) + { + ((IAL)this).GetSourcei64DirectSOFT(context, source, param2, __dsl_value); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value + ) => ThisThread.GetSourcei64DirectSOFT(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value + ) => + ( + (delegate* unmanaged)( + _slots[194] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[194] = nativeContext.LoadFunction("alGetSourcei64SOFT", "openal") + ) + )(source, param1, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value + ) => ThisThread.GetSourcei64SOFT(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value + ) + { + fixed (long* __dsl_value = value) + { + ((IAL)this).GetSourcei64SOFT(source, param1, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value + ) => ThisThread.GetSourcei64SOFT(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* values + ) => + ( + (delegate* unmanaged)( + _slots[195] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[195] = nativeContext.LoadFunction( + "alGetSourcei64vDirectSOFT", + "openal" + ) + ) + )(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* values + ) => ThisThread.GetSourcei64VDirectSOFT(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + ((IAL)this).GetSourcei64VDirectSOFT(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref values + ) => ThisThread.GetSourcei64VDirectSOFT(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* values + ) => + ( + (delegate* unmanaged)( + _slots[196] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[196] = nativeContext.LoadFunction("alGetSourcei64vSOFT", "openal") + ) + )(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* values + ) => ThisThread.GetSourcei64VSOFT(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + ((IAL)this).GetSourcei64VSOFT(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref values + ) => ThisThread.GetSourcei64VSOFT(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ) => + ( + (delegate* unmanaged)( + _slots[197] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[197] = nativeContext.LoadFunction("alGetSourceiDirect", "openal") + ) + )(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ) => ThisThread.GetSourceiDirect(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ) + { + fixed (int* __dsl_value = value) + { + ((IAL)this).GetSourceiDirect(context, source, param2, __dsl_value); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ) => ThisThread.GetSourceiDirect(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[198] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[198] = nativeContext.LoadFunction("alGetSourceiv", "openal") + ) + )(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourceiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ) => ThisThread.GetSourceiv(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).GetSourceiv(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ) => ThisThread.GetSourceiv(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[199] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[199] = nativeContext.LoadFunction("alGetSourceivDirect", "openal") + ) + )(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ) => ThisThread.GetSourceivDirect(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).GetSourceivDirect(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ) => ThisThread.GetSourceivDirect(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetString([NativeTypeName("ALenum")] int param0) => + (sbyte*)((IAL)this).GetStringRaw(param0); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetString([NativeTypeName("ALenum")] int param0) => + ThisThread.GetString(param0); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetStringDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1) => + (sbyte*)((IAL)this).GetStringDirectRaw(context, param1); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetStringDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => ThisThread.GetStringDirect(context, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte* IAL.GetStringDirectRaw(ContextHandle context, [NativeTypeName("ALenum")] int param1) => + ( + (delegate* unmanaged)( + _slots[201] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[201] = nativeContext.LoadFunction("alGetStringDirect", "openal") + ) + )(context, param1); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte* GetStringDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ) => ThisThread.GetStringDirectRaw(context, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte* IAL.GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ) => + ( + (delegate* unmanaged)( + _slots[202] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[202] = nativeContext.LoadFunction("alGetStringiDirectSOFT", "openal") + ) + )(context, pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte* GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ) => ThisThread.GetStringiDirectSOFT(context, pname, index); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => (sbyte*)((IAL)this).GetStringiDirectSOFT(context, (int)pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => ThisThread.GetStringiDirectSOFT(context, pname, index); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte* IAL.GetStringSOFT( + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ) => + ( + (delegate* unmanaged)( + _slots[203] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[203] = nativeContext.LoadFunction("alGetStringiSOFT", "openal") + ) + )(pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte* GetStringSOFT( + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ) => ThisThread.GetStringSOFT(pname, index); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IAL.GetStringSOFT( + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => (sbyte*)((IAL)this).GetStringSOFT((int)pname, index); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetStringSOFT( + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ) => ThisThread.GetStringSOFT(pname, index); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte* IAL.GetStringRaw([NativeTypeName("ALenum")] int param0) => + ( + (delegate* unmanaged)( + _slots[200] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[200] = nativeContext.LoadFunction("alGetString", "openal") + ) + )(param0); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte* GetStringRaw([NativeTypeName("ALenum")] int param0) => + ThisThread.GetStringRaw(param0); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsAuxiliaryEffectSlot([NativeTypeName("ALuint")] uint effectslot) => + (MaybeBool)(sbyte)((IAL)this).IsAuxiliaryEffectSlotRaw(effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsAuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot + ) => ThisThread.IsAuxiliaryEffectSlot(effectslot); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsAuxiliaryEffectSlotDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => (MaybeBool)(sbyte)((IAL)this).IsAuxiliaryEffectSlotDirectRaw(context, effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsAuxiliaryEffectSlotDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => ThisThread.IsAuxiliaryEffectSlotDirect(context, effectslot); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsAuxiliaryEffectSlotDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => + ( + (delegate* unmanaged)( + _slots[205] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[205] = nativeContext.LoadFunction( + "alIsAuxiliaryEffectSlotDirect", + "openal" + ) + ) + )(context, effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsAuxiliaryEffectSlotDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ) => ThisThread.IsAuxiliaryEffectSlotDirectRaw(context, effectslot); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsAuxiliaryEffectSlotRaw([NativeTypeName("ALuint")] uint effectslot) => + ( + (delegate* unmanaged)( + _slots[204] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[204] = nativeContext.LoadFunction("alIsAuxiliaryEffectSlot", "openal") + ) + )(effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsAuxiliaryEffectSlotRaw([NativeTypeName("ALuint")] uint effectslot) => + ThisThread.IsAuxiliaryEffectSlotRaw(effectslot); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsBuffer([NativeTypeName("ALuint")] uint buffer) => + (MaybeBool)(sbyte)((IAL)this).IsBufferRaw(buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsBuffer([NativeTypeName("ALuint")] uint buffer) => + ThisThread.IsBuffer(buffer); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsBufferDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ) => (MaybeBool)(sbyte)((IAL)this).IsBufferDirectRaw(context, buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsBufferDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ) => ThisThread.IsBufferDirect(context, buffer); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsBufferDirectRaw(ContextHandle context, [NativeTypeName("ALuint")] uint buffer) => + ( + (delegate* unmanaged)( + _slots[207] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[207] = nativeContext.LoadFunction("alIsBufferDirect", "openal") + ) + )(context, buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsBufferDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ) => ThisThread.IsBufferDirectRaw(context, buffer); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsBufferFormatSupporteSOFT([NativeTypeName("ALenum")] int format) => + (MaybeBool)(sbyte)((IAL)this).IsBufferFormatSupportedSOFTRaw(format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsBufferFormatSupporteSOFT( + [NativeTypeName("ALenum")] int format + ) => ThisThread.IsBufferFormatSupporteSOFT(format); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsBufferFormatSupportedSOFTRaw([NativeTypeName("ALenum")] int format) => + ( + (delegate* unmanaged)( + _slots[208] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[208] = nativeContext.LoadFunction( + "alIsBufferFormatSupportedSOFT", + "openal" + ) + ) + )(format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsBufferFormatSupportedSOFTRaw([NativeTypeName("ALenum")] int format) => + ThisThread.IsBufferFormatSupportedSOFTRaw(format); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsBufferRaw([NativeTypeName("ALuint")] uint buffer) => + ( + (delegate* unmanaged)( + _slots[206] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[206] = nativeContext.LoadFunction("alIsBuffer", "openal") + ) + )(buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsBufferRaw([NativeTypeName("ALuint")] uint buffer) => + ThisThread.IsBufferRaw(buffer); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsEffect([NativeTypeName("ALuint")] uint effect) => + (MaybeBool)(sbyte)((IAL)this).IsEffectRaw(effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsEffect([NativeTypeName("ALuint")] uint effect) => + ThisThread.IsEffect(effect); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsEffectDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ) => (MaybeBool)(sbyte)((IAL)this).IsEffectDirectRaw(context, effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsEffectDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ) => ThisThread.IsEffectDirect(context, effect); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsEffectDirectRaw(ContextHandle context, [NativeTypeName("ALuint")] uint effect) => + ( + (delegate* unmanaged)( + _slots[210] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[210] = nativeContext.LoadFunction("alIsEffectDirect", "openal") + ) + )(context, effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsEffectDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ) => ThisThread.IsEffectDirectRaw(context, effect); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsEffectRaw([NativeTypeName("ALuint")] uint effect) => + ( + (delegate* unmanaged)( + _slots[209] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[209] = nativeContext.LoadFunction("alIsEffect", "openal") + ) + )(effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsEffectRaw([NativeTypeName("ALuint")] uint effect) => + ThisThread.IsEffectRaw(effect); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsEnabled([NativeTypeName("ALenum")] int capability) => + ( + (delegate* unmanaged)( + _slots[211] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[211] = nativeContext.LoadFunction("alIsEnabled", "openal") + ) + )(capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsEnabled([NativeTypeName("ALenum")] int capability) => + ThisThread.IsEnabled(capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsEnabled( + [NativeTypeName("ALenum")] Constant capability + ) => (MaybeBool)(sbyte)((IAL)this).IsEnabled((int)capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsEnabled( + [NativeTypeName("ALenum")] Constant capability + ) => ThisThread.IsEnabled(capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsEnabledDirect(ContextHandle context, [NativeTypeName("ALenum")] int capability) => + ( + (delegate* unmanaged)( + _slots[212] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[212] = nativeContext.LoadFunction("alIsEnabledDirect", "openal") + ) + )(context, capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ) => ThisThread.IsEnabledDirect(context, capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => (MaybeBool)(sbyte)((IAL)this).IsEnabledDirect(context, (int)capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ) => ThisThread.IsEnabledDirect(context, capability); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsExtensionPresent([NativeTypeName("const ALchar *")] sbyte* extname) => + ( + (delegate* unmanaged)( + _slots[213] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[213] = nativeContext.LoadFunction("alIsExtensionPresent", "openal") + ) + )(extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsExtensionPresent([NativeTypeName("const ALchar *")] sbyte* extname) => + ThisThread.IsExtensionPresent(extname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsExtensionPresent([NativeTypeName("const ALchar *")] Ref extname) + { + fixed (sbyte* __dsl_extname = extname) + { + return (MaybeBool)(sbyte)((IAL)this).IsExtensionPresent(__dsl_extname); + } + } + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsExtensionPresent( + [NativeTypeName("const ALchar *")] Ref extname + ) => ThisThread.IsExtensionPresent(extname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* extname + ) => + ( + (delegate* unmanaged)( + _slots[214] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[214] = nativeContext.LoadFunction( + "alIsExtensionPresentDirect", + "openal" + ) + ) + )(context, extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* extname + ) => ThisThread.IsExtensionPresentDirect(context, extname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref extname + ) + { + fixed (sbyte* __dsl_extname = extname) + { + return (MaybeBool) + (sbyte)((IAL)this).IsExtensionPresentDirect(context, __dsl_extname); + } + } + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref extname + ) => ThisThread.IsExtensionPresentDirect(context, extname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsFilter([NativeTypeName("ALuint")] uint filter) => + (MaybeBool)(sbyte)((IAL)this).IsFilterRaw(filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsFilter([NativeTypeName("ALuint")] uint filter) => + ThisThread.IsFilter(filter); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsFilterDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ) => (MaybeBool)(sbyte)((IAL)this).IsFilterDirectRaw(context, filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsFilterDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ) => ThisThread.IsFilterDirect(context, filter); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsFilterDirectRaw(ContextHandle context, [NativeTypeName("ALuint")] uint filter) => + ( + (delegate* unmanaged)( + _slots[216] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[216] = nativeContext.LoadFunction("alIsFilterDirect", "openal") + ) + )(context, filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsFilterDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ) => ThisThread.IsFilterDirectRaw(context, filter); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsFilterRaw([NativeTypeName("ALuint")] uint filter) => + ( + (delegate* unmanaged)( + _slots[215] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[215] = nativeContext.LoadFunction("alIsFilter", "openal") + ) + )(filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsFilterRaw([NativeTypeName("ALuint")] uint filter) => + ThisThread.IsFilterRaw(filter); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsSource([NativeTypeName("ALuint")] uint source) => + (MaybeBool)(sbyte)((IAL)this).IsSourceRaw(source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSource")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsSource([NativeTypeName("ALuint")] uint source) => + ThisThread.IsSource(source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.IsSourceDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => (MaybeBool)(sbyte)((IAL)this).IsSourceDirectRaw(context, source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool IsSourceDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => ThisThread.IsSourceDirect(context, source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsSourceDirectRaw(ContextHandle context, [NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[218] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[218] = nativeContext.LoadFunction("alIsSourceDirect", "openal") + ) + )(context, source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsSourceDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => ThisThread.IsSourceDirectRaw(context, source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.IsSourceRaw([NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[217] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[217] = nativeContext.LoadFunction("alIsSource", "openal") + ) + )(source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsSource")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsSourceRaw([NativeTypeName("ALuint")] uint source) => + ThisThread.IsSourceRaw(source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => + ( + (delegate* unmanaged)( + _slots[219] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[219] = nativeContext.LoadFunction("alListener3f", "openal") + ) + )(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListener3f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => ThisThread.Listener3(param0, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => + ( + (delegate* unmanaged)( + _slots[220] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[220] = nativeContext.LoadFunction("alListener3fDirect", "openal") + ) + )(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => ThisThread.Listener3FDirect(context, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => + ( + (delegate* unmanaged)( + _slots[221] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[221] = nativeContext.LoadFunction("alListener3i", "openal") + ) + )(param0, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListener3i")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => ThisThread.Listener3(param0, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => + ( + (delegate* unmanaged)( + _slots[222] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[222] = nativeContext.LoadFunction("alListener3iDirect", "openal") + ) + )(context, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => ThisThread.Listener3IDirect(context, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value + ) => + ( + (delegate* unmanaged)( + _slots[223] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[223] = nativeContext.LoadFunction("alListenerf", "openal") + ) + )(param0, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListenerf")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value + ) => ThisThread.Listener(param0, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => + ( + (delegate* unmanaged)( + _slots[224] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[224] = nativeContext.LoadFunction("alListenerfDirect", "openal") + ) + )(context, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => ThisThread.ListenerfDirect(context, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[225] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[225] = nativeContext.LoadFunction("alListenerfv", "openal") + ) + )(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] float* values + ) => ThisThread.Listener(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).Listener(param0, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] Ref values + ) => ThisThread.Listener(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[226] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[226] = nativeContext.LoadFunction("alListenerfvDirect", "openal") + ) + )(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => ThisThread.ListenerfvDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).ListenerfvDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) => ThisThread.ListenerfvDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener([NativeTypeName("ALenum")] int param0, [NativeTypeName("ALint")] int value) => + ( + (delegate* unmanaged)( + _slots[227] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[227] = nativeContext.LoadFunction("alListeneri", "openal") + ) + )(param0, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneri")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value + ) => ThisThread.Listener(param0, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => + ( + (delegate* unmanaged)( + _slots[228] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[228] = nativeContext.LoadFunction("alListeneriDirect", "openal") + ) + )(context, param1, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListeneriDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => ThisThread.ListeneriDirect(context, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[229] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[229] = nativeContext.LoadFunction("alListeneriv", "openal") + ) + )(param0, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] int* values + ) => ThisThread.Listener(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).Listener(param0, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] Ref values + ) => ThisThread.Listener(param0, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[230] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[230] = nativeContext.LoadFunction("alListenerivDirect", "openal") + ) + )(context, param1, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => ThisThread.ListenerivDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).ListenerivDirect(context, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) => ThisThread.ListenerivDirect(context, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ) => + ( + (delegate* unmanaged)( + _slots[231] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[231] = nativeContext.LoadFunction("alObjectLabelDirectEXT", "openal") + ) + )(context, identifier, name, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ) => ThisThread.ObjectLabelDirectEXT(context, identifier, name, length, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) + { + fixed (sbyte* __dsl_label = label) + { + ((IAL)this).ObjectLabelDirectEXT(context, (int)identifier, name, length, __dsl_label); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) => ThisThread.ObjectLabelDirectEXT(context, identifier, name, length, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => ((IAL)this).ObjectLabelDirectEXT(context, (int)identifier, name, 1, (sbyte*)&label); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => ThisThread.ObjectLabelDirectEXT(context, identifier, name, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ) => + ( + (delegate* unmanaged)( + _slots[232] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[232] = nativeContext.LoadFunction("alObjectLabelEXT", "openal") + ) + )(identifier, name, length, label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ) => ThisThread.ObjectLabelEXT(identifier, name, length, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) + { + fixed (sbyte* __dsl_label = label) + { + ((IAL)this).ObjectLabelEXT((int)identifier, name, length, __dsl_label); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ) => ThisThread.ObjectLabelEXT(identifier, name, length, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => ((IAL)this).ObjectLabelEXT((int)identifier, name, 1, (sbyte*)&label); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ) => ThisThread.ObjectLabelEXT(identifier, name, label); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.PopDebugGroupDirectEXT(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[233] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[233] = nativeContext.LoadFunction("alPopDebugGroupDirectEXT", "openal") + ) + )(context); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void PopDebugGroupDirectEXT(ContextHandle context) => + ThisThread.PopDebugGroupDirectEXT(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.PopDebugGroupEXT() => + ( + (delegate* unmanaged)( + _slots[234] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[234] = nativeContext.LoadFunction("alPopDebugGroupEXT", "openal") + ) + )(); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void PopDebugGroupEXT() => ThisThread.PopDebugGroupEXT(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ProcessUpdatesDirectSOFT(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[235] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[235] = nativeContext.LoadFunction( + "alProcessUpdatesDirectSOFT", + "openal" + ) + ) + )(context); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ProcessUpdatesDirectSOFT(ContextHandle context) => + ThisThread.ProcessUpdatesDirectSOFT(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.ProcessUpdatesSOFT() => + ( + (delegate* unmanaged)( + _slots[236] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[236] = nativeContext.LoadFunction("alProcessUpdatesSOFT", "openal") + ) + )(); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ProcessUpdatesSOFT() => ThisThread.ProcessUpdatesSOFT(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ) => + ( + (delegate* unmanaged)( + _slots[237] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[237] = nativeContext.LoadFunction( + "alPushDebugGroupDirectEXT", + "openal" + ) + ) + )(context, source, id, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ) => ThisThread.PushDebugGroupDirectEXT(context, source, id, length, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) + { + fixed (sbyte* __dsl_message = message) + { + ((IAL)this).PushDebugGroupDirectEXT(context, (int)source, id, length, __dsl_message); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) => ThisThread.PushDebugGroupDirectEXT(context, source, id, length, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => ((IAL)this).PushDebugGroupDirectEXT(context, (int)source, id, 1, (sbyte*)&message); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => ThisThread.PushDebugGroupDirectEXT(context, source, id, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.PushDebugGroupEXT( + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ) => + ( + (delegate* unmanaged)( + _slots[238] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[238] = nativeContext.LoadFunction("alPushDebugGroupEXT", "openal") + ) + )(source, id, length, message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void PushDebugGroupEXT( + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ) => ThisThread.PushDebugGroupEXT(source, id, length, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) + { + fixed (sbyte* __dsl_message = message) + { + ((IAL)this).PushDebugGroupEXT((int)source, id, length, __dsl_message); + } + } + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ) => ThisThread.PushDebugGroupEXT(source, id, length, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => ((IAL)this).PushDebugGroupEXT((int)source, id, 1, (sbyte*)&message); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ) => ThisThread.PushDebugGroupEXT(source, id, message); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => + ( + (delegate* unmanaged)( + _slots[239] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[239] = nativeContext.LoadFunction("alRequestFoldbackStart", "openal") + ) + )(mode, count, length, mem, callback); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => ThisThread.RequestFoldbackStart(mode, count, length, mem, callback); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) + { + fixed (float* __dsl_mem = mem) + { + ((IAL)this).RequestFoldbackStart(mode, count, length, __dsl_mem, callback); + } + } + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => ThisThread.RequestFoldbackStart(mode, count, length, mem, callback); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => + ( + (delegate* unmanaged)( + _slots[240] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[240] = nativeContext.LoadFunction( + "alRequestFoldbackStartDirect", + "openal" + ) + ) + )(context, mode, count, length, mem, callback); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => ThisThread.RequestFoldbackStartDirect(context, mode, count, length, mem, callback); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) + { + fixed (float* __dsl_mem = mem) + { + ((IAL)this).RequestFoldbackStartDirect( + context, + mode, + count, + length, + __dsl_mem, + callback + ); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ) => ThisThread.RequestFoldbackStartDirect(context, mode, count, length, mem, callback); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.RequestFoldbackStop() => + ( + (delegate* unmanaged)( + _slots[241] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[241] = nativeContext.LoadFunction("alRequestFoldbackStop", "openal") + ) + )(); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStop")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void RequestFoldbackStop() => ThisThread.RequestFoldbackStop(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.RequestFoldbackStopDirect(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[242] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[242] = nativeContext.LoadFunction( + "alRequestFoldbackStopDirect", + "openal" + ) + ) + )(context); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStopDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void RequestFoldbackStopDirect(ContextHandle context) => + ThisThread.RequestFoldbackStopDirect(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ) => + ( + (delegate* unmanaged)( + _slots[243] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[243] = nativeContext.LoadFunction("alSource3dDirectSOFT", "openal") + ) + )(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3dDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ) => ThisThread.Source3DDirectSOFT(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ) => + ( + (delegate* unmanaged)( + _slots[244] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[244] = nativeContext.LoadFunction("alSource3dSOFT", "openal") + ) + )(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3dSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ) => ThisThread.Source3Soft(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => + ( + (delegate* unmanaged)( + _slots[245] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[245] = nativeContext.LoadFunction("alSource3f", "openal") + ) + )(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSource3f")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => ThisThread.Source3(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => + ( + (delegate* unmanaged)( + _slots[246] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[246] = nativeContext.LoadFunction("alSource3fDirect", "openal") + ) + )(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3fDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ) => ThisThread.Source3FDirect(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => + ( + (delegate* unmanaged)( + _slots[247] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[247] = nativeContext.LoadFunction("alSource3i", "openal") + ) + )(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSource3i")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => ThisThread.Source3(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ) => + ( + (delegate* unmanaged)( + _slots[248] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[248] = nativeContext.LoadFunction("alSource3i64DirectSOFT", "openal") + ) + )(context, source, param2, value1, value2, value3); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3i64DirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ) => ThisThread.Source3I64DirectSOFT(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ) => + ( + (delegate* unmanaged)( + _slots[249] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[249] = nativeContext.LoadFunction("alSource3i64SOFT", "openal") + ) + )(source, param1, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3i64SOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ) => ThisThread.Source3Soft(source, param1, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => + ( + (delegate* unmanaged)( + _slots[250] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[250] = nativeContext.LoadFunction("alSource3iDirect", "openal") + ) + )(context, source, param2, value1, value2, value3); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3iDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ) => ThisThread.Source3IDirect(context, source, param2, value1, value2, value3); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value + ) => + ( + (delegate* unmanaged)( + _slots[251] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[251] = nativeContext.LoadFunction("alSourcedDirectSOFT", "openal") + ) + )(context, source, param2, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value + ) => ThisThread.SourcedDirectSOFT(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value + ) => + ( + (delegate* unmanaged)( + _slots[252] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[252] = nativeContext.LoadFunction("alSourcedSOFT", "openal") + ) + )(source, param1, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value + ) => ThisThread.SourceSOFT(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] double* values + ) => + ( + (delegate* unmanaged)( + _slots[253] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[253] = nativeContext.LoadFunction("alSourcedvDirectSOFT", "openal") + ) + )(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] double* values + ) => ThisThread.SourcedvDirectSOFT(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + ((IAL)this).SourcedvDirectSOFT(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] Ref values + ) => ThisThread.SourcedvDirectSOFT(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] double* values + ) => + ( + (delegate* unmanaged)( + _slots[254] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[254] = nativeContext.LoadFunction("alSourcedvSOFT", "openal") + ) + )(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] double* values + ) => ThisThread.SourceSOFT(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] Ref values + ) + { + fixed (double* __dsl_values = values) + { + ((IAL)this).SourceSOFT(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] Ref values + ) => ThisThread.SourceSOFT(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => + ( + (delegate* unmanaged)( + _slots[255] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[255] = nativeContext.LoadFunction("alSourcef", "openal") + ) + )(source, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcef")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ) => ThisThread.Source(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ) => + ( + (delegate* unmanaged)( + _slots[256] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[256] = nativeContext.LoadFunction("alSourcefDirect", "openal") + ) + )(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ) => ThisThread.SourcefDirect(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[257] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[257] = nativeContext.LoadFunction("alSourcefv", "openal") + ) + )(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcefv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ) => ThisThread.Source(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).Source(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ) => ThisThread.Source(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ) => + ( + (delegate* unmanaged)( + _slots[258] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[258] = nativeContext.LoadFunction("alSourcefvDirect", "openal") + ) + )(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ) => ThisThread.SourcefvDirect(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) + { + fixed (float* __dsl_values = values) + { + ((IAL)this).SourcefvDirect(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ) => ThisThread.SourcefvDirect(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => + ( + (delegate* unmanaged)( + _slots[259] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[259] = nativeContext.LoadFunction("alSourcei", "openal") + ) + )(source, param1, value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcei")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ) => ThisThread.Source(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Sourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value + ) => + ( + (delegate* unmanaged)( + _slots[260] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[260] = nativeContext.LoadFunction("alSourcei64DirectSOFT", "openal") + ) + )(context, source, param2, value); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64DirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Sourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value + ) => ThisThread.Sourcei64DirectSOFT(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value + ) => + ( + (delegate* unmanaged)( + _slots[261] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[261] = nativeContext.LoadFunction("alSourcei64SOFT", "openal") + ) + )(source, param1, value); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64SOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value + ) => ThisThread.SourceSOFT(source, param1, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] long* values + ) => + ( + (delegate* unmanaged)( + _slots[262] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[262] = nativeContext.LoadFunction("alSourcei64vDirectSOFT", "openal") + ) + )(context, source, param2, values); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] long* values + ) => ThisThread.Sourcei64VDirectSOFT(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + ((IAL)this).Sourcei64VDirectSOFT(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) => ThisThread.Sourcei64VDirectSOFT(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] long* values + ) => + ( + (delegate* unmanaged)( + _slots[263] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[263] = nativeContext.LoadFunction("alSourcei64vSOFT", "openal") + ) + )(source, param1, values); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] long* values + ) => ThisThread.SourceSOFT(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + ((IAL)this).SourceSOFT(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] Ref values + ) => ThisThread.SourceSOFT(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ) => + ( + (delegate* unmanaged)( + _slots[264] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[264] = nativeContext.LoadFunction("alSourceiDirect", "openal") + ) + )(context, source, param2, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceiDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ) => ThisThread.SourceiDirect(context, source, param2, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[265] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[265] = nativeContext.LoadFunction("alSourceiv", "openal") + ) + )(source, param1, values); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ) => ThisThread.Source(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).Source(source, param1, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceiv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ) => ThisThread.Source(source, param1, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[266] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[266] = nativeContext.LoadFunction("alSourceivDirect", "openal") + ) + )(context, source, param2, values); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ) => ThisThread.SourceivDirect(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IAL)this).SourceivDirect(context, source, param2, __dsl_values); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ) => ThisThread.SourceivDirect(context, source, param2, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePause([NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[267] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[267] = nativeContext.LoadFunction("alSourcePause", "openal") + ) + )(source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePause")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePause([NativeTypeName("ALuint")] uint source) => + ThisThread.SourcePause(source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePauseDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[268] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[268] = nativeContext.LoadFunction("alSourcePauseDirect", "openal") + ) + )(context, source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePauseDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePauseDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => ThisThread.SourcePauseDirect(context, source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[269] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[269] = nativeContext.LoadFunction("alSourcePausev", "openal") + ) + )(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.SourcePausev(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourcePausev(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => ThisThread.SourcePausev(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePausev([NativeTypeName("const ALuint *")] uint sources) => + ((IAL)this).SourcePausev(1, (uint*)&sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePausev([NativeTypeName("const ALuint *")] uint sources) => + ThisThread.SourcePausev(sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[270] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[270] = nativeContext.LoadFunction("alSourcePausevDirect", "openal") + ) + )(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.SourcePausevDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourcePausevDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => ThisThread.SourcePausevDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePausevDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ((IAL)this).SourcePausevDirect(context, 1, (uint*)&sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ThisThread.SourcePausevDirect(context, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlay([NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[271] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[271] = nativeContext.LoadFunction("alSourcePlay", "openal") + ) + )(source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlay")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlay([NativeTypeName("ALuint")] uint source) => + ThisThread.SourcePlay(source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayAtTimeDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ) => + ( + (delegate* unmanaged)( + _slots[272] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[272] = nativeContext.LoadFunction( + "alSourcePlayAtTimeDirectSOFT", + "openal" + ) + ) + )(context, source, start_time); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayAtTimeDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ThisThread.SourcePlayAtTimeDirectSOFT(context, source, start_time); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayAtTimeSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ) => + ( + (delegate* unmanaged)( + _slots[273] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[273] = nativeContext.LoadFunction("alSourcePlayAtTimeSOFT", "openal") + ) + )(source, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayAtTimeSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ThisThread.SourcePlayAtTimeSOFT(source, start_time); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => + ( + (delegate* unmanaged)( + _slots[274] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[274] = nativeContext.LoadFunction( + "alSourcePlayAtTimevDirectSOFT", + "openal" + ) + ) + )(context, n, sources, start_time); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ThisThread.SourcePlayAtTimevDirectSOFT(context, n, sources, start_time); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourcePlayAtTimevDirectSOFT(context, n, __dsl_sources, start_time); + } + } + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ThisThread.SourcePlayAtTimevDirectSOFT(context, n, sources, start_time); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ((IAL)this).SourcePlayAtTimevDirectSOFT(context, 1, (uint*)&sources, start_time); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ThisThread.SourcePlayAtTimevDirectSOFT(context, sources, start_time); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => + ( + (delegate* unmanaged)( + _slots[275] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[275] = nativeContext.LoadFunction("alSourcePlayAtTimevSOFT", "openal") + ) + )(n, sources, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ThisThread.SourcePlayAtTimevSOFT(n, sources, start_time); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourcePlayAtTimevSOFT(n, __dsl_sources, start_time); + } + } + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ThisThread.SourcePlayAtTimevSOFT(n, sources, start_time); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayAtTimevSOFT( + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ((IAL)this).SourcePlayAtTimevSOFT(1, (uint*)&sources, start_time); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayAtTimevSOFT( + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ) => ThisThread.SourcePlayAtTimevSOFT(sources, start_time); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[276] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[276] = nativeContext.LoadFunction("alSourcePlayDirect", "openal") + ) + )(context, source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => ThisThread.SourcePlayDirect(context, source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[277] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[277] = nativeContext.LoadFunction("alSourcePlayv", "openal") + ) + )(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.SourcePlayv(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourcePlayv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => ThisThread.SourcePlayv(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayv([NativeTypeName("const ALuint *")] uint sources) => + ((IAL)this).SourcePlayv(1, (uint*)&sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayv([NativeTypeName("const ALuint *")] uint sources) => + ThisThread.SourcePlayv(sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[278] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[278] = nativeContext.LoadFunction("alSourcePlayvDirect", "openal") + ) + )(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.SourcePlayvDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourcePlayvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => ThisThread.SourcePlayvDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ((IAL)this).SourcePlayvDirect(context, 1, (uint*)&sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ThisThread.SourcePlayvDirect(context, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ) => + ( + (delegate* unmanaged)( + _slots[279] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[279] = nativeContext.LoadFunction("alSourceQueueBuffers", "openal") + ) + )(source, nb, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ) => ThisThread.SourceQueueBuffers(source, nb, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + ((IAL)this).SourceQueueBuffers(source, nb, __dsl_buffers); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) => ThisThread.SourceQueueBuffers(source, nb, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ) => + ( + (delegate* unmanaged)( + _slots[280] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[280] = nativeContext.LoadFunction( + "alSourceQueueBuffersDirect", + "openal" + ) + ) + )(context, source, nb, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ) => ThisThread.SourceQueueBuffersDirect(context, source, nb, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + ((IAL)this).SourceQueueBuffersDirect(context, source, nb, __dsl_buffers); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ) => ThisThread.SourceQueueBuffersDirect(context, source, nb, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceRewin([NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[281] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[281] = nativeContext.LoadFunction("alSourceRewind", "openal") + ) + )(source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewind")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceRewin([NativeTypeName("ALuint")] uint source) => + ThisThread.SourceRewin(source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceRewindDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[282] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[282] = nativeContext.LoadFunction("alSourceRewindDirect", "openal") + ) + )(context, source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceRewindDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => ThisThread.SourceRewindDirect(context, source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[283] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[283] = nativeContext.LoadFunction("alSourceRewindv", "openal") + ) + )(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.SourceRewindv(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourceRewindv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => ThisThread.SourceRewindv(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceRewindv([NativeTypeName("const ALuint *")] uint sources) => + ((IAL)this).SourceRewindv(1, (uint*)&sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceRewindv([NativeTypeName("const ALuint *")] uint sources) => + ThisThread.SourceRewindv(sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[284] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[284] = nativeContext.LoadFunction("alSourceRewindvDirect", "openal") + ) + )(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.SourceRewindvDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourceRewindvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => ThisThread.SourceRewindvDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ((IAL)this).SourceRewindvDirect(context, 1, (uint*)&sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ThisThread.SourceRewindvDirect(context, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceStop([NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[285] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[285] = nativeContext.LoadFunction("alSourceStop", "openal") + ) + )(source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStop")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceStop([NativeTypeName("ALuint")] uint source) => + ThisThread.SourceStop(source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceStopDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source) => + ( + (delegate* unmanaged)( + _slots[286] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[286] = nativeContext.LoadFunction("alSourceStopDirect", "openal") + ) + )(context, source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceStopDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ) => ThisThread.SourceStopDirect(context, source); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[287] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[287] = nativeContext.LoadFunction("alSourceStopv", "openal") + ) + )(n, sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.SourceStopv(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourceStopv(n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => ThisThread.SourceStopv(n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceStopv([NativeTypeName("const ALuint *")] uint sources) => + ((IAL)this).SourceStopv(1, (uint*)&sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceStopv([NativeTypeName("const ALuint *")] uint sources) => + ThisThread.SourceStopv(sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => + ( + (delegate* unmanaged)( + _slots[288] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[288] = nativeContext.LoadFunction("alSourceStopvDirect", "openal") + ) + )(context, n, sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ) => ThisThread.SourceStopvDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) + { + fixed (uint* __dsl_sources = sources) + { + ((IAL)this).SourceStopvDirect(context, n, __dsl_sources); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ) => ThisThread.SourceStopvDirect(context, n, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceStopvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ((IAL)this).SourceStopvDirect(context, 1, (uint*)&sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ) => ThisThread.SourceStopvDirect(context, sources); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ) => + ( + (delegate* unmanaged)( + _slots[289] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[289] = nativeContext.LoadFunction("alSourceUnqueueBuffers", "openal") + ) + )(source, nb, buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ) => ThisThread.SourceUnqueueBuffers(source, nb, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + ((IAL)this).SourceUnqueueBuffers(source, nb, __dsl_buffers); + } + } + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) => ThisThread.SourceUnqueueBuffers(source, nb, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ) => + ( + (delegate* unmanaged)( + _slots[290] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[290] = nativeContext.LoadFunction( + "alSourceUnqueueBuffersDirect", + "openal" + ) + ) + )(context, source, nb, buffers); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ) => ThisThread.SourceUnqueueBuffersDirect(context, source, nb, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) + { + fixed (uint* __dsl_buffers = buffers) + { + ((IAL)this).SourceUnqueueBuffersDirect(context, source, nb, __dsl_buffers); + } + } + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ) => ThisThread.SourceUnqueueBuffersDirect(context, source, nb, buffers); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SpeedOfSound([NativeTypeName("ALfloat")] float value) => + ( + (delegate* unmanaged)( + _slots[291] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[291] = nativeContext.LoadFunction("alSpeedOfSound", "openal") + ) + )(value); + + [SupportedApiProfile("al", ["AL_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alSpeedOfSound")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SpeedOfSound([NativeTypeName("ALfloat")] float value) => + ThisThread.SpeedOfSound(value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IAL.SpeedOfSoundDirect(ContextHandle context, [NativeTypeName("ALfloat")] float value) => + ( + (delegate* unmanaged)( + _slots[292] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[292] = nativeContext.LoadFunction("alSpeedOfSoundDirect", "openal") + ) + )(context, value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSpeedOfSoundDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SpeedOfSoundDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ) => ThisThread.SpeedOfSoundDirect(context, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] int* pReserved + ) => + ( + (delegate* unmanaged)( + _slots[293] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[293] = nativeContext.LoadFunction("EAXGetBufferModeDirect", "openal") + ) + )(context, buffer, pReserved); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] int* pReserved + ) => ThisThread.EAXGetBufferModeDirect(context, buffer, pReserved); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] Ref pReserved + ) + { + fixed (int* __dsl_pReserved = pReserved) + { + return (int)((IAL)this).EAXGetBufferModeDirect(context, buffer, __dsl_pReserved); + } + } + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] Ref pReserved + ) => ThisThread.EAXGetBufferModeDirect(context, buffer, pReserved); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ) => + ( + (delegate* unmanaged)( + _slots[294] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[294] = nativeContext.LoadFunction("EAXGetDirect", "openal") + ) + )(context, property_set_id, property_id, source_id, value, value_size); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ) => + ThisThread.EAXGetDirect( + context, + property_set_id, + property_id, + source_id, + value, + value_size + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) + { + fixed (void* __dsl_value = value) + fixed (System.Guid* __dsl_property_set_id = property_set_id) + { + return (int) + ((IAL)this).EAXGetDirect( + context, + __dsl_property_set_id, + property_id, + source_id, + __dsl_value, + value_size + ); + } + } + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) => + ThisThread.EAXGetDirect( + context, + property_set_id, + property_id, + source_id, + value, + value_size + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IAL.EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers, + [NativeTypeName("ALint")] int value + ) => + ( + (delegate* unmanaged)( + _slots[295] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[295] = nativeContext.LoadFunction("EAXSetBufferModeDirect", "openal") + ) + )(context, n, buffers, value); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers, + [NativeTypeName("ALint")] int value + ) => ThisThread.EAXSetBufferModeDirect(context, n, buffers, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + MaybeBool IAL.EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers, + [NativeTypeName("ALint")] int value + ) + { + fixed (uint* __dsl_buffers = buffers) + { + return (MaybeBool) + (sbyte)((IAL)this).EAXSetBufferModeDirect(context, n, __dsl_buffers, value); + } + } + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static MaybeBool EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers, + [NativeTypeName("ALint")] int value + ) => ThisThread.EAXSetBufferModeDirect(context, n, buffers, value); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ) => + ( + (delegate* unmanaged)( + _slots[296] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[296] = nativeContext.LoadFunction("EAXSetDirect", "openal") + ) + )(context, property_set_id, property_id, source_id, value, value_size); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ) => + ThisThread.EAXSetDirect( + context, + property_set_id, + property_id, + source_id, + value, + value_size + ); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IAL.EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) + { + fixed (void* __dsl_value = value) + fixed (System.Guid* __dsl_property_set_id = property_set_id) + { + return (int) + ((IAL)this).EAXSetDirect( + context, + __dsl_property_set_id, + property_id, + source_id, + __dsl_value, + value_size + ); + } + } + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ) => + ThisThread.EAXSetDirect( + context, + property_set_id, + property_id, + source_id, + value, + value_size + ); +} diff --git a/sources/OpenAL/OpenAL/al/ALContext.gen.cs b/sources/OpenAL/OpenAL/al/ALContext.gen.cs new file mode 100644 index 0000000000..5bcc787be6 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/ALContext.gen.cs @@ -0,0 +1,3128 @@ +// 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 ALContext : IALContext, IALContext.Static +{ + public partial class DllImport : IALContext.Static + { + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcCaptureCloseDevice")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + public static extern sbyte CaptureCloseDevice(DeviceHandle device); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcCaptureOpenDevice")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + public static extern DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] int format, + [NativeTypeName("ALCsizei")] int buffersize + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] Constant format, + [NativeTypeName("ALCsizei")] int buffersize + ) + { + fixed (sbyte* __dsl_devicename = devicename) + { + return (DeviceHandle)CaptureOpenDevice( + __dsl_devicename, + frequency, + (int)format, + buffersize + ); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcCaptureSamples")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + public static extern void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) + { + fixed (void* __dsl_buffer = buffer) + { + CaptureSamples(device, __dsl_buffer, samples); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcCaptureStart")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + public static extern void CaptureStart(DeviceHandle device); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcCaptureStop")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + public static extern void CaptureStop(DeviceHandle device); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcCloseDevice")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte CloseDevice(DeviceHandle device); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcCreateContext")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attrlist + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attrlist + ) + { + fixed (int* __dsl_attrlist = attrlist) + { + return (ContextHandle)CreateContext(device, __dsl_attrlist); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcDestroyContext")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern void DestroyContext(ContextHandle context); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcDevicePauseSOFT")] + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + public static extern void DevicePauseSOFT(DeviceHandle device); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcDeviceResumeSOFT")] + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + public static extern void DeviceResumeSOFT(DeviceHandle device); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcEventCallbackSOFT")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + public static extern void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + void* userParam + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + Ref userParam + ) + { + fixed (void* __dsl_userParam = userParam) + { + EventCallbackSOFT(callback, __dsl_userParam); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcEventControlSOFT")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + public static extern sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] int* events, + [NativeTypeName("ALCboolean")] sbyte enable + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] Ref events, + [NativeTypeName("ALCboolean")] sbyte enable + ) + { + fixed (int* __dsl_events = events) + { + return (sbyte)EventControlSOFT(count, __dsl_events, enable); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcEventIsSupportedSOFT")] + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + public static extern int EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] int eventType, + [NativeTypeName("ALCenum")] int deviceType + ); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + public static Constant EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] Constant eventType, + [NativeTypeName("ALCenum")] Constant deviceType + ) => + (Constant) + (int)EventIsSupporteSOFT((int)eventType, (int)deviceType); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetContextsDevice")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern DeviceHandle GetContextsDevice(ContextHandle context); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetCurrentContext")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern ContextHandle GetCurrentContext(); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetEnumValue")] + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* enumname + ); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref enumname + ) + { + fixed (sbyte* __dsl_enumname = enumname) + { + return (int)GetEnumValue(device, __dsl_enumname); + } + } + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetError")] + public static Constant GetError(DeviceHandle device) => + (Constant)(int)GetErrorRaw(device); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetError")] + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern int GetErrorRaw(DeviceHandle device); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetInteger64vSOFT")] + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + public static extern void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + GetInteger64SOFT(device, pname, size, __dsl_values); + } + } + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + public static long GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname + ) + { + long values = default; + GetInteger64SOFT(device, pname, 1, (long*)&values); + return values; + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetIntegerv")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] int* values + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + GetInteger(device, param1, size, __dsl_values); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + public static int GetInteger(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) + { + int values = default; + GetInteger(device, param1, 1, (int*)&values); + return values; + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetProcAddress")] + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern void* GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcname + ); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcname + ) + { + fixed (sbyte* __dsl_funcname = funcname) + { + return (void*)GetProcAddress(device, __dsl_funcname); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetProcAddress2")] + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + public static extern void* GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcName + ); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcName + ) + { + fixed (sbyte* __dsl_funcName = funcName) + { + return (void*)GetProcAddress2(device, __dsl_funcName); + } + } + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetString( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1 + ) => (sbyte*)GetStringRaw(device, param1); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetStringiSOFT")] + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + public static extern sbyte* GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int paramName, + [NativeTypeName("ALCsizei")] int index + ); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] Constant paramName, + [NativeTypeName("ALCsizei")] int index + ) => (sbyte*)GetStringSOFT(device, (int)paramName, index); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetString")] + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte* GetStringRaw( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1 + ); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcGetThreadContext")] + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + public static extern ContextHandle GetThreadContext(); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcIsExtensionPresent")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* extname + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref extname + ) + { + fixed (sbyte* __dsl_extname = extname) + { + return (sbyte)IsExtensionPresent(device, __dsl_extname); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcIsRenderFormatSupportedSOFT")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + public static extern sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] int channels, + [NativeTypeName("ALCenum")] int type + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + public static sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] Constant channels, + [NativeTypeName("ALCenum")] Constant type + ) => (sbyte)IsRenderFormatSupporteSOFT(device, freq, (int)channels, (int)type); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcLoopbackOpenDeviceSOFT")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + public static extern DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] sbyte* deviceName + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] Ref deviceName + ) + { + fixed (sbyte* __dsl_deviceName = deviceName) + { + return (DeviceHandle)LoopbackOpenDeviceSOFT(__dsl_deviceName); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcMakeContextCurrent")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern sbyte MakeContextCurrent(ContextHandle context); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcOpenDevice")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern DeviceHandle OpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle OpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename + ) + { + fixed (sbyte* __dsl_devicename = devicename) + { + return (DeviceHandle)OpenDevice(__dsl_devicename); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcProcessContext")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern void ProcessContext(ContextHandle context); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcRenderSamplesSOFT")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + public static extern void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) + { + fixed (void* __dsl_buffer = buffer) + { + RenderSamplesSOFT(device, __dsl_buffer, samples); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcReopenDeviceSOFT")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + public static extern sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* deviceName, + [NativeTypeName("const ALCint *")] int* attribs + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref deviceName, + [NativeTypeName("const ALCint *")] Ref attribs + ) + { + fixed (int* __dsl_attribs = attribs) + fixed (sbyte* __dsl_deviceName = deviceName) + { + return (sbyte)ReopenDeviceSOFT(device, __dsl_deviceName, __dsl_attribs); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcResetDeviceSOFT")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + public static extern sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attribs + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attribs + ) + { + fixed (int* __dsl_attribs = attribs) + { + return (sbyte)ResetDeviceSOFT(device, __dsl_attribs); + } + } + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcSetThreadContext")] + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + public static extern sbyte SetThreadContext(ContextHandle context); + + [DllImport("openal", ExactSpelling = true, EntryPoint = "alcSuspendContext")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public static extern void SuspendContext(ContextHandle context); + } + + public partial class StaticWrapper : IALContext + where T : IALContext.Static + { + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureCloseDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte CaptureCloseDevice(DeviceHandle device) => T.CaptureCloseDevice(device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] int format, + [NativeTypeName("ALCsizei")] int buffersize + ) => T.CaptureOpenDevice(devicename, frequency, format, buffersize); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] Constant format, + [NativeTypeName("ALCsizei")] int buffersize + ) => T.CaptureOpenDevice(devicename, frequency, format, buffersize); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ) => T.CaptureSamples(device, buffer, samples); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) => T.CaptureSamples(device, buffer, samples); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStart")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CaptureStart(DeviceHandle device) => T.CaptureStart(device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStop")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void CaptureStop(DeviceHandle device) => T.CaptureStop(device); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCloseDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte CloseDevice(DeviceHandle device) => T.CloseDevice(device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attrlist + ) => T.CreateContext(device, attrlist); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attrlist + ) => T.CreateContext(device, attrlist); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcDestroyContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DestroyContext(ContextHandle context) => T.DestroyContext(context); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDevicePauseSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DevicePauseSOFT(DeviceHandle device) => T.DevicePauseSOFT(device); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDeviceResumeSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void DeviceResumeSOFT(DeviceHandle device) => T.DeviceResumeSOFT(device); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + void* userParam + ) => T.EventCallbackSOFT(callback, userParam); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + Ref userParam + ) => T.EventCallbackSOFT(callback, userParam); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] int* events, + [NativeTypeName("ALCboolean")] sbyte enable + ) => T.EventControlSOFT(count, events, enable); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] Ref events, + [NativeTypeName("ALCboolean")] sbyte enable + ) => T.EventControlSOFT(count, events, enable); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] int eventType, + [NativeTypeName("ALCenum")] int deviceType + ) => T.EventIsSupporteSOFT(eventType, deviceType); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Constant EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] Constant eventType, + [NativeTypeName("ALCenum")] Constant deviceType + ) => T.EventIsSupporteSOFT(eventType, deviceType); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetContextsDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public DeviceHandle GetContextsDevice(ContextHandle context) => + T.GetContextsDevice(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetCurrentContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ContextHandle GetCurrentContext() => T.GetCurrentContext(); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* enumname + ) => T.GetEnumValue(device, enumname); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref enumname + ) => T.GetEnumValue(device, enumname); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetError")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Constant GetError(DeviceHandle device) => T.GetError(device); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetError")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetErrorRaw(DeviceHandle device) => T.GetErrorRaw(device); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] long* values + ) => T.GetInteger64SOFT(device, pname, size, values); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] Ref values + ) => T.GetInteger64SOFT(device, pname, size, values); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public long GetInteger64SOFT(DeviceHandle device, [NativeTypeName("ALCenum")] int pname) => + T.GetInteger64SOFT(device, pname); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] int* values + ) => T.GetInteger(device, param1, size, values); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] Ref values + ) => T.GetInteger(device, param1, size, values); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public int GetInteger(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) => + T.GetInteger(device, param1); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcname + ) => T.GetProcAddress(device, funcname); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcname + ) => T.GetProcAddress(device, funcname); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void* GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcName + ) => T.GetProcAddress2(device, funcName); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcName + ) => T.GetProcAddress2(device, funcName); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetString(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) => + T.GetString(device, param1); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte* GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int paramName, + [NativeTypeName("ALCsizei")] int index + ) => T.GetStringSOFT(device, paramName, index); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public Ptr GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] Constant paramName, + [NativeTypeName("ALCsizei")] int index + ) => T.GetStringSOFT(device, paramName, index); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte* GetStringRaw(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) => + T.GetStringRaw(device, param1); + + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcGetThreadContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public ContextHandle GetThreadContext() => T.GetThreadContext(); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* extname + ) => T.IsExtensionPresent(device, extname); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref extname + ) => T.IsExtensionPresent(device, extname); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] int channels, + [NativeTypeName("ALCenum")] int type + ) => T.IsRenderFormatSupporteSOFT(device, freq, channels, type); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] Constant channels, + [NativeTypeName("ALCenum")] Constant type + ) => T.IsRenderFormatSupporteSOFT(device, freq, channels, type); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] sbyte* deviceName + ) => T.LoopbackOpenDeviceSOFT(deviceName); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] Ref deviceName + ) => T.LoopbackOpenDeviceSOFT(deviceName); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcMakeContextCurrent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte MakeContextCurrent(ContextHandle context) => T.MakeContextCurrent(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public DeviceHandle OpenDevice([NativeTypeName("const ALCchar *")] sbyte* devicename) => + T.OpenDevice(devicename); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public DeviceHandle OpenDevice([NativeTypeName("const ALCchar *")] Ref devicename) => + T.OpenDevice(devicename); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcProcessContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void ProcessContext(ContextHandle context) => T.ProcessContext(context); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ) => T.RenderSamplesSOFT(device, buffer, samples); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) => T.RenderSamplesSOFT(device, buffer, samples); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* deviceName, + [NativeTypeName("const ALCint *")] int* attribs + ) => T.ReopenDeviceSOFT(device, deviceName, attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref deviceName, + [NativeTypeName("const ALCint *")] Ref attribs + ) => T.ReopenDeviceSOFT(device, deviceName, attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attribs + ) => T.ResetDeviceSOFT(device, attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attribs + ) => T.ResetDeviceSOFT(device, attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcSetThreadContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public sbyte SetThreadContext(ContextHandle context) => T.SetThreadContext(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcSuspendContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public void SuspendContext(ContextHandle context) => T.SuspendContext(context); + } + + public partial class ThisThread + { + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureCloseDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte CaptureCloseDevice(DeviceHandle device) => + Underlying.Value!.CaptureCloseDevice(device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] int format, + [NativeTypeName("ALCsizei")] int buffersize + ) => Underlying.Value!.CaptureOpenDevice(devicename, frequency, format, buffersize); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] Constant format, + [NativeTypeName("ALCsizei")] int buffersize + ) + { + fixed (sbyte* __dsl_devicename = devicename) + { + return (DeviceHandle)CaptureOpenDevice( + __dsl_devicename, + frequency, + (int)format, + buffersize + ); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ) => Underlying.Value!.CaptureSamples(device, buffer, samples); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) + { + fixed (void* __dsl_buffer = buffer) + { + CaptureSamples(device, __dsl_buffer, samples); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStart")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CaptureStart(DeviceHandle device) => + Underlying.Value!.CaptureStart(device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStop")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void CaptureStop(DeviceHandle device) => + Underlying.Value!.CaptureStop(device); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCloseDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte CloseDevice(DeviceHandle device) => + Underlying.Value!.CloseDevice(device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attrlist + ) => Underlying.Value!.CreateContext(device, attrlist); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attrlist + ) + { + fixed (int* __dsl_attrlist = attrlist) + { + return (ContextHandle)CreateContext(device, __dsl_attrlist); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcDestroyContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DestroyContext(ContextHandle context) => + Underlying.Value!.DestroyContext(context); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDevicePauseSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DevicePauseSOFT(DeviceHandle device) => + Underlying.Value!.DevicePauseSOFT(device); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDeviceResumeSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void DeviceResumeSOFT(DeviceHandle device) => + Underlying.Value!.DeviceResumeSOFT(device); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + void* userParam + ) => Underlying.Value!.EventCallbackSOFT(callback, userParam); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + Ref userParam + ) + { + fixed (void* __dsl_userParam = userParam) + { + EventCallbackSOFT(callback, __dsl_userParam); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] int* events, + [NativeTypeName("ALCboolean")] sbyte enable + ) => Underlying.Value!.EventControlSOFT(count, events, enable); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] Ref events, + [NativeTypeName("ALCboolean")] sbyte enable + ) + { + fixed (int* __dsl_events = events) + { + return (sbyte)EventControlSOFT(count, __dsl_events, enable); + } + } + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] int eventType, + [NativeTypeName("ALCenum")] int deviceType + ) => Underlying.Value!.EventIsSupporteSOFT(eventType, deviceType); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Constant EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] Constant eventType, + [NativeTypeName("ALCenum")] Constant deviceType + ) => Underlying.Value!.EventIsSupporteSOFT(eventType, deviceType); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetContextsDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle GetContextsDevice(ContextHandle context) => + Underlying.Value!.GetContextsDevice(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetCurrentContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle GetCurrentContext() => Underlying.Value!.GetCurrentContext(); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* enumname + ) => Underlying.Value!.GetEnumValue(device, enumname); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref enumname + ) + { + fixed (sbyte* __dsl_enumname = enumname) + { + return (int)GetEnumValue(device, __dsl_enumname); + } + } + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetError")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Constant GetError(DeviceHandle device) => + Underlying.Value!.GetError(device); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetError")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetErrorRaw(DeviceHandle device) => Underlying.Value!.GetErrorRaw(device); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] long* values + ) => Underlying.Value!.GetInteger64SOFT(device, pname, size, values); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + GetInteger64SOFT(device, pname, size, __dsl_values); + } + } + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static long GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname + ) + { + long values = default; + GetInteger64SOFT(device, pname, 1, (long*)&values); + return values; + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] int* values + ) => Underlying.Value!.GetInteger(device, param1, size, values); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + GetInteger(device, param1, size, __dsl_values); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static int GetInteger(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) + { + int values = default; + GetInteger(device, param1, 1, (int*)&values); + return values; + } + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcname + ) => Underlying.Value!.GetProcAddress(device, funcname); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcname + ) + { + fixed (sbyte* __dsl_funcname = funcname) + { + return (void*)GetProcAddress(device, __dsl_funcname); + } + } + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void* GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcName + ) => Underlying.Value!.GetProcAddress2(device, funcName); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcName + ) + { + fixed (sbyte* __dsl_funcName = funcName) + { + return (void*)GetProcAddress2(device, __dsl_funcName); + } + } + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetString( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1 + ) => Underlying.Value!.GetString(device, param1); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte* GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int paramName, + [NativeTypeName("ALCsizei")] int index + ) => Underlying.Value!.GetStringSOFT(device, paramName, index); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static Ptr GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] Constant paramName, + [NativeTypeName("ALCsizei")] int index + ) => Underlying.Value!.GetStringSOFT(device, paramName, index); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetString")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte* GetStringRaw( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1 + ) => Underlying.Value!.GetStringRaw(device, param1); + + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcGetThreadContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static ContextHandle GetThreadContext() => Underlying.Value!.GetThreadContext(); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* extname + ) => Underlying.Value!.IsExtensionPresent(device, extname); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref extname + ) + { + fixed (sbyte* __dsl_extname = extname) + { + return (sbyte)IsExtensionPresent(device, __dsl_extname); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] int channels, + [NativeTypeName("ALCenum")] int type + ) => Underlying.Value!.IsRenderFormatSupporteSOFT(device, freq, channels, type); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] Constant channels, + [NativeTypeName("ALCenum")] Constant type + ) => Underlying.Value!.IsRenderFormatSupporteSOFT(device, freq, channels, type); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] sbyte* deviceName + ) => Underlying.Value!.LoopbackOpenDeviceSOFT(deviceName); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] Ref deviceName + ) + { + fixed (sbyte* __dsl_deviceName = deviceName) + { + return (DeviceHandle)LoopbackOpenDeviceSOFT(__dsl_deviceName); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcMakeContextCurrent")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte MakeContextCurrent(ContextHandle context) => + Underlying.Value!.MakeContextCurrent(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle OpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename + ) => Underlying.Value!.OpenDevice(devicename); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static DeviceHandle OpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename + ) + { + fixed (sbyte* __dsl_devicename = devicename) + { + return (DeviceHandle)OpenDevice(__dsl_devicename); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcProcessContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void ProcessContext(ContextHandle context) => + Underlying.Value!.ProcessContext(context); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ) => Underlying.Value!.RenderSamplesSOFT(device, buffer, samples); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) + { + fixed (void* __dsl_buffer = buffer) + { + RenderSamplesSOFT(device, __dsl_buffer, samples); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* deviceName, + [NativeTypeName("const ALCint *")] int* attribs + ) => Underlying.Value!.ReopenDeviceSOFT(device, deviceName, attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref deviceName, + [NativeTypeName("const ALCint *")] Ref attribs + ) + { + fixed (int* __dsl_attribs = attribs) + fixed (sbyte* __dsl_deviceName = deviceName) + { + return (sbyte)ReopenDeviceSOFT(device, __dsl_deviceName, __dsl_attribs); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attribs + ) => Underlying.Value!.ResetDeviceSOFT(device, attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attribs + ) + { + fixed (int* __dsl_attribs = attribs) + { + return (sbyte)ResetDeviceSOFT(device, __dsl_attribs); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcSetThreadContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static sbyte SetThreadContext(ContextHandle context) => + Underlying.Value!.SetThreadContext(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcSuspendContext")] + [MethodImpl( + MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization + )] + public static void SuspendContext(ContextHandle context) => + Underlying.Value!.SuspendContext(context); + } + + [NativeTypeName("#define ALC_CPLUSPLUS __cplusplus")] + public const nint Cplusplus = 201703; + + [NativeTypeName("#define ALC_VERSION_0_1 1")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + public const int Version0X1 = 1; + + [NativeTypeName("#define ALC_EXT_CAPTURE 1")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + public const int ExtCapture = 1; + + [NativeTypeName("#define ALC_ENUMERATE_ALL_EXT 1")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + public const int EnumerateAllEXT = 1; + + [NativeTypeName("#define ALC_EXT_EFX_NAME \"ALC_EXT_EFX\"")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + public static ReadOnlySpan ExtEfxName => "ALC_EXT_EFX"u8; + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.CaptureCloseDevice(DeviceHandle device) => + ( + (delegate* unmanaged)( + _slots[0] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[0] = nativeContext.LoadFunction("alcCaptureCloseDevice", "openal") + ) + )(device); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureCloseDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte CaptureCloseDevice(DeviceHandle device) => + ThisThread.CaptureCloseDevice(device); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + DeviceHandle IALContext.CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] int format, + [NativeTypeName("ALCsizei")] int buffersize + ) => + ( + (delegate* unmanaged)( + _slots[1] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[1] = nativeContext.LoadFunction("alcCaptureOpenDevice", "openal") + ) + )(devicename, frequency, format, buffersize); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] int format, + [NativeTypeName("ALCsizei")] int buffersize + ) => ThisThread.CaptureOpenDevice(devicename, frequency, format, buffersize); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + DeviceHandle IALContext.CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] Constant format, + [NativeTypeName("ALCsizei")] int buffersize + ) + { + fixed (sbyte* __dsl_devicename = devicename) + { + return (DeviceHandle) + ((IALContext)this).CaptureOpenDevice( + __dsl_devicename, + frequency, + (int)format, + buffersize + ); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] Constant format, + [NativeTypeName("ALCsizei")] int buffersize + ) => ThisThread.CaptureOpenDevice(devicename, frequency, format, buffersize); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ) => + ( + (delegate* unmanaged)( + _slots[2] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[2] = nativeContext.LoadFunction("alcCaptureSamples", "openal") + ) + )(device, buffer, samples); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ) => ThisThread.CaptureSamples(device, buffer, samples); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) + { + fixed (void* __dsl_buffer = buffer) + { + ((IALContext)this).CaptureSamples(device, __dsl_buffer, samples); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) => ThisThread.CaptureSamples(device, buffer, samples); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.CaptureStart(DeviceHandle device) => + ( + (delegate* unmanaged)( + _slots[3] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[3] = nativeContext.LoadFunction("alcCaptureStart", "openal") + ) + )(device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStart")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CaptureStart(DeviceHandle device) => ThisThread.CaptureStart(device); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.CaptureStop(DeviceHandle device) => + ( + (delegate* unmanaged)( + _slots[4] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[4] = nativeContext.LoadFunction("alcCaptureStop", "openal") + ) + )(device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStop")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void CaptureStop(DeviceHandle device) => ThisThread.CaptureStop(device); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.CloseDevice(DeviceHandle device) => + ( + (delegate* unmanaged)( + _slots[5] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[5] = nativeContext.LoadFunction("alcCloseDevice", "openal") + ) + )(device); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCloseDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte CloseDevice(DeviceHandle device) => ThisThread.CloseDevice(device); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ContextHandle IALContext.CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attrlist + ) => + ( + (delegate* unmanaged)( + _slots[6] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[6] = nativeContext.LoadFunction("alcCreateContext", "openal") + ) + )(device, attrlist); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attrlist + ) => ThisThread.CreateContext(device, attrlist); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ContextHandle IALContext.CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attrlist + ) + { + fixed (int* __dsl_attrlist = attrlist) + { + return (ContextHandle)((IALContext)this).CreateContext(device, __dsl_attrlist); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attrlist + ) => ThisThread.CreateContext(device, attrlist); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.DestroyContext(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[7] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[7] = nativeContext.LoadFunction("alcDestroyContext", "openal") + ) + )(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcDestroyContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DestroyContext(ContextHandle context) => ThisThread.DestroyContext(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.DevicePauseSOFT(DeviceHandle device) => + ( + (delegate* unmanaged)( + _slots[8] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[8] = nativeContext.LoadFunction("alcDevicePauseSOFT", "openal") + ) + )(device); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDevicePauseSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DevicePauseSOFT(DeviceHandle device) => ThisThread.DevicePauseSOFT(device); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.DeviceResumeSOFT(DeviceHandle device) => + ( + (delegate* unmanaged)( + _slots[9] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[9] = nativeContext.LoadFunction("alcDeviceResumeSOFT", "openal") + ) + )(device); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDeviceResumeSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void DeviceResumeSOFT(DeviceHandle device) => ThisThread.DeviceResumeSOFT(device); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + void* userParam + ) => + ( + (delegate* unmanaged)( + _slots[10] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[10] = nativeContext.LoadFunction("alcEventCallbackSOFT", "openal") + ) + )(callback, userParam); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + void* userParam + ) => ThisThread.EventCallbackSOFT(callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + Ref userParam + ) + { + fixed (void* __dsl_userParam = userParam) + { + ((IALContext)this).EventCallbackSOFT(callback, __dsl_userParam); + } + } + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + Ref userParam + ) => ThisThread.EventCallbackSOFT(callback, userParam); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] int* events, + [NativeTypeName("ALCboolean")] sbyte enable + ) => + ( + (delegate* unmanaged)( + _slots[11] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[11] = nativeContext.LoadFunction("alcEventControlSOFT", "openal") + ) + )(count, events, enable); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] int* events, + [NativeTypeName("ALCboolean")] sbyte enable + ) => ThisThread.EventControlSOFT(count, events, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] Ref events, + [NativeTypeName("ALCboolean")] sbyte enable + ) + { + fixed (int* __dsl_events = events) + { + return (sbyte)((IALContext)this).EventControlSOFT(count, __dsl_events, enable); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] Ref events, + [NativeTypeName("ALCboolean")] sbyte enable + ) => ThisThread.EventControlSOFT(count, events, enable); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IALContext.EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] int eventType, + [NativeTypeName("ALCenum")] int deviceType + ) => + ( + (delegate* unmanaged)( + _slots[12] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[12] = nativeContext.LoadFunction("alcEventIsSupportedSOFT", "openal") + ) + )(eventType, deviceType); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] int eventType, + [NativeTypeName("ALCenum")] int deviceType + ) => ThisThread.EventIsSupporteSOFT(eventType, deviceType); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Constant IALContext.EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] Constant eventType, + [NativeTypeName("ALCenum")] Constant deviceType + ) => + (Constant) + (int)((IALContext)this).EventIsSupporteSOFT((int)eventType, (int)deviceType); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Constant EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] Constant eventType, + [NativeTypeName("ALCenum")] Constant deviceType + ) => ThisThread.EventIsSupporteSOFT(eventType, deviceType); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + DeviceHandle IALContext.GetContextsDevice(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[13] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[13] = nativeContext.LoadFunction("alcGetContextsDevice", "openal") + ) + )(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetContextsDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static DeviceHandle GetContextsDevice(ContextHandle context) => + ThisThread.GetContextsDevice(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ContextHandle IALContext.GetCurrentContext() => + ( + (delegate* unmanaged)( + _slots[14] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[14] = nativeContext.LoadFunction("alcGetCurrentContext", "openal") + ) + )(); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetCurrentContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ContextHandle GetCurrentContext() => ThisThread.GetCurrentContext(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IALContext.GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* enumname + ) => + ( + (delegate* unmanaged)( + _slots[15] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[15] = nativeContext.LoadFunction("alcGetEnumValue", "openal") + ) + )(device, enumname); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* enumname + ) => ThisThread.GetEnumValue(device, enumname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IALContext.GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref enumname + ) + { + fixed (sbyte* __dsl_enumname = enumname) + { + return (int)((IALContext)this).GetEnumValue(device, __dsl_enumname); + } + } + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref enumname + ) => ThisThread.GetEnumValue(device, enumname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Constant IALContext.GetError(DeviceHandle device) => + (Constant)(int)((IALContext)this).GetErrorRaw(device); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetError")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Constant GetError(DeviceHandle device) => + ThisThread.GetError(device); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IALContext.GetErrorRaw(DeviceHandle device) => + ( + (delegate* unmanaged)( + _slots[16] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[16] = nativeContext.LoadFunction("alcGetError", "openal") + ) + )(device); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetError")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetErrorRaw(DeviceHandle device) => ThisThread.GetErrorRaw(device); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] long* values + ) => + ( + (delegate* unmanaged)( + _slots[17] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[17] = nativeContext.LoadFunction("alcGetInteger64vSOFT", "openal") + ) + )(device, pname, size, values); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] long* values + ) => ThisThread.GetInteger64SOFT(device, pname, size, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] Ref values + ) + { + fixed (long* __dsl_values = values) + { + ((IALContext)this).GetInteger64SOFT(device, pname, size, __dsl_values); + } + } + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] Ref values + ) => ThisThread.GetInteger64SOFT(device, pname, size, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + long IALContext.GetInteger64SOFT(DeviceHandle device, [NativeTypeName("ALCenum")] int pname) + { + long values = default; + ((IALContext)this).GetInteger64SOFT(device, pname, 1, (long*)&values); + return values; + } + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static long GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname + ) => ThisThread.GetInteger64SOFT(device, pname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] int* values + ) => + ( + (delegate* unmanaged)( + _slots[18] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[18] = nativeContext.LoadFunction("alcGetIntegerv", "openal") + ) + )(device, param1, size, values); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] int* values + ) => ThisThread.GetInteger(device, param1, size, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] Ref values + ) + { + fixed (int* __dsl_values = values) + { + ((IALContext)this).GetInteger(device, param1, size, __dsl_values); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] Ref values + ) => ThisThread.GetInteger(device, param1, size, values); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + int IALContext.GetInteger(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) + { + int values = default; + ((IALContext)this).GetInteger(device, param1, 1, (int*)&values); + return values; + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static int GetInteger(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) => + ThisThread.GetInteger(device, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* IALContext.GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcname + ) => + ( + (delegate* unmanaged)( + _slots[19] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[19] = nativeContext.LoadFunction("alcGetProcAddress", "openal") + ) + )(device, funcname); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcname + ) => ThisThread.GetProcAddress(device, funcname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IALContext.GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcname + ) + { + fixed (sbyte* __dsl_funcname = funcname) + { + return (void*)((IALContext)this).GetProcAddress(device, __dsl_funcname); + } + } + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcname + ) => ThisThread.GetProcAddress(device, funcname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void* IALContext.GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcName + ) => + ( + (delegate* unmanaged)( + _slots[20] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[20] = nativeContext.LoadFunction("alcGetProcAddress2", "openal") + ) + )(device, funcName); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void* GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcName + ) => ThisThread.GetProcAddress2(device, funcName); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IALContext.GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcName + ) + { + fixed (sbyte* __dsl_funcName = funcName) + { + return (void*)((IALContext)this).GetProcAddress2(device, __dsl_funcName); + } + } + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcName + ) => ThisThread.GetProcAddress2(device, funcName); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IALContext.GetString(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) => + (sbyte*)((IALContext)this).GetStringRaw(device, param1); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetString( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1 + ) => ThisThread.GetString(device, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte* IALContext.GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int paramName, + [NativeTypeName("ALCsizei")] int index + ) => + ( + (delegate* unmanaged)( + _slots[22] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[22] = nativeContext.LoadFunction("alcGetStringiSOFT", "openal") + ) + )(device, paramName, index); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte* GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int paramName, + [NativeTypeName("ALCsizei")] int index + ) => ThisThread.GetStringSOFT(device, paramName, index); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + Ptr IALContext.GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] Constant paramName, + [NativeTypeName("ALCsizei")] int index + ) => (sbyte*)((IALContext)this).GetStringSOFT(device, (int)paramName, index); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static Ptr GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] Constant paramName, + [NativeTypeName("ALCsizei")] int index + ) => ThisThread.GetStringSOFT(device, paramName, index); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte* IALContext.GetStringRaw(DeviceHandle device, [NativeTypeName("ALCenum")] int param1) => + ( + (delegate* unmanaged)( + _slots[21] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[21] = nativeContext.LoadFunction("alcGetString", "openal") + ) + )(device, param1); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetString")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte* GetStringRaw( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1 + ) => ThisThread.GetStringRaw(device, param1); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + ContextHandle IALContext.GetThreadContext() => + ( + (delegate* unmanaged)( + _slots[23] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[23] = nativeContext.LoadFunction("alcGetThreadContext", "openal") + ) + )(); + + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcGetThreadContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static ContextHandle GetThreadContext() => ThisThread.GetThreadContext(); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* extname + ) => + ( + (delegate* unmanaged)( + _slots[24] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[24] = nativeContext.LoadFunction("alcIsExtensionPresent", "openal") + ) + )(device, extname); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* extname + ) => ThisThread.IsExtensionPresent(device, extname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref extname + ) + { + fixed (sbyte* __dsl_extname = extname) + { + return (sbyte)((IALContext)this).IsExtensionPresent(device, __dsl_extname); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref extname + ) => ThisThread.IsExtensionPresent(device, extname); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] int channels, + [NativeTypeName("ALCenum")] int type + ) => + ( + (delegate* unmanaged)( + _slots[25] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[25] = nativeContext.LoadFunction( + "alcIsRenderFormatSupportedSOFT", + "openal" + ) + ) + )(device, freq, channels, type); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] int channels, + [NativeTypeName("ALCenum")] int type + ) => ThisThread.IsRenderFormatSupporteSOFT(device, freq, channels, type); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] Constant channels, + [NativeTypeName("ALCenum")] Constant type + ) => + (sbyte) + ((IALContext)this).IsRenderFormatSupporteSOFT(device, freq, (int)channels, (int)type); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] Constant channels, + [NativeTypeName("ALCenum")] Constant type + ) => ThisThread.IsRenderFormatSupporteSOFT(device, freq, channels, type); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + DeviceHandle IALContext.LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] sbyte* deviceName + ) => + ( + (delegate* unmanaged)( + _slots[26] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[26] = nativeContext.LoadFunction("alcLoopbackOpenDeviceSOFT", "openal") + ) + )(deviceName); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] sbyte* deviceName + ) => ThisThread.LoopbackOpenDeviceSOFT(deviceName); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + DeviceHandle IALContext.LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] Ref deviceName + ) + { + fixed (sbyte* __dsl_deviceName = deviceName) + { + return (DeviceHandle)((IALContext)this).LoopbackOpenDeviceSOFT(__dsl_deviceName); + } + } + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] Ref deviceName + ) => ThisThread.LoopbackOpenDeviceSOFT(deviceName); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.MakeContextCurrent(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[27] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[27] = nativeContext.LoadFunction("alcMakeContextCurrent", "openal") + ) + )(context); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcMakeContextCurrent")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte MakeContextCurrent(ContextHandle context) => + ThisThread.MakeContextCurrent(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + DeviceHandle IALContext.OpenDevice([NativeTypeName("const ALCchar *")] sbyte* devicename) => + ( + (delegate* unmanaged)( + _slots[28] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[28] = nativeContext.LoadFunction("alcOpenDevice", "openal") + ) + )(devicename); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static DeviceHandle OpenDevice([NativeTypeName("const ALCchar *")] sbyte* devicename) => + ThisThread.OpenDevice(devicename); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + DeviceHandle IALContext.OpenDevice([NativeTypeName("const ALCchar *")] Ref devicename) + { + fixed (sbyte* __dsl_devicename = devicename) + { + return (DeviceHandle)((IALContext)this).OpenDevice(__dsl_devicename); + } + } + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static DeviceHandle OpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename + ) => ThisThread.OpenDevice(devicename); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.ProcessContext(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[29] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[29] = nativeContext.LoadFunction("alcProcessContext", "openal") + ) + )(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcProcessContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void ProcessContext(ContextHandle context) => ThisThread.ProcessContext(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ) => + ( + (delegate* unmanaged)( + _slots[30] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[30] = nativeContext.LoadFunction("alcRenderSamplesSOFT", "openal") + ) + )(device, buffer, samples); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ) => ThisThread.RenderSamplesSOFT(device, buffer, samples); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) + { + fixed (void* __dsl_buffer = buffer) + { + ((IALContext)this).RenderSamplesSOFT(device, __dsl_buffer, samples); + } + } + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ) => ThisThread.RenderSamplesSOFT(device, buffer, samples); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* deviceName, + [NativeTypeName("const ALCint *")] int* attribs + ) => + ( + (delegate* unmanaged)( + _slots[31] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[31] = nativeContext.LoadFunction("alcReopenDeviceSOFT", "openal") + ) + )(device, deviceName, attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* deviceName, + [NativeTypeName("const ALCint *")] int* attribs + ) => ThisThread.ReopenDeviceSOFT(device, deviceName, attribs); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref deviceName, + [NativeTypeName("const ALCint *")] Ref attribs + ) + { + fixed (int* __dsl_attribs = attribs) + fixed (sbyte* __dsl_deviceName = deviceName) + { + return (sbyte) + ((IALContext)this).ReopenDeviceSOFT(device, __dsl_deviceName, __dsl_attribs); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref deviceName, + [NativeTypeName("const ALCint *")] Ref attribs + ) => ThisThread.ReopenDeviceSOFT(device, deviceName, attribs); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attribs + ) => + ( + (delegate* unmanaged)( + _slots[32] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[32] = nativeContext.LoadFunction("alcResetDeviceSOFT", "openal") + ) + )(device, attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attribs + ) => ThisThread.ResetDeviceSOFT(device, attribs); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attribs + ) + { + fixed (int* __dsl_attribs = attribs) + { + return (sbyte)((IALContext)this).ResetDeviceSOFT(device, __dsl_attribs); + } + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attribs + ) => ThisThread.ResetDeviceSOFT(device, attribs); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + sbyte IALContext.SetThreadContext(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[33] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[33] = nativeContext.LoadFunction("alcSetThreadContext", "openal") + ) + )(context); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcSetThreadContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static sbyte SetThreadContext(ContextHandle context) => + ThisThread.SetThreadContext(context); + + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + void IALContext.SuspendContext(ContextHandle context) => + ( + (delegate* unmanaged)( + _slots[34] is not null and var loadedFnPtr + ? loadedFnPtr + : _slots[34] = nativeContext.LoadFunction("alcSuspendContext", "openal") + ) + )(context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcSuspendContext")] + [MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)] + public static void SuspendContext(ContextHandle context) => ThisThread.SuspendContext(context); +} diff --git a/sources/OpenAL/OpenAL/al/BufferCallbackDelegateSOFT.gen.cs b/sources/OpenAL/OpenAL/al/BufferCallbackDelegateSOFT.gen.cs new file mode 100644 index 0000000000..fbc2994d8b --- /dev/null +++ b/sources/OpenAL/OpenAL/al/BufferCallbackDelegateSOFT.gen.cs @@ -0,0 +1,13 @@ +// 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 delegate int BufferCallbackDelegateSOFT(void* arg0, void* arg1, int arg2); diff --git a/sources/OpenAL/OpenAL/al/BufferCallbackSOFT.gen.cs b/sources/OpenAL/OpenAL/al/BufferCallbackSOFT.gen.cs new file mode 100644 index 0000000000..cb076478fd --- /dev/null +++ b/sources/OpenAL/OpenAL/al/BufferCallbackSOFT.gen.cs @@ -0,0 +1,33 @@ +// 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 struct BufferCallbackSOFT : IDisposable +{ + private readonly void* Pointer; + public delegate* unmanaged Handle => + (delegate* unmanaged)Pointer; + + public BufferCallbackSOFT(delegate* unmanaged ptr) => Pointer = ptr; + + public BufferCallbackSOFT(BufferCallbackDelegateSOFT proc) => + Pointer = SilkMarshal.DelegateToPtr(proc); + + public void Dispose() => SilkMarshal.Free(Pointer); + + public static implicit operator BufferCallbackSOFT( + delegate* unmanaged pfn + ) => new(pfn); + + public static implicit operator delegate* unmanaged( + BufferCallbackSOFT pfn + ) => (delegate* unmanaged)pfn.Pointer; +} diff --git a/sources/OpenAL/OpenAL/al/ContextEventProcDelegateSOFT.gen.cs b/sources/OpenAL/OpenAL/al/ContextEventProcDelegateSOFT.gen.cs new file mode 100644 index 0000000000..2b75c33dae --- /dev/null +++ b/sources/OpenAL/OpenAL/al/ContextEventProcDelegateSOFT.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; + +public unsafe delegate void ContextEventProcDelegateSOFT( + int arg0, + int arg1, + DeviceHandle arg2, + int arg3, + sbyte* arg4, + void* arg5 +); diff --git a/sources/OpenAL/OpenAL/al/ContextEventProcSOFT.gen.cs b/sources/OpenAL/OpenAL/al/ContextEventProcSOFT.gen.cs new file mode 100644 index 0000000000..c569a9beaf --- /dev/null +++ b/sources/OpenAL/OpenAL/al/ContextEventProcSOFT.gen.cs @@ -0,0 +1,41 @@ +// 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 struct ContextEventProcSOFT : IDisposable +{ + private readonly void* Pointer; + public delegate* unmanaged Handle => + (delegate* unmanaged)Pointer; + + public ContextEventProcSOFT( + delegate* unmanaged ptr + ) => Pointer = ptr; + + public ContextEventProcSOFT(ContextEventProcDelegateSOFT proc) => + Pointer = SilkMarshal.DelegateToPtr(proc); + + public void Dispose() => SilkMarshal.Free(Pointer); + + public static implicit operator ContextEventProcSOFT( + delegate* unmanaged pfn + ) => new(pfn); + + public static implicit operator delegate* unmanaged< + int, + int, + DeviceHandle, + int, + sbyte*, + void*, + void>(ContextEventProcSOFT pfn) => + (delegate* unmanaged)pfn.Pointer; +} diff --git a/sources/OpenAL/OpenAL/al/DebugProcDelegateEXT.gen.cs b/sources/OpenAL/OpenAL/al/DebugProcDelegateEXT.gen.cs new file mode 100644 index 0000000000..245da5a401 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/DebugProcDelegateEXT.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; + +public unsafe delegate void DebugProcDelegateEXT( + int arg0, + int arg1, + uint arg2, + int arg3, + int arg4, + sbyte* arg5, + void* arg6 +); diff --git a/sources/OpenAL/OpenAL/al/DebugProcEXT.gen.cs b/sources/OpenAL/OpenAL/al/DebugProcEXT.gen.cs new file mode 100644 index 0000000000..d421f2bfa8 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/DebugProcEXT.gen.cs @@ -0,0 +1,40 @@ +// 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 struct DebugProcEXT : IDisposable +{ + private readonly void* Pointer; + public delegate* unmanaged Handle => + (delegate* unmanaged)Pointer; + + public DebugProcEXT(delegate* unmanaged ptr) => + Pointer = ptr; + + public DebugProcEXT(DebugProcDelegateEXT proc) => Pointer = SilkMarshal.DelegateToPtr(proc); + + public void Dispose() => SilkMarshal.Free(Pointer); + + public static implicit operator DebugProcEXT( + delegate* unmanaged pfn + ) => new(pfn); + + public static implicit operator delegate* unmanaged< + int, + int, + uint, + int, + int, + sbyte*, + void*, + void>(DebugProcEXT pfn) => + (delegate* unmanaged)pfn.Pointer; +} diff --git a/sources/OpenAL/OpenAL/al/EfxEaxReverbProperties.gen.cs b/sources/OpenAL/OpenAL/al/EfxEaxReverbProperties.gen.cs new file mode 100644 index 0000000000..540f5c6c1e --- /dev/null +++ b/sources/OpenAL/OpenAL/al/EfxEaxReverbProperties.gen.cs @@ -0,0 +1,42 @@ +// 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 partial struct EfxEaxReverbProperties +{ + public float FlDensity; + public float FlDiffusion; + public float FlGain; + public float FlGainHF; + public float FlGainLF; + public float FlDecayTime; + public float FlDecayHFRatio; + public float FlDecayLFRatio; + public float FlReflectionsGain; + public float FlReflectionsDelay; + + [NativeTypeName("float[3]")] + public EfxEaxReverbPropertiesFlReflectionsPan FlReflectionsPan; + public float FlLateReverbGain; + public float FlLateReverbDelay; + + [NativeTypeName("float[3]")] + public EfxEaxReverbPropertiesFlLateReverbPan FlLateReverbPan; + public float FlEchoTime; + public float FlEchoDepth; + public float FlModulationTime; + public float FlModulationDepth; + public float FlAirAbsorptionGainHF; + public float FlHFReference; + public float FlLFReference; + public float FlRoomRolloffFactor; + public int IDecayHFLimit; +} diff --git a/sources/OpenAL/OpenAL/al/EfxEaxReverbPropertiesFlLateReverbPan.gen.cs b/sources/OpenAL/OpenAL/al/EfxEaxReverbPropertiesFlLateReverbPan.gen.cs new file mode 100644 index 0000000000..20ace4413a --- /dev/null +++ b/sources/OpenAL/OpenAL/al/EfxEaxReverbPropertiesFlLateReverbPan.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; + +[InlineArray(3)] +public partial struct EfxEaxReverbPropertiesFlLateReverbPan +{ + public float E0; +} diff --git a/sources/OpenAL/OpenAL/al/EfxEaxReverbPropertiesFlReflectionsPan.gen.cs b/sources/OpenAL/OpenAL/al/EfxEaxReverbPropertiesFlReflectionsPan.gen.cs new file mode 100644 index 0000000000..e437c5de89 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/EfxEaxReverbPropertiesFlReflectionsPan.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; + +[InlineArray(3)] +public partial struct EfxEaxReverbPropertiesFlReflectionsPan +{ + public float E0; +} diff --git a/sources/OpenAL/OpenAL/al/EfxReverbPreset.gen.cs b/sources/OpenAL/OpenAL/al/EfxReverbPreset.gen.cs new file mode 100644 index 0000000000..d50ec04fe1 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/EfxReverbPreset.gen.cs @@ -0,0 +1,14026 @@ +// 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 EfxReverbPreset +{ + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Generic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xCD, + 0xCC, + 0x4C, + 0x3D, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PaddedCell + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xB2, + 0x9D, + 0x2F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x6F, + 0x12, + 0x83, + 0x3A, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x7B, + 0x14, + 0x2E, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x6F, + 0x12, + 0x83, + 0x3A, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDE, + 0x71, + 0xA2, + 0x3F, + 0x6F, + 0x12, + 0x03, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Room + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x4B, + 0xC8, + 0x17, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xCD, + 0xCC, + 0xCC, + 0x3E, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3E, + 0xE8, + 0x19, + 0x3E, + 0x6F, + 0x12, + 0x03, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x1B, + 0x0D, + 0x88, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Bathroom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xB2, + 0x9D, + 0x2F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0x71, + 0x3D, + 0x0A, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x90, + 0x31, + 0x27, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x63, + 0x7F, + 0x51, + 0x40, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties LivingRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x75, + 0x02, + 0x7A, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x6F, + 0x12, + 0x83, + 0x3A, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xBC, + 0x05, + 0x52, + 0x3E, + 0xA6, + 0x9B, + 0x44, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3E, + 0x6F, + 0x12, + 0x83, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties StoneRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x13, + 0x40, + 0x0A, + 0xD7, + 0x23, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xDC, + 0xD7, + 0xE1, + 0x3E, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA1, + 0xD6, + 0x8C, + 0x3F, + 0x96, + 0x43, + 0x8B, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Auditorium + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x5D, + 0xFE, + 0x13, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x71, + 0x3D, + 0x8A, + 0x40, + 0x3D, + 0x0A, + 0x17, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3B, + 0x70, + 0xCE, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x50, + 0x8D, + 0x37, + 0x3F, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties ConcertHall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x48, + 0xE1, + 0x7A, + 0x40, + 0x33, + 0x33, + 0x33, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x59, + 0x86, + 0x78, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x44, + 0x69, + 0x7F, + 0x3F, + 0x68, + 0x91, + 0xED, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Cave + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x71, + 0x3D, + 0x3A, + 0x40, + 0x66, + 0x66, + 0xA6, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x8F, + 0xC2, + 0x75, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x14, + 0xD0, + 0x34, + 0x3F, + 0x58, + 0x39, + 0xB4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Arena + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0xE5, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x14, + 0xAE, + 0xE7, + 0x40, + 0xC3, + 0xF5, + 0xA8, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x02, + 0xBC, + 0x85, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x7C, + 0x61, + 0x82, + 0x3F, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Hangar + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xCD, + 0xCC, + 0x20, + 0x41, + 0x1F, + 0x85, + 0x6B, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x9C, + 0xC4, + 0xA0, + 0x3F, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CarpetedHallway + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x9A, + 0x99, + 0x99, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xFE, + 0xD4, + 0xF8, + 0x3D, + 0x6F, + 0x12, + 0x03, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xC6, + 0x1C, + 0x3E, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Hallway + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0x3D, + 0x0A, + 0x17, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xFF, + 0xB2, + 0x7B, + 0x3E, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x08, + 0xAC, + 0xD4, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties StoneCorridor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x01, + 0xDE, + 0x42, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xCD, + 0xCC, + 0x2C, + 0x40, + 0x71, + 0x3D, + 0x4A, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xFF, + 0x21, + 0x7D, + 0x3E, + 0xF4, + 0xFD, + 0x54, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xD0, + 0xB3, + 0xC9, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Alley + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x9A, + 0x99, + 0x99, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xC8, + 0x98, + 0x3B, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0xF6, + 0x28, + 0x5C, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x89, + 0xD2, + 0x7E, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3E, + 0x33, + 0x33, + 0x73, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Forest + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x9A, + 0x99, + 0x99, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x34, + 0x80, + 0xB7, + 0x3C, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0x71, + 0x3D, + 0x0A, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3D, + 0x0A, + 0x57, + 0x3D, + 0x54, + 0xE3, + 0x25, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC1, + 0xA8, + 0x44, + 0x3F, + 0x58, + 0x39, + 0xB4, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties City + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0x1F, + 0x85, + 0x2B, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x06, + 0x81, + 0x95, + 0x3D, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xF3, + 0x1F, + 0x12, + 0x3E, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Mountains + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x71, + 0x3D, + 0x8A, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF9, + 0x31, + 0x66, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0B, + 0xB5, + 0x26, + 0x3D, + 0x9A, + 0x99, + 0x99, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x6F, + 0x81, + 0x44, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Quarry + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x00, + 0x23, + 0xDB, + 0x79, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x56, + 0x9F, + 0xE3, + 0x3F, + 0xCD, + 0xCC, + 0xCC, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3E, + 0x33, + 0x33, + 0x33, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Plain + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xB2, + 0x9D, + 0x6F, + 0x3D, + 0xC7, + 0x4B, + 0x37, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xF7, + 0x06, + 0xDF, + 0x3D, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Parkinglot + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x33, + 0x33, + 0xD3, + 0x3F, + 0x00, + 0x00, + 0xC0, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x61, + 0x32, + 0x55, + 0x3E, + 0x6F, + 0x12, + 0x03, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x4B, + 0xC8, + 0x87, + 0x3E, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Sewerpipe + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x36, + 0x3C, + 0x9D, + 0x3E, + 0xCD, + 0xCC, + 0x4C, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x33, + 0x40, + 0x29, + 0x5C, + 0x0F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xEC, + 0xC0, + 0xD1, + 0x3F, + 0x42, + 0x60, + 0x65, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x7D, + 0xD0, + 0x4F, + 0x40, + 0x31, + 0x08, + 0xAC, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Underwater + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0xBE, + 0x3F, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x1E, + 0xA7, + 0x18, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x44, + 0x8B, + 0xE2, + 0x40, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3D, + 0x0A, + 0x97, + 0x3F, + 0x0E, + 0x2D, + 0xB2, + 0x3E, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Drugged + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x71, + 0x3D, + 0x06, + 0x41, + 0x85, + 0xEB, + 0xB1, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x89, + 0x41, + 0x60, + 0x3F, + 0x6F, + 0x12, + 0x03, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x1C, + 0xEB, + 0x46, + 0x40, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Dizzy + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x9A, + 0x99, + 0x19, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x89, + 0x41, + 0x29, + 0x5C, + 0x0F, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x72, + 0x8A, + 0x0E, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xC6, + 0xFC, + 0x3E, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x29, + 0x5C, + 0x4F, + 0x3F, + 0x52, + 0xB8, + 0x9E, + 0x3E, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Psychotic + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x74, + 0x24, + 0x57, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x85, + 0xEB, + 0xF1, + 0x40, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x6C, + 0x09, + 0xF9, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xEA, + 0x04, + 0x1C, + 0x40, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x40, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleSmallroom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x63, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xF6, + 0x28, + 0x9C, + 0x3F, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0x52, + 0xB8, + 0x9E, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x58, + 0x39, + 0xB4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFE, + 0x65, + 0xFF, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDF, + 0x4F, + 0x0D, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x84, + 0xA1, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleShortpassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x63, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xE1, + 0x7A, + 0x14, + 0x40, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0x52, + 0xB8, + 0x9E, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x7F, + 0x6A, + 0xBC, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDF, + 0x4F, + 0x0D, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x84, + 0xA1, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleMediumroom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x7B, + 0x14, + 0x6E, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x5C, + 0x8F, + 0x02, + 0x40, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0x1F, + 0x85, + 0xEB, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x58, + 0x39, + 0xB4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0xDE, + 0xCA, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x52, + 0xB8, + 0x1E, + 0x3E, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x84, + 0xA1, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleLargeroom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xEE, + 0xEB, + 0x00, + 0x3E, + 0x85, + 0xEB, + 0x21, + 0x40, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x96, + 0x43, + 0x0B, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x6F, + 0x12, + 0x83, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA4, + 0x70, + 0x3D, + 0x3E, + 0x29, + 0x5C, + 0x8F, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x84, + 0xA1, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleLongpassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x63, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x48, + 0xE1, + 0x5A, + 0x40, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0x52, + 0xB8, + 0x9E, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x7F, + 0x6A, + 0xBC, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDF, + 0x4F, + 0x0D, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x84, + 0xA1, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleHall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x29, + 0x5C, + 0x4F, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x34, + 0x11, + 0x36, + 0x3E, + 0xC3, + 0xF5, + 0x48, + 0x40, + 0x71, + 0x3D, + 0x4A, + 0x3F, + 0x52, + 0xB8, + 0x1E, + 0x3F, + 0x34, + 0x11, + 0x36, + 0x3E, + 0x42, + 0x60, + 0x65, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0xA6, + 0x9B, + 0xC4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x84, + 0xA1, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleCupboard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x63, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x1F, + 0x85, + 0x2B, + 0x3F, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0x52, + 0xB8, + 0x9E, + 0x3E, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x12, + 0x14, + 0x63, + 0x40, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDF, + 0x4F, + 0x0D, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x84, + 0xA1, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleCourtyard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3D, + 0x0A, + 0xD7, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0xBA, + 0x49, + 0x4C, + 0x3E, + 0xEC, + 0x51, + 0x08, + 0x40, + 0xF6, + 0x28, + 0x1C, + 0x3F, + 0x1F, + 0x85, + 0x6B, + 0x3E, + 0x0B, + 0x46, + 0x65, + 0x3E, + 0x0A, + 0xD7, + 0x23, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0xBC, + 0x74, + 0x13, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0xA4, + 0x70, + 0xBD, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CastleAlcove + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x63, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x85, + 0xEB, + 0xD1, + 0x3F, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0x52, + 0xB8, + 0x9E, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x96, + 0x43, + 0x0B, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDF, + 0x4F, + 0x0D, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x84, + 0xA1, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactorySmallRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0xF6, + 0x28, + 0xDC, + 0x3F, + 0x66, + 0x66, + 0x26, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x56, + 0x9F, + 0xE3, + 0x3F, + 0xA6, + 0x9B, + 0xC4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x46, + 0xB6, + 0xF3, + 0x3D, + 0x29, + 0x5C, + 0x8F, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactoryShortPassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x0A, + 0xD7, + 0x23, + 0x3F, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x85, + 0xEB, + 0x21, + 0x40, + 0x66, + 0x66, + 0x26, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0xE3, + 0xA5, + 0x1B, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x71, + 0x3D, + 0x0A, + 0x3E, + 0x1F, + 0x85, + 0x6B, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactoryMediumRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0xD7, + 0xA3, + 0x30, + 0x40, + 0x66, + 0x66, + 0x26, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x58, + 0x39, + 0xB4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x7F, + 0x6A, + 0xBC, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x0E, + 0x2D, + 0x32, + 0x3E, + 0x29, + 0x5C, + 0x8F, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactoryLargeRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x00, + 0x00, + 0x40, + 0x3F, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x14, + 0xAE, + 0x87, + 0x40, + 0x5C, + 0x8F, + 0x02, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0x34, + 0x11, + 0x36, + 0x3E, + 0x77, + 0xBE, + 0x1F, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0x7F, + 0x6A, + 0xBC, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x44, + 0x8B, + 0x6C, + 0x3E, + 0x29, + 0x5C, + 0x8F, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactoryLongPassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x0A, + 0xD7, + 0x23, + 0x3F, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x85, + 0xEB, + 0x81, + 0x40, + 0x66, + 0x66, + 0x26, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x50, + 0x8D, + 0x17, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x71, + 0x3D, + 0x0A, + 0x3E, + 0x1F, + 0x85, + 0x6B, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactoryHall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x00, + 0x00, + 0x40, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x8F, + 0xC2, + 0xED, + 0x40, + 0x5C, + 0x8F, + 0x02, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0x93, + 0x3A, + 0x81, + 0x3D, + 0x06, + 0x81, + 0x95, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x1B, + 0x2F, + 0xDD, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x29, + 0x5C, + 0x8F, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactoryCupboard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x36, + 0x3C, + 0x9D, + 0x3E, + 0xAE, + 0x47, + 0x21, + 0x3F, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x48, + 0xE1, + 0xFA, + 0x3E, + 0x66, + 0x66, + 0x26, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFE, + 0x65, + 0xFF, + 0x3F, + 0x6F, + 0x12, + 0x03, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xD1, + 0x22, + 0xDB, + 0x3D, + 0x29, + 0x5C, + 0x8F, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactoryCourtyard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x36, + 0x3C, + 0x9D, + 0x3E, + 0x85, + 0xEB, + 0x11, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0xE1, + 0x7A, + 0x14, + 0x40, + 0xE1, + 0x7A, + 0x94, + 0x3E, + 0x29, + 0x5C, + 0x0F, + 0x3F, + 0x0B, + 0x46, + 0x65, + 0x3E, + 0x29, + 0x5C, + 0x0F, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x77, + 0xBE, + 0x1F, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0xE1, + 0x7A, + 0x94, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties FactoryAlcove + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x3D, + 0x0A, + 0x17, + 0x3F, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0xC3, + 0xF5, + 0x48, + 0x40, + 0x66, + 0x66, + 0x26, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xE3, + 0xA5, + 0x1B, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xD5, + 0x78, + 0xE9, + 0x3D, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x29, + 0x6B, + 0x45, + 0x00, + 0x40, + 0xB5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceSmallRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3D, + 0x0A, + 0x57, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xAE, + 0x47, + 0xC1, + 0x3F, + 0x0A, + 0xD7, + 0xC3, + 0x3F, + 0x71, + 0x3D, + 0x8A, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x9E, + 0xEF, + 0x27, + 0x3E, + 0x29, + 0x5C, + 0x0F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceShortPassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x40, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xB8, + 0x1E, + 0xE5, + 0x3F, + 0x48, + 0xE1, + 0xBA, + 0x3F, + 0x29, + 0x5C, + 0x8F, + 0x3E, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0xE3, + 0xA5, + 0x9B, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x7D, + 0x3F, + 0x35, + 0x3E, + 0xEC, + 0x51, + 0xB8, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceMediumRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x7B, + 0x14, + 0x0E, + 0x40, + 0x0A, + 0xD7, + 0xC3, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3E, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x77, + 0xBE, + 0x1F, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0x1B, + 0x2F, + 0xDD, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC9, + 0x76, + 0x3E, + 0x3E, + 0x8F, + 0xC2, + 0xF5, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceLargeRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x29, + 0x5C, + 0x4F, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0xC3, + 0xF5, + 0x48, + 0x40, + 0x0A, + 0xD7, + 0xC3, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3E, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x77, + 0xBE, + 0x1F, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x1B, + 0x2F, + 0xDD, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xD1, + 0x22, + 0x5B, + 0x3E, + 0xAE, + 0x47, + 0xE1, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceLongPassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0xB8, + 0x1E, + 0x45, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0xD7, + 0xA3, + 0x40, + 0x40, + 0x48, + 0xE1, + 0xBA, + 0x3F, + 0x29, + 0x5C, + 0x8F, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0xCD, + 0xCC, + 0xCC, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC9, + 0x76, + 0x3E, + 0x3E, + 0x0A, + 0xD7, + 0x23, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceHall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x5C, + 0x8F, + 0x42, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x14, + 0xAE, + 0xAF, + 0x40, + 0x0A, + 0xD7, + 0xC3, + 0x3F, + 0x5C, + 0x8F, + 0xC2, + 0x3E, + 0x1D, + 0xC9, + 0xE5, + 0x3D, + 0x1B, + 0x2F, + 0x5D, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x37, + 0x89, + 0x21, + 0x3F, + 0xF4, + 0xFD, + 0x54, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x8B, + 0x6C, + 0x67, + 0x3E, + 0xAE, + 0x47, + 0xE1, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceCupboard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0xE1, + 0x7A, + 0x54, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x0B, + 0x46, + 0x65, + 0x3E, + 0x5C, + 0x8F, + 0x42, + 0x3F, + 0x0A, + 0xD7, + 0xC3, + 0x3F, + 0xB8, + 0x1E, + 0x85, + 0x3E, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFE, + 0x65, + 0xFF, + 0x3F, + 0x6F, + 0x12, + 0x83, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x98, + 0x6E, + 0x12, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceCourtyard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3D, + 0x0A, + 0x17, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x5C, + 0x8F, + 0x02, + 0x40, + 0x9A, + 0x99, + 0x99, + 0x3F, + 0x5C, + 0x8F, + 0xC2, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE9, + 0x26, + 0x31, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xC5, + 0x20, + 0x30, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xD7, + 0xA3, + 0x70, + 0x3E, + 0x8F, + 0xC2, + 0xF5, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties IcePalaceAlcove + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3D, + 0x0A, + 0x57, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xD7, + 0xA3, + 0x30, + 0x40, + 0x48, + 0xE1, + 0xBA, + 0x3F, + 0x29, + 0x5C, + 0x8F, + 0x3E, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x2F, + 0xDD, + 0x24, + 0x3E, + 0xEC, + 0x51, + 0xB8, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x32, + 0x42, + 0x46, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SpaceStationSmallRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x2B, + 0xF6, + 0x57, + 0x3E, + 0x33, + 0x33, + 0x33, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xF6, + 0x28, + 0xDC, + 0x3F, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xCD, + 0xCC, + 0x0C, + 0x3F, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0xF4, + 0xFD, + 0x54, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x12, + 0x83, + 0x40, + 0x3E, + 0xB8, + 0x1E, + 0x85, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x41, + 0x4F, + 0x45, + 0x9A, + 0x19, + 0xE5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SpaceStationShortPassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x2B, + 0xF6, + 0x57, + 0x3E, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xE1, + 0x7A, + 0x64, + 0x40, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xCD, + 0xCC, + 0x0C, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0x6F, + 0x12, + 0x83, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC5, + 0x20, + 0x30, + 0x3E, + 0xCD, + 0xCC, + 0x4C, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x41, + 0x4F, + 0x45, + 0x9A, + 0x19, + 0xE5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SpaceStationMediumRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x2B, + 0xF6, + 0x57, + 0x3E, + 0x00, + 0x00, + 0x40, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xD7, + 0xA3, + 0x40, + 0x40, + 0x00, + 0x00, + 0x00, + 0x3F, + 0xCD, + 0xCC, + 0x0C, + 0x3F, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x96, + 0x43, + 0x0B, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0x29, + 0x5C, + 0x0F, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x19, + 0x04, + 0x56, + 0x3E, + 0x52, + 0xB8, + 0x9E, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x41, + 0x4F, + 0x45, + 0x9A, + 0x19, + 0xE5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SpaceStationLargeRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x29, + 0x5C, + 0x4F, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xC3, + 0xF5, + 0x78, + 0x40, + 0x5C, + 0x8F, + 0xC2, + 0x3E, + 0xF6, + 0x28, + 0x1C, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x42, + 0x60, + 0x65, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x29, + 0x5C, + 0x0F, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x8D, + 0x97, + 0x6E, + 0x3E, + 0x29, + 0x5C, + 0x8F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x41, + 0x4F, + 0x45, + 0x9A, + 0x19, + 0xE5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SpaceStationLongPassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x0A, + 0xD7, + 0x93, + 0x40, + 0x52, + 0xB8, + 0x1E, + 0x3F, + 0xCD, + 0xCC, + 0x0C, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0xB6, + 0xF3, + 0xFD, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x1F, + 0x85, + 0x6B, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x41, + 0x4F, + 0x45, + 0x9A, + 0x19, + 0xE5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SpaceStationHall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x1F, + 0x85, + 0xE3, + 0x40, + 0x5C, + 0x8F, + 0xC2, + 0x3E, + 0xF6, + 0x28, + 0x1C, + 0x3F, + 0x34, + 0x11, + 0x36, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x12, + 0x83, + 0x40, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x41, + 0x4F, + 0x45, + 0x9A, + 0x19, + 0xE5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SpaceStationCupboard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xB2, + 0x9D, + 0x2F, + 0x3E, + 0x29, + 0x5C, + 0x0F, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x71, + 0x3D, + 0x4A, + 0x3F, + 0x29, + 0x5C, + 0x4F, + 0x3F, + 0xCD, + 0xCC, + 0x0C, + 0x3F, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x56, + 0x9F, + 0xE3, + 0x3F, + 0xBC, + 0x74, + 0x93, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x10, + 0x58, + 0x39, + 0x3E, + 0x52, + 0xB8, + 0x9E, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x41, + 0x4F, + 0x45, + 0x9A, + 0x19, + 0xE5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SpaceStationAlcove + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x2B, + 0xF6, + 0x57, + 0x3E, + 0x14, + 0xAE, + 0x47, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xE1, + 0x7A, + 0x94, + 0x3F, + 0x29, + 0x5C, + 0x4F, + 0x3F, + 0xCD, + 0xCC, + 0x0C, + 0x3F, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xBC, + 0x74, + 0x93, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA6, + 0x9B, + 0x44, + 0x3E, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x9A, + 0x41, + 0x4F, + 0x45, + 0x9A, + 0x19, + 0xE5, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenSmallRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x1D, + 0xC9, + 0xE5, + 0x3D, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x71, + 0x3D, + 0x4A, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3E, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x6F, + 0x12, + 0x03, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x68, + 0x91, + 0xED, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenShortPassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEE, + 0xEB, + 0x00, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0xE0, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x37, + 0x89, + 0x21, + 0x3F, + 0xA6, + 0x9B, + 0xC4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenMediumRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xF6, + 0x28, + 0xBC, + 0x3F, + 0x3D, + 0x0A, + 0xD7, + 0x3E, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x39, + 0xB4, + 0x48, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x68, + 0x91, + 0xED, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenLargeRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x10, + 0x7A, + 0xB6, + 0x3D, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x9A, + 0x99, + 0x29, + 0x40, + 0xC3, + 0xF5, + 0xA8, + 0x3E, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x02, + 0x2B, + 0x87, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x39, + 0xB4, + 0x48, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenLongPassage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x52, + 0xB8, + 0xFE, + 0x3F, + 0xCD, + 0xCC, + 0xCC, + 0x3E, + 0x71, + 0x3D, + 0x4A, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0xBC, + 0x74, + 0x13, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenHall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x78, + 0x9C, + 0xA2, + 0x3D, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xCD, + 0xCC, + 0x5C, + 0x40, + 0x9A, + 0x99, + 0x99, + 0x3E, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x58, + 0x39, + 0xB4, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x25, + 0x06, + 0x81, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenCupboard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF2, + 0xB0, + 0x10, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x29, + 0x5C, + 0x0F, + 0x3F, + 0x1F, + 0x85, + 0xEB, + 0x3E, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenCourtyard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x66, + 0x66, + 0x26, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x78, + 0x9C, + 0xA2, + 0x3D, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xB8, + 0x1E, + 0xE5, + 0x3F, + 0x33, + 0x33, + 0xB3, + 0x3E, + 0x71, + 0x3D, + 0x4A, + 0x3F, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x6D, + 0xE7, + 0xFB, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x6F, + 0x12, + 0x03, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties WoodenAlcove + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEE, + 0xEB, + 0x00, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF6, + 0x28, + 0x9C, + 0x3F, + 0x52, + 0xB8, + 0x1E, + 0x3F, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0xA6, + 0x9B, + 0xC4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x08, + 0x93, + 0x45, + 0x33, + 0x33, + 0xC7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SportEmptyStadium + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xEC, + 0x51, + 0xC8, + 0x40, + 0x5C, + 0x8F, + 0x02, + 0x3F, + 0xCD, + 0xCC, + 0x8C, + 0x3F, + 0x93, + 0x3A, + 0x81, + 0x3D, + 0x5A, + 0x64, + 0x3B, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0xE3, + 0xA5, + 0x1B, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SportSquashCourt + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x40, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x7B, + 0x14, + 0x0E, + 0x40, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0xE1, + 0x7A, + 0x94, + 0x3F, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x25, + 0x06, + 0x01, + 0x3E, + 0x5C, + 0x8F, + 0x42, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x33, + 0x47, + 0xE0, + 0x45, + 0x33, + 0x33, + 0x53, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SportSmallSwimmingPool + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x33, + 0x33, + 0x33, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xD7, + 0xA3, + 0x30, + 0x40, + 0x00, + 0x00, + 0xA0, + 0x3F, + 0x85, + 0xEB, + 0x91, + 0x3F, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC7, + 0x4B, + 0x37, + 0x3E, + 0x9A, + 0x99, + 0x19, + 0x3E, + 0xB8, + 0x1E, + 0x65, + 0x3F, + 0x5C, + 0x8F, + 0x42, + 0x3E, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SportLargeSwimmingPool + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x14, + 0xAE, + 0xAF, + 0x40, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0x85, + 0xEB, + 0x91, + 0x3F, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x77, + 0xBE, + 0x1F, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x39, + 0xB4, + 0x48, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xF8, + 0x53, + 0x63, + 0x3E, + 0xCD, + 0xCC, + 0x0C, + 0x3F, + 0x1D, + 0x5A, + 0x94, + 0x3F, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SportGymnasium + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x29, + 0x5C, + 0x4F, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xC3, + 0xF5, + 0x48, + 0x40, + 0x14, + 0xAE, + 0x87, + 0x3F, + 0xCD, + 0xCC, + 0xAC, + 0x3F, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x68, + 0x91, + 0xED, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0xEC, + 0x51, + 0x38, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x06, + 0x81, + 0x15, + 0x3E, + 0x29, + 0x5C, + 0x0F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x33, + 0x47, + 0xE0, + 0x45, + 0x33, + 0x33, + 0x53, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SportFullStadium + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x97, + 0xFF, + 0x90, + 0x3D, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x00, + 0x00, + 0xA8, + 0x40, + 0x7B, + 0x14, + 0x2E, + 0x3E, + 0xCD, + 0xCC, + 0x4C, + 0x3F, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x12, + 0x83, + 0x40, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xE3, + 0xA5, + 0x1B, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SportStadiumTannoy + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x14, + 0xAE, + 0x47, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x85, + 0xEB, + 0x21, + 0x40, + 0xAE, + 0x47, + 0x61, + 0x3F, + 0x7B, + 0x14, + 0x2E, + 0x3F, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x1F, + 0x85, + 0x6B, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x25, + 0x06, + 0x81, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0xCD, + 0xCC, + 0x4C, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PrefabWorkshop + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xF2, + 0xB0, + 0x10, + 0x3E, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x5C, + 0x8F, + 0x42, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PrefabSchoolRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x29, + 0xED, + 0xCD, + 0x3E, + 0xD7, + 0xA3, + 0x30, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x48, + 0xE1, + 0x7A, + 0x3F, + 0x66, + 0x66, + 0xE6, + 0x3E, + 0xEC, + 0x51, + 0x38, + 0x3E, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x96, + 0x43, + 0x8B, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x8F, + 0xC2, + 0x75, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x5C, + 0x8F, + 0xC2, + 0x3D, + 0x29, + 0x5C, + 0x0F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x33, + 0x47, + 0xE0, + 0x45, + 0x33, + 0x33, + 0x53, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PrefabPractiseRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x29, + 0xED, + 0xCD, + 0x3E, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x29, + 0x5C, + 0x8F, + 0x3F, + 0x29, + 0x5C, + 0x0F, + 0x3F, + 0xEC, + 0x51, + 0x38, + 0x3E, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x5C, + 0x8F, + 0xC2, + 0x3D, + 0x29, + 0x5C, + 0x0F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x33, + 0x47, + 0xE0, + 0x45, + 0x33, + 0x33, + 0x53, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PrefabOuthouse + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x1D, + 0xC9, + 0xE5, + 0x3D, + 0xD3, + 0x4D, + 0x22, + 0x3E, + 0xD7, + 0xA3, + 0xB0, + 0x3F, + 0x5C, + 0x8F, + 0xC2, + 0x3E, + 0x33, + 0x33, + 0xB3, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xA6, + 0x9B, + 0xC4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x58, + 0x39, + 0x34, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xD9, + 0xCE, + 0xF7, + 0x3D, + 0x7B, + 0x14, + 0x2E, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xD7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PrefabCaravan + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x10, + 0x7A, + 0xB6, + 0x3D, + 0xEE, + 0xEB, + 0x00, + 0x3E, + 0xF6, + 0x28, + 0xDC, + 0x3E, + 0x00, + 0x00, + 0xC0, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xFE, + 0x65, + 0xFF, + 0x3F, + 0xA6, + 0x9B, + 0x44, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DomeTomb + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x71, + 0x3D, + 0x4A, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0x0B, + 0x46, + 0x65, + 0x3E, + 0x8F, + 0xC2, + 0x85, + 0x40, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xA6, + 0x0A, + 0xC6, + 0x3E, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xEB, + 0xE2, + 0xD6, + 0x3F, + 0x58, + 0x39, + 0xB4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x7D, + 0x3F, + 0x35, + 0x3E, + 0x5C, + 0x8F, + 0x42, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xA0, + 0x41, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PipeSmall + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0x0B, + 0x46, + 0x65, + 0x3E, + 0xAE, + 0x47, + 0xA1, + 0x40, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x6F, + 0x12, + 0x03, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xF8, + 0xC2, + 0x20, + 0x40, + 0x8F, + 0xC2, + 0x75, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xA0, + 0x41, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DomeSaintPauls + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0x0B, + 0x46, + 0x65, + 0x3E, + 0x14, + 0xAE, + 0x27, + 0x41, + 0x5C, + 0x8F, + 0x42, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x34, + 0x11, + 0x36, + 0x3E, + 0xEC, + 0x51, + 0xB8, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x31, + 0x08, + 0x2C, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x8F, + 0xC2, + 0xF5, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xA0, + 0x41, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PipeLongThin + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x6F, + 0x12, + 0x83, + 0x3E, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x29, + 0x5C, + 0x13, + 0x41, + 0xEC, + 0x51, + 0x38, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x58, + 0x39, + 0xB4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xA0, + 0x41, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PipeLarge + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0x0B, + 0x46, + 0x65, + 0x3E, + 0x33, + 0x33, + 0x07, + 0x41, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x7F, + 0x6A, + 0x3C, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0xDE, + 0xCA, + 0x3F, + 0x6F, + 0x12, + 0x03, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xA0, + 0x41, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties PipeResonant + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x5F, + 0x98, + 0x0C, + 0x3E, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x85, + 0xEB, + 0xD9, + 0x40, + 0xEC, + 0x51, + 0x38, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x58, + 0x39, + 0xB4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xA0, + 0x41, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties OutdoorsBackyard + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x66, + 0x66, + 0xE6, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x29, + 0x5C, + 0x8F, + 0x3F, + 0x7B, + 0x14, + 0xAE, + 0x3E, + 0x1F, + 0x85, + 0xEB, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0xDF, + 0x4F, + 0x8D, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x7F, + 0x6A, + 0xBC, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x64, + 0x3B, + 0x5F, + 0x3E, + 0x7B, + 0x14, + 0xAE, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x78, + 0x89, + 0x45, + 0x66, + 0xE6, + 0x72, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties OutdoorsRollingPlains + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x00, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x34, + 0x80, + 0x37, + 0x3C, + 0x37, + 0x89, + 0x21, + 0x3F, + 0xEC, + 0x51, + 0x08, + 0x40, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0x1F, + 0x85, + 0xEB, + 0x3E, + 0x34, + 0x11, + 0x36, + 0x3E, + 0x9A, + 0x99, + 0x99, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0xE3, + 0xA5, + 0x9B, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x78, + 0x89, + 0x45, + 0x66, + 0xE6, + 0x72, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties OutdoorsDeepCanyon + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0xA4, + 0x70, + 0x3D, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x34, + 0x11, + 0x36, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0xC3, + 0xF5, + 0x78, + 0x40, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0x1F, + 0x85, + 0xEB, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x1D, + 0x5A, + 0x64, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0xE3, + 0xA5, + 0x9B, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x78, + 0x89, + 0x45, + 0x66, + 0xE6, + 0x72, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties OutdoorsCreek + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x33, + 0x33, + 0xB3, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x34, + 0x11, + 0x36, + 0x3E, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0xEC, + 0x51, + 0x08, + 0x40, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0x1F, + 0x85, + 0xEB, + 0x3E, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x1F, + 0x85, + 0xEB, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0xBA, + 0x49, + 0x4C, + 0x3E, + 0xB6, + 0xF3, + 0xFD, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x64, + 0x3B, + 0x5F, + 0x3E, + 0x7B, + 0x14, + 0xAE, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x78, + 0x89, + 0x45, + 0x66, + 0xE6, + 0x72, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties OutdoorsValley + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x29, + 0x5C, + 0x8F, + 0x3E, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xB0, + 0x03, + 0xE7, + 0x3C, + 0xD3, + 0x4D, + 0x22, + 0x3E, + 0xEC, + 0x51, + 0x38, + 0x40, + 0xB8, + 0x1E, + 0x85, + 0x3E, + 0x33, + 0x33, + 0xB3, + 0x3E, + 0xF2, + 0xB0, + 0x10, + 0x3E, + 0xF0, + 0xA7, + 0x86, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x7B, + 0x14, + 0xAE, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xD7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties MoodHeaven + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0xD7, + 0xA3, + 0x70, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0xAE, + 0x47, + 0xA1, + 0x40, + 0x29, + 0x5C, + 0x8F, + 0x3F, + 0x29, + 0x5C, + 0x0F, + 0x3F, + 0x59, + 0x86, + 0x78, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x68, + 0x91, + 0xED, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x0A, + 0xD7, + 0xA3, + 0x3D, + 0xEE, + 0x7C, + 0x2F, + 0x40, + 0xCD, + 0xCC, + 0x4C, + 0x3D, + 0x44, + 0x69, + 0x7F, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties MoodHell + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x85, + 0xEB, + 0x11, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0xE1, + 0x7A, + 0x64, + 0x40, + 0x48, + 0xE1, + 0xFA, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x40, + 0x00, + 0x00, + 0x00, + 0x00, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xAE, + 0x47, + 0xE1, + 0x3D, + 0x0A, + 0xD7, + 0x23, + 0x3D, + 0xDB, + 0xF9, + 0x06, + 0x40, + 0xB8, + 0x1E, + 0x05, + 0x3F, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x80, + 0x0B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties MoodMemory + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x9A, + 0x99, + 0x59, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0x85, + 0xEB, + 0x81, + 0x40, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0x29, + 0x5C, + 0x0F, + 0x3F, + 0x53, + 0x05, + 0x23, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB2, + 0x9D, + 0x8F, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x21, + 0xB0, + 0xF2, + 0x3E, + 0x66, + 0x66, + 0xE6, + 0x3E, + 0xE4, + 0x14, + 0x7D, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DrivingCommentator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x00, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x48, + 0xE1, + 0x1A, + 0x40, + 0xAE, + 0x47, + 0x61, + 0x3F, + 0x7B, + 0x14, + 0x2E, + 0x3F, + 0xBA, + 0x49, + 0x4C, + 0x3E, + 0xC9, + 0x76, + 0xBE, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x96, + 0x43, + 0x8B, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0xE4, + 0x14, + 0x7D, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DrivingPitGarage + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x91, + 0x7E, + 0xDB, + 0x3E, + 0x3D, + 0x0A, + 0x17, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0xF6, + 0x28, + 0xDC, + 0x3F, + 0x7B, + 0x14, + 0x6E, + 0x3F, + 0x52, + 0xB8, + 0x5E, + 0x3F, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x6F, + 0x12, + 0x83, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0xAE, + 0x47, + 0xE1, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DrivingInCarRacer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xC3, + 0x64, + 0xAA, + 0x3D, + 0xCD, + 0xCC, + 0x4C, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x7B, + 0x14, + 0x2E, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x40, + 0x85, + 0xEB, + 0xD1, + 0x3E, + 0x56, + 0x9F, + 0xE3, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x8F, + 0xC2, + 0x75, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x70, + 0x20, + 0x46, + 0x00, + 0x00, + 0x7B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DrivingInCarSports + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xC3, + 0x64, + 0xAA, + 0x3D, + 0xCD, + 0xCC, + 0x4C, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x7B, + 0x14, + 0x2E, + 0x3E, + 0x00, + 0x00, + 0x40, + 0x3F, + 0x85, + 0xEB, + 0xD1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x70, + 0x20, + 0x46, + 0x00, + 0x00, + 0x7B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DrivingInCarLuxury + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x6F, + 0x12, + 0x83, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xCD, + 0xCC, + 0xCC, + 0x3D, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0xB8, + 0x1E, + 0x05, + 0x3E, + 0x85, + 0xEB, + 0xD1, + 0x3E, + 0x1F, + 0x85, + 0xEB, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0xDE, + 0xCA, + 0x3F, + 0x0A, + 0xD7, + 0x23, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0x70, + 0x20, + 0x46, + 0x00, + 0x00, + 0x7B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DrivingFullGrandStand + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x37, + 0x89, + 0x21, + 0x3F, + 0xD7, + 0xA3, + 0x40, + 0x40, + 0x29, + 0x5C, + 0xAF, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3F, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0xEC, + 0x51, + 0xB8, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x34, + 0x11, + 0x36, + 0x3E, + 0x39, + 0xB4, + 0x48, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0xD0, + 0x22, + 0x46, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DrivingEmptyGrandStand + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x0A, + 0xD7, + 0x93, + 0x40, + 0x00, + 0x00, + 0xE0, + 0x3F, + 0x33, + 0x33, + 0xB3, + 0x3F, + 0x61, + 0x32, + 0x55, + 0x3E, + 0xEC, + 0x51, + 0xB8, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x39, + 0xB4, + 0x48, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0xCD, + 0xD0, + 0x22, + 0x46, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DrivingTunnel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x29, + 0x5C, + 0x4F, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x48, + 0xE1, + 0x5A, + 0x40, + 0xD7, + 0xA3, + 0x70, + 0x3F, + 0x14, + 0xAE, + 0xA7, + 0x3F, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x60, + 0xE5, + 0x50, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x12, + 0x83, + 0x40, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xD1, + 0x22, + 0x5B, + 0x3E, + 0xCD, + 0xCC, + 0x4C, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0xCD, + 0x4C, + 0x1B, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CityStreets + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x14, + 0xAE, + 0x47, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xB8, + 0x1E, + 0xE5, + 0x3F, + 0x29, + 0x5C, + 0x8F, + 0x3F, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x7F, + 0x6A, + 0x3C, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xBA, + 0x49, + 0x4C, + 0x3E, + 0x42, + 0x60, + 0xE5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0xCD, + 0xCC, + 0x4C, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CitySubway + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0xA4, + 0x70, + 0x3D, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xD7, + 0xA3, + 0x40, + 0x40, + 0xA4, + 0x70, + 0x9D, + 0x3F, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0x7F, + 0x6A, + 0x3C, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0x42, + 0x60, + 0xE5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3E, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CityMuseum + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x34, + 0x11, + 0x36, + 0x3E, + 0x34, + 0x11, + 0x36, + 0x3E, + 0x85, + 0xEB, + 0x51, + 0x40, + 0x33, + 0x33, + 0xB3, + 0x3F, + 0x85, + 0xEB, + 0x11, + 0x3F, + 0x49, + 0x9D, + 0x80, + 0x3E, + 0x77, + 0xBE, + 0x1F, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x96, + 0x43, + 0x0B, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB8, + 0x1E, + 0x05, + 0x3E, + 0x7B, + 0x14, + 0x2E, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xD7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CityLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x17, + 0x48, + 0x90, + 0x3E, + 0x10, + 0x7A, + 0xB6, + 0x3D, + 0xD7, + 0xA3, + 0x30, + 0x40, + 0x0A, + 0xD7, + 0x63, + 0x3F, + 0x85, + 0xEB, + 0xD1, + 0x3E, + 0x58, + 0xA8, + 0xB5, + 0x3E, + 0x68, + 0x91, + 0xED, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB8, + 0x1E, + 0x05, + 0x3E, + 0x7B, + 0x14, + 0x2E, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x66, + 0x66, + 0x32, + 0x45, + 0x00, + 0x00, + 0xD7, + 0x42, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CityUnderpass + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x85, + 0xEB, + 0x51, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0xE1, + 0x7A, + 0x64, + 0x40, + 0x29, + 0x5C, + 0x8F, + 0x3F, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0xC3, + 0xD3, + 0xCB, + 0x3E, + 0xFC, + 0xA9, + 0x71, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x50, + 0x8D, + 0x17, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x29, + 0x5C, + 0x0F, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0xB6, + 0xF3, + 0x7D, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties CityAbandoned + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0xD7, + 0xA3, + 0x30, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x85, + 0xEB, + 0x51, + 0x40, + 0x8F, + 0xC2, + 0x95, + 0x3F, + 0xC3, + 0xF5, + 0x68, + 0x3F, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x58, + 0x39, + 0x34, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x17, + 0x48, + 0x90, + 0x3E, + 0xA6, + 0x9B, + 0xC4, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0xCD, + 0xCC, + 0x4C, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x2D, + 0x21, + 0x7F, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties DustyRoom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0xBE, + 0x9F, + 0xBA, + 0x3E, + 0x29, + 0x5C, + 0x0F, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0xEF, + 0x38, + 0x35, + 0x3F, + 0xB8, + 0x1E, + 0xE5, + 0x3F, + 0x5C, + 0x8F, + 0xC2, + 0x3E, + 0x3D, + 0x0A, + 0x57, + 0x3E, + 0xA5, + 0x4E, + 0x00, + 0x3F, + 0x6F, + 0x12, + 0x03, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xA3, + 0x23, + 0xA1, + 0x3F, + 0xA6, + 0x9B, + 0xC4, + 0x3B, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x17, + 0xD9, + 0x4E, + 0x3E, + 0xCD, + 0xCC, + 0x4C, + 0x3D, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0xE4, + 0x14, + 0x7D, + 0x3F, + 0x00, + 0xD8, + 0x4B, + 0x46, + 0xCD, + 0x4C, + 0x23, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties Chapel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x3D, + 0x0A, + 0x57, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xE5, + 0xF2, + 0x0F, + 0x3F, + 0x00, + 0x00, + 0x80, + 0x3F, + 0x0A, + 0xD7, + 0x93, + 0x40, + 0x0A, + 0xD7, + 0x23, + 0x3F, + 0xA4, + 0x70, + 0x9D, + 0x3F, + 0xDD, + 0xB5, + 0xE4, + 0x3E, + 0x6F, + 0x12, + 0x03, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x3F, + 0x57, + 0x4B, + 0x3F, + 0x39, + 0xB4, + 0x48, + 0x3D, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x80, + 0x3E, + 0xAE, + 0x47, + 0xE1, + 0x3D, + 0x72, + 0x8A, + 0x7E, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x01, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } + + [NativeTypeName("const EFXEAXREVERBPROPERTIES")] + public static ref readonly EfxEaxReverbProperties SmallWaterroom + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = + [ + 0x00, + 0x00, + 0x80, + 0x3F, + 0x33, + 0x33, + 0x33, + 0x3F, + 0xF7, + 0xE4, + 0xA1, + 0x3E, + 0xEF, + 0x38, + 0xE5, + 0x3E, + 0x00, + 0x00, + 0x80, + 0x3F, + 0xAE, + 0x47, + 0xC1, + 0x3F, + 0x00, + 0x00, + 0xA0, + 0x3F, + 0x85, + 0xEB, + 0x91, + 0x3F, + 0x3D, + 0x2C, + 0x64, + 0x3F, + 0x0A, + 0xD7, + 0xA3, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xCD, + 0xCC, + 0xB4, + 0x3F, + 0x8F, + 0xC2, + 0xF5, + 0x3C, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0xC7, + 0x4B, + 0x37, + 0x3E, + 0x9A, + 0x99, + 0x19, + 0x3E, + 0xB8, + 0x1E, + 0x65, + 0x3F, + 0x5C, + 0x8F, + 0x42, + 0x3E, + 0xB6, + 0xF3, + 0x7D, + 0x3F, + 0x00, + 0x40, + 0x9C, + 0x45, + 0x00, + 0x00, + 0x7A, + 0x43, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + 0x00, + ]; + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As( + ref MemoryMarshal.GetReference(data) + ); + } + } +} diff --git a/sources/OpenAL/OpenAL/al/EventProcDelegateSOFT.gen.cs b/sources/OpenAL/OpenAL/al/EventProcDelegateSOFT.gen.cs new file mode 100644 index 0000000000..e18bacba39 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/EventProcDelegateSOFT.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; + +public unsafe delegate void EventProcDelegateSOFT( + int arg0, + uint arg1, + uint arg2, + int arg3, + sbyte* arg4, + void* arg5 +); diff --git a/sources/OpenAL/OpenAL/al/EventProcSOFT.gen.cs b/sources/OpenAL/OpenAL/al/EventProcSOFT.gen.cs new file mode 100644 index 0000000000..0b85963bc8 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/EventProcSOFT.gen.cs @@ -0,0 +1,33 @@ +// 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 struct EventProcSOFT : IDisposable +{ + private readonly void* Pointer; + public delegate* unmanaged Handle => + (delegate* unmanaged)Pointer; + + public EventProcSOFT(delegate* unmanaged ptr) => + Pointer = ptr; + + public EventProcSOFT(EventProcDelegateSOFT proc) => Pointer = SilkMarshal.DelegateToPtr(proc); + + public void Dispose() => SilkMarshal.Free(Pointer); + + public static implicit operator EventProcSOFT( + delegate* unmanaged pfn + ) => new(pfn); + + public static implicit operator delegate* unmanaged( + EventProcSOFT pfn + ) => (delegate* unmanaged)pfn.Pointer; +} diff --git a/sources/OpenAL/OpenAL/al/FoldbackCallback.gen.cs b/sources/OpenAL/OpenAL/al/FoldbackCallback.gen.cs new file mode 100644 index 0000000000..644f9c3ff8 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/FoldbackCallback.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; + +public readonly unsafe struct FoldbackCallback : IDisposable +{ + private readonly void* Pointer; + public delegate* unmanaged Handle => + (delegate* unmanaged)Pointer; + + public FoldbackCallback(delegate* unmanaged ptr) => Pointer = ptr; + + public FoldbackCallback(FoldbackCallbackDelegate proc) => + Pointer = SilkMarshal.DelegateToPtr(proc); + + public void Dispose() => SilkMarshal.Free(Pointer); + + public static implicit operator FoldbackCallback(delegate* unmanaged pfn) => + new(pfn); + + public static implicit operator delegate* unmanaged(FoldbackCallback pfn) => + (delegate* unmanaged)pfn.Pointer; +} diff --git a/sources/OpenAL/OpenAL/al/FoldbackCallbackDelegate.gen.cs b/sources/OpenAL/OpenAL/al/FoldbackCallbackDelegate.gen.cs new file mode 100644 index 0000000000..b83cdf06e0 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/FoldbackCallbackDelegate.gen.cs @@ -0,0 +1,13 @@ +// 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 delegate void FoldbackCallbackDelegate(int arg0, int arg1); diff --git a/sources/OpenAL/OpenAL/al/IAL.gen.cs b/sources/OpenAL/OpenAL/al/IAL.gen.cs new file mode 100644 index 0000000000..5fe3e76aa4 --- /dev/null +++ b/sources/OpenAL/OpenAL/al/IAL.gen.cs @@ -0,0 +1,10029 @@ +// 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 interface IAL +{ + public partial interface Static + { + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotf")] + static abstract void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfDirect")] + static abstract void AuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfv")] + static abstract 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")] + static abstract void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfvDirect")] + static abstract void AuxiliaryEffectSlotfvDirect( + 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")] + static abstract void AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSloti")] + static abstract void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiDirect")] + static abstract void AuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiv")] + static abstract 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")] + static abstract void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotivDirect")] + static abstract void AuxiliaryEffectSlotivDirect( + 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")] + static abstract void AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3f")] + static abstract void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3fDirect")] + static abstract void Buffer3FDirect( + 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_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3i")] + static abstract void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3iDirect")] + static abstract void Buffer3IDirect( + 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", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferCallbackDirectSOFT")] + static abstract 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")] + static abstract void BufferCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] Ref userptr + ); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alBufferCallbackSOFT")] + static abstract 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")] + static abstract void BufferCallbackSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] Ref userptr + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferData")] + static abstract 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")] + static abstract void BufferData( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("const ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int samplerate + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferDataDirect")] + static abstract 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")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_STATIC_BUFFER"])] + [NativeFunction("openal", EntryPoint = "alBufferDataStatic")] + static abstract 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")] + static abstract void BufferDataStatic( + [NativeTypeName("const ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_EXT_STATIC_BUFFER"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferDataStaticDirect")] + static abstract 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")] + static abstract void BufferDataStaticDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferf")] + static abstract void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfDirect")] + static abstract void BufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferfv")] + static abstract 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")] + static abstract void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfvDirect")] + static abstract void BufferfvDirect( + 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")] + static abstract void BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferi")] + static abstract void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferiDirect")] + static abstract void BufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferiv")] + static abstract 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")] + static abstract void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferivDirect")] + static abstract void BufferivDirect( + 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")] + static abstract void BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alBufferSamplesSOFT")] + static abstract 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")] + static abstract 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 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_buffer_sub_data"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferSubDataDirectSOFT")] + static abstract 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")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_sub_data"])] + [NativeFunction("openal", EntryPoint = "alBufferSubDataSOFT")] + static abstract 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")] + static abstract void BufferSubDataSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("const ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int offset, + [NativeTypeName("ALsizei")] int length + ); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alBufferSubSamplesSOFT")] + static abstract 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")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackDirectEXT")] + static abstract 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")] + static abstract void DebugMessageCallbackDirectEXT( + ContextHandle context, + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + Ref userParam + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")] + static abstract void DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")] + static abstract void DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + Ref userParam + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + static abstract 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")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + static abstract 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")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + static abstract void DebugMessageControlEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALuint *")] uint ids, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + static abstract 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")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + static abstract 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")] + static abstract 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + static abstract void DebugMessageInsertEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALchar *")] sbyte message + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesDirectSOFT")] + static abstract void DeferUpdatesDirectSOFT(ContextHandle context); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesSOFT")] + static abstract void DeferUpdatesSOFT(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + static abstract void DeleteAuxiliaryEffectSlot( + [NativeTypeName("const ALuint *")] uint effectslots + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + static abstract void DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + static abstract void DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effectslots + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + static abstract 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")] + static abstract void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effectslots + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + static abstract void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effectslots + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteBuffers")] + static abstract void DeleteBuffer([NativeTypeName("const ALuint *")] uint buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteBuffers")] + static abstract 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")] + static abstract void DeleteBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")] + static abstract void DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")] + static abstract void DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + static abstract void DeleteEffect([NativeTypeName("const ALuint *")] uint effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + static abstract void DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + static abstract void DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effects + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + static abstract 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")] + static abstract void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effects + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + static abstract void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effects + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + static abstract void DeleteFilter([NativeTypeName("const ALuint *")] uint filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + static abstract void DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + static abstract void DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref filters + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + static abstract 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")] + static abstract void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref filters + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + static abstract void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint filters + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSources")] + static abstract void DeleteSource([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteSources")] + static abstract 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")] + static abstract void DeleteSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + static abstract void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + static abstract void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + static abstract void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDisable")] + static abstract void Disable([NativeTypeName("ALenum")] int capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisable")] + static abstract void Disable( + [NativeTypeName("ALenum")] Constant capability + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + static abstract void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + static abstract void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + static abstract void DistanceModel([NativeTypeName("ALenum")] int distanceModel); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + static abstract void DistanceModel( + [NativeTypeName("ALenum")] Constant distanceModel + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + static abstract void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int distanceModel + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + static abstract void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant distanceModel + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerFactor")] + static abstract void DopplerFactor([NativeTypeName("ALfloat")] float value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDopplerFactorDirect")] + static abstract void DopplerFactorDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerVelocity")] + static abstract void DopplerVelocity([NativeTypeName("ALfloat")] float value); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectf")] + static abstract void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfDirect")] + static abstract void EffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectfv")] + static abstract 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")] + static abstract void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfvDirect")] + static abstract void EffectfvDirect( + 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")] + static abstract void EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffecti")] + static abstract void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectiDirect")] + static abstract void EffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectiv")] + static abstract 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")] + static abstract void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectivDirect")] + static abstract void EffectivDirect( + 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")] + static abstract void EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alEnable")] + static abstract void Enable([NativeTypeName("ALenum")] int capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnable")] + static abstract void Enable( + [NativeTypeName("ALenum")] Constant capability + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + static abstract void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + static abstract void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventCallbackDirectSOFT")] + static abstract 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")] + static abstract void EventCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + Ref userParam + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")] + static abstract void EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")] + static abstract void EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + Ref userParam + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + static abstract 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")] + static abstract void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] Ref types, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + static abstract void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + static abstract 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")] + static abstract void EventControlSOFT( + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] Ref types, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + static abstract void EventControlSOFT( + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterf")] + static abstract void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfDirect")] + static abstract void FilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterfv")] + static abstract 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")] + static abstract void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfvDirect")] + static abstract void FilterfvDirect( + 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")] + static abstract void FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteri")] + static abstract void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilteriDirect")] + static abstract void FilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteriv")] + static abstract 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")] + static abstract void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterivDirect")] + static abstract void FilterivDirect( + 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")] + static abstract void FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + static abstract uint GenAuxiliaryEffectSlot(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + static abstract void GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + static abstract void GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effectslots + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + static abstract 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")] + static abstract void GenAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effectslots + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + static abstract uint GenAuxiliaryEffectSlotsDirect(ContextHandle context); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenBuffers")] + static abstract uint GenBuffer(); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenBuffers")] + static abstract 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")] + static abstract void GenBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")] + static abstract void GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")] + static abstract void GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + static abstract uint GenEffect(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + static abstract void GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effects + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + static abstract void GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effects + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + static abstract 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")] + static abstract void GenEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effects + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + static abstract uint GenEffectsDirect(ContextHandle context); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + static abstract uint GenFilter(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + static abstract void GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* filters + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + static abstract void GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref filters + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + static abstract 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")] + static abstract void GenFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref filters + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + static abstract uint GenFiltersDirect(ContextHandle context); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSources")] + static abstract uint GenSource(); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenSources")] + static abstract 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")] + static abstract void GenSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + static abstract void GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + static abstract void GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + static abstract uint GenSourcesDirect(ContextHandle context); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")] + static abstract void GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")] + static abstract void GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfDirect")] + static abstract 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")] + static abstract void GetAuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")] + static abstract void GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")] + static abstract void GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfvDirect")] + static abstract 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")] + static abstract void GetAuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")] + static abstract void GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")] + static abstract void GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiDirect")] + static abstract 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")] + static abstract void GetAuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")] + static abstract void GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")] + static abstract void GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotivDirect")] + static abstract 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")] + static abstract void GetAuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + static abstract MaybeBool GetBoolean([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + static abstract MaybeBool GetBooleanDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + static abstract sbyte GetBooleanDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + static abstract sbyte GetBooleanRaw([NativeTypeName("ALenum")] int param0); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBooleanv")] + static abstract 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")] + static abstract void GetBoolean( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALboolean *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanv")] + static abstract sbyte GetBoolean(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + static abstract void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] sbyte* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + static abstract void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3f")] + static abstract 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")] + static abstract void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")] + static abstract void GetBuffer3FDirect( + 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")] + static abstract void GetBuffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3i")] + static abstract 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")] + static abstract void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")] + static abstract void GetBuffer3IDirect( + 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")] + static abstract void GetBuffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrDirectSOFT")] + static abstract 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")] + static abstract void GetBuffer3PtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr0, + [NativeTypeName("ALvoid **")] Ref2D ptr1, + [NativeTypeName("ALvoid **")] Ref2D ptr2 + ); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrSOFT")] + static abstract 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")] + static abstract void GetBuffer3PtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr0, + [NativeTypeName("ALvoid **")] Ref2D ptr1, + [NativeTypeName("ALvoid **")] Ref2D ptr2 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferf")] + static abstract 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")] + static abstract void GetBufferf( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferfDirect")] + static abstract 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")] + static abstract void GetBufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferfv")] + static abstract 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")] + static abstract void GetBufferfv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferfvDirect")] + static abstract 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")] + static abstract void GetBufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferi")] + static abstract 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")] + static abstract void GetBufferi( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferiDirect")] + static abstract 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")] + static abstract void GetBufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferiv")] + static abstract 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")] + static abstract void GetBufferiv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferivDirect")] + static abstract 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")] + static abstract void GetBufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrDirectSOFT")] + static abstract 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")] + static abstract void GetBufferPtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr + ); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrSOFT")] + static abstract 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")] + static abstract void GetBufferPtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvDirectSOFT")] + static abstract 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")] + static abstract void GetBufferPtrvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr + ); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvSOFT")] + static abstract 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")] + static abstract void GetBufferPtrvSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr + ); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alGetBufferSamplesSOFT")] + static abstract 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")] + static abstract 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")] + static abstract 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")] + static abstract 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")] + static abstract 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")] + static abstract 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + static abstract 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")] + static abstract 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + static abstract 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + static abstract 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 + ); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDouble")] + static abstract double GetDouble([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoubleDirect")] + static abstract double GetDoubleDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDoublev")] + static abstract 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")] + static abstract void GetDouble( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDoublev")] + static abstract double GetDouble(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + static abstract void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + static abstract void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectf")] + static abstract void GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectf")] + static abstract void GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectfDirect")] + static abstract 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")] + static abstract void GetEffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectfv")] + static abstract void GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectfv")] + static abstract void GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectfvDirect")] + static abstract 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")] + static abstract void GetEffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffecti")] + static abstract void GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffecti")] + static abstract void GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectiDirect")] + static abstract 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")] + static abstract void GetEffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectiv")] + static abstract void GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectiv")] + static abstract void GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectivDirect")] + static abstract 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")] + static abstract void GetEffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetEnumValue")] + static abstract 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")] + static abstract int GetEnumValue([NativeTypeName("const ALchar *")] Ref ename); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")] + static abstract int GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* ename + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")] + static abstract int GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref ename + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetError")] + static abstract Constant GetError(); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + static abstract Constant GetErrorDirect(ContextHandle context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + static abstract int GetErrorDirectRaw(ContextHandle context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetError")] + static abstract int GetErrorRaw(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterf")] + static abstract void GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterf")] + static abstract void GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterfDirect")] + static abstract 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")] + static abstract void GetFilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterfv")] + static abstract void GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterfv")] + static abstract void GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterfvDirect")] + static abstract 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")] + static abstract void GetFilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteri")] + static abstract void GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilteri")] + static abstract void GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilteriDirect")] + static abstract 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")] + static abstract void GetFilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteriv")] + static abstract void GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilteriv")] + static abstract void GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterivDirect")] + static abstract 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")] + static abstract void GetFilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloat")] + static abstract float GetFloat([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatDirect")] + static abstract float GetFloatDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloatv")] + static abstract 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")] + static abstract void GetFloat( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFloatv")] + static abstract float GetFloat(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + static abstract void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + static abstract void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetInteger")] + static abstract int GetInteger([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegerDirect")] + static abstract int GetIntegerDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetIntegerv")] + static abstract 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")] + static abstract void GetInteger( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetIntegerv")] + static abstract int GetInteger(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + static abstract void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + static abstract void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3f")] + static abstract 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")] + static abstract void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")] + static abstract void GetListener3FDirect( + 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")] + static abstract void GetListener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3i")] + static abstract 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")] + static abstract void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")] + static abstract void GetListener3IDirect( + 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")] + static abstract void GetListener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerf")] + static abstract 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")] + static abstract void GetListenerf( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerf")] + static abstract float GetListenerf(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")] + static abstract void GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")] + static abstract void GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerfv")] + static abstract 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")] + static abstract void GetListenerfv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerfv")] + static abstract float GetListenerfv(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")] + static abstract void GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")] + static abstract void GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneri")] + static abstract 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")] + static abstract void GetListeneri( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListeneri")] + static abstract int GetListeneri(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")] + static abstract void GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")] + static abstract void GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneriv")] + static abstract 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")] + static abstract void GetListeneriv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListeneriv")] + static abstract int GetListeneriv(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")] + static abstract void GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")] + static abstract void GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + static abstract 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")] + static abstract void GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] Ref length, + [NativeTypeName("ALchar *")] Ref label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + static abstract sbyte GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei *")] Ref length + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + static abstract 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")] + static abstract void GetObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] Ref length, + [NativeTypeName("ALchar *")] Ref label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + static abstract sbyte GetObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei *")] Ref length + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")] + static abstract void* GetPointerDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")] + static abstract Ptr GetPointerDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")] + static abstract void* GetPointerDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")] + static abstract Ptr GetPointerDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + static abstract void* GetPointerEXT([NativeTypeName("ALenum")] int pname); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + static abstract Ptr GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + static abstract void* GetPointerSOFT([NativeTypeName("ALenum")] int pname); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + static abstract Ptr GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")] + static abstract void GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")] + static abstract void GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")] + static abstract void GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")] + static abstract void GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + static abstract void GetPointerEXT([NativeTypeName("ALenum")] int pname, void** values); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + static abstract void GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + static abstract void GetPointerSOFT([NativeTypeName("ALenum")] int pname, void** values); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + static abstract void GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + static abstract void* GetProcAddress([NativeTypeName("const ALchar *")] sbyte* fname); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + static abstract Ptr GetProcAddress([NativeTypeName("const ALchar *")] Ref fname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + static abstract void* GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* fname + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + static abstract Ptr GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref fname + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + static abstract void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + static abstract void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + static abstract void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + static abstract void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3f")] + static abstract void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3f")] + static abstract void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3fDirect")] + static abstract void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3fDirect")] + static abstract void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3i")] + static abstract void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3i")] + static abstract void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + static abstract void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + static abstract void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + static abstract void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + static abstract void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3iDirect")] + static abstract void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3iDirect")] + static abstract void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + static abstract void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + static abstract void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + static abstract void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + static abstract void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + static abstract void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + static abstract void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + static abstract void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + static abstract void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcef")] + static abstract void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcef")] + static abstract void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + static abstract void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + static abstract void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcefv")] + static abstract void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcefv")] + static abstract void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + static abstract void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + static abstract void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcei")] + static abstract void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcei")] + static abstract void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + static abstract void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + static abstract void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + static abstract void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + static abstract void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + static abstract void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + static abstract void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + static abstract void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + static abstract void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + static abstract void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + static abstract void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourceiv")] + static abstract void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourceiv")] + static abstract void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + static abstract void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + static abstract void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetString")] + static abstract Ptr GetString([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + static abstract Ptr GetStringDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + static abstract sbyte* GetStringDirectRaw( + ContextHandle context, + [NativeTypeName("ALenum")] int param1 + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + static abstract sbyte* GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + static abstract Ptr GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + static abstract sbyte* GetStringSOFT( + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + static abstract Ptr GetStringSOFT( + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetString")] + static abstract sbyte* GetStringRaw([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + static abstract MaybeBool IsAuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + static abstract MaybeBool IsAuxiliaryEffectSlotDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + static abstract sbyte IsAuxiliaryEffectSlotDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + static abstract sbyte IsAuxiliaryEffectSlotRaw([NativeTypeName("ALuint")] uint effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + static abstract MaybeBool IsBuffer([NativeTypeName("ALuint")] uint buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + static abstract MaybeBool IsBufferDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + static abstract sbyte IsBufferDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + static abstract MaybeBool IsBufferFormatSupporteSOFT( + [NativeTypeName("ALenum")] int format + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + static abstract sbyte IsBufferFormatSupportedSOFTRaw([NativeTypeName("ALenum")] int format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + static abstract sbyte IsBufferRaw([NativeTypeName("ALuint")] uint buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + static abstract MaybeBool IsEffect([NativeTypeName("ALuint")] uint effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + static abstract MaybeBool IsEffectDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + static abstract sbyte IsEffectDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + static abstract sbyte IsEffectRaw([NativeTypeName("ALuint")] uint effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + static abstract sbyte IsEnabled([NativeTypeName("ALenum")] int capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + static abstract MaybeBool IsEnabled( + [NativeTypeName("ALenum")] Constant capability + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + static abstract sbyte IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int capability + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + static abstract MaybeBool IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + static abstract sbyte IsExtensionPresent([NativeTypeName("const ALchar *")] sbyte* extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + static abstract MaybeBool IsExtensionPresent( + [NativeTypeName("const ALchar *")] Ref extname + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + static abstract sbyte IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* extname + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + static abstract MaybeBool IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref extname + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + static abstract MaybeBool IsFilter([NativeTypeName("ALuint")] uint filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + static abstract MaybeBool IsFilterDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + static abstract sbyte IsFilterDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + static abstract sbyte IsFilterRaw([NativeTypeName("ALuint")] uint filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSource")] + static abstract MaybeBool IsSource([NativeTypeName("ALuint")] uint source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + static abstract MaybeBool IsSourceDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + static abstract sbyte IsSourceDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsSource")] + static abstract sbyte IsSourceRaw([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListener3f")] + static abstract void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3fDirect")] + static abstract void Listener3FDirect( + ContextHandle context, + [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")] + [NativeFunction("openal", EntryPoint = "alListener3i")] + static abstract void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3iDirect")] + static abstract void Listener3IDirect( + ContextHandle context, + [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")] + [NativeFunction("openal", EntryPoint = "alListenerf")] + static abstract void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfDirect")] + static abstract void ListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + static abstract void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + static abstract void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + static abstract void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + static abstract void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneri")] + static abstract void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListeneriDirect")] + static abstract void ListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + static abstract void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + static abstract void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + static abstract void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + static abstract void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + static abstract void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + static abstract void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + static abstract void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + static abstract void ObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + static abstract void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + static abstract void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupDirectEXT")] + static abstract void PopDebugGroupDirectEXT(ContextHandle context); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupEXT")] + static abstract void PopDebugGroupEXT(); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesDirectSOFT")] + static abstract void ProcessUpdatesDirectSOFT(ContextHandle context); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesSOFT")] + static abstract void ProcessUpdatesSOFT(); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + static abstract void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + static abstract void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + static abstract void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + static abstract void PushDebugGroupEXT( + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + static abstract void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + static abstract void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + static abstract void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + static abstract void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + static abstract void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + static abstract void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStop")] + static abstract void RequestFoldbackStop(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStopDirect")] + static abstract void RequestFoldbackStopDirect(ContextHandle context); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3dDirectSOFT")] + static abstract void Source3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3dSOFT")] + static abstract void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSource3f")] + static abstract void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3fDirect")] + static abstract void Source3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [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")] + [NativeFunction("openal", EntryPoint = "alSource3i")] + static abstract void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3i64DirectSOFT")] + static abstract void Source3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3i64SOFT")] + static abstract void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3iDirect")] + static abstract void Source3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedDirectSOFT")] + static abstract void SourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedSOFT")] + static abstract void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + static abstract void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] double* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + static abstract void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + static abstract void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] double* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + static abstract void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcef")] + static abstract void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefDirect")] + static abstract void SourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcefv")] + static abstract void Source( + [NativeTypeName("ALuint")] uint source, + [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 = "alSourcefv")] + static abstract void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + static abstract void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + static abstract void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcei")] + static abstract void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64DirectSOFT")] + static abstract void Sourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64SOFT")] + static abstract void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + static abstract void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] long* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + static abstract void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + static abstract void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + static abstract void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceiDirect")] + static abstract void SourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceiv")] + static abstract void Source( + [NativeTypeName("ALuint")] uint source, + [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 = "alSourceiv")] + static abstract void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + static abstract void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + static abstract void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePause")] + static abstract void SourcePause([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePauseDirect")] + static abstract void SourcePauseDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + static abstract void SourcePausev( + [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 = "alSourcePausev")] + static abstract void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + static abstract void SourcePausev([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + static abstract void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + static abstract void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + static abstract void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlay")] + static abstract void SourcePlay([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeDirectSOFT")] + static abstract void SourcePlayAtTimeDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeSOFT")] + static abstract void SourcePlayAtTimeSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + static abstract void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + static abstract void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + static abstract void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + static abstract void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + static abstract void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + static abstract void SourcePlayAtTimevSOFT( + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayDirect")] + static abstract void SourcePlayDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + static abstract void SourcePlayv( + [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 = "alSourcePlayv")] + static abstract void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + static abstract void SourcePlayv([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + static abstract void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + static abstract void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + static abstract void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + static abstract void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + static abstract void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + static abstract void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + static abstract void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewind")] + static abstract void SourceRewin([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindDirect")] + static abstract void SourceRewindDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + static abstract void SourceRewindv( + [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 = "alSourceRewindv")] + static abstract void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + static abstract void SourceRewindv([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + static abstract void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + static abstract void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + static abstract void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStop")] + static abstract void SourceStop([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopDirect")] + static abstract void SourceStopDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + static abstract void SourceStopv( + [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 = "alSourceStopv")] + static abstract void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + static abstract void SourceStopv([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + static abstract void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + static abstract void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + static abstract void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + static abstract void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + static abstract void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + static abstract void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + static abstract void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alSpeedOfSound")] + static abstract void SpeedOfSound([NativeTypeName("ALfloat")] float value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSpeedOfSoundDirect")] + static abstract void SpeedOfSoundDirect( + ContextHandle context, + [NativeTypeName("ALfloat")] float value + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + static abstract int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] int* pReserved + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + static abstract int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] Ref pReserved + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + static abstract int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + static abstract int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + static abstract sbyte EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers, + [NativeTypeName("ALint")] int value + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + static abstract MaybeBool EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers, + [NativeTypeName("ALint")] int value + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + static abstract int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + static abstract int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ); + } + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotf")] + void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfDirect")] + void AuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfv")] + 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")] + void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotfvDirect")] + void AuxiliaryEffectSlotfvDirect( + 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")] + void AuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSloti")] + void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiDirect")] + void AuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotiv")] + 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")] + void AuxiliaryEffectSlot( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alAuxiliaryEffectSlotivDirect")] + void AuxiliaryEffectSlotivDirect( + 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")] + void AuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3f")] + void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3fDirect")] + void Buffer3FDirect( + 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_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBuffer3i")] + void Buffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBuffer3iDirect")] + void Buffer3IDirect( + 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", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferCallbackDirectSOFT")] + 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")] + void BufferCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] Ref userptr + ); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alBufferCallbackSOFT")] + 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")] + void BufferCallbackSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALsizei")] int freq, + [NativeTypeName("ALBUFFERCALLBACKTYPESOFT")] BufferCallbackSOFT callback, + [NativeTypeName("ALvoid *")] Ref userptr + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferData")] + 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")] + void BufferData( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("const ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int samplerate + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferDataDirect")] + 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")] + 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_STATIC_BUFFER"])] + [NativeFunction("openal", EntryPoint = "alBufferDataStatic")] + 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")] + void BufferDataStatic( + [NativeTypeName("const ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_EXT_STATIC_BUFFER"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferDataStaticDirect")] + 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")] + void BufferDataStaticDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALsizei")] int freq + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferf")] + void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfDirect")] + void BufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferfv")] + 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")] + void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferfvDirect")] + void BufferfvDirect( + 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")] + void BufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferi")] + void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferiDirect")] + void BufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alBufferiv")] + 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")] + void Buffer( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alBufferivDirect")] + void BufferivDirect( + 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")] + void BufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alBufferSamplesSOFT")] + 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")] + 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 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_buffer_sub_data"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alBufferSubDataDirectSOFT")] + 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")] + 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 + ); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_sub_data"])] + [NativeFunction("openal", EntryPoint = "alBufferSubDataSOFT")] + 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")] + void BufferSubDataSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] Constant format, + [NativeTypeName("const ALvoid *")] Ref data, + [NativeTypeName("ALsizei")] int offset, + [NativeTypeName("ALsizei")] int length + ); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alBufferSubSamplesSOFT")] + 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")] + 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackDirectEXT")] + 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")] + void DebugMessageCallbackDirectEXT( + ContextHandle context, + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + Ref userParam + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")] + void DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + void* userParam + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageCallbackEXT")] + void DebugMessageCallbackEXT( + [NativeTypeName("ALDEBUGPROCEXT")] DebugProcEXT callback, + Ref userParam + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + 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")] + 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlDirectEXT")] + 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + 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")] + 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageControlEXT")] + void DebugMessageControlEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALuint *")] uint ids, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + 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")] + 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertDirectEXT")] + 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + 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")] + 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 + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDebugMessageInsertEXT")] + void DebugMessageInsertEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALenum")] Constant type, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALenum")] Constant severity, + [NativeTypeName("const ALchar *")] sbyte message + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesDirectSOFT")] + void DeferUpdatesDirectSOFT(ContextHandle context); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alDeferUpdatesSOFT")] + void DeferUpdatesSOFT(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + void DeleteAuxiliaryEffectSlot([NativeTypeName("const ALuint *")] uint effectslots); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + void DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effectslots + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlots")] + void DeleteAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effectslots + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + 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")] + void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effectslots + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteAuxiliaryEffectSlotsDirect")] + void DeleteAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effectslots + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteBuffers")] + void DeleteBuffer([NativeTypeName("const ALuint *")] uint buffers); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteBuffers")] + 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")] + void DeleteBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")] + void DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteBuffersDirect")] + void DeleteBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + void DeleteEffect([NativeTypeName("const ALuint *")] uint effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + void DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* effects + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffects")] + void DeleteEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effects + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + 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")] + void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref effects + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteEffectsDirect")] + void DeleteEffectsDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint effects + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + void DeleteFilter([NativeTypeName("const ALuint *")] uint filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + void DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* filters + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFilters")] + void DeleteFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref filters + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + 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")] + void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref filters + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteFiltersDirect")] + void DeleteFiltersDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint filters + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSources")] + void DeleteSource([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDeleteSources")] + 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")] + void DeleteSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDeleteSourcesDirect")] + void DeleteSourcesDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDisable")] + void Disable([NativeTypeName("ALenum")] int capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisable")] + void Disable([NativeTypeName("ALenum")] Constant capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + void DisableDirect(ContextHandle context, [NativeTypeName("ALenum")] int capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDisableDirect")] + void DisableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + void DistanceModel([NativeTypeName("ALenum")] int distanceModel); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModel")] + void DistanceModel( + [NativeTypeName("ALenum")] Constant distanceModel + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + void DistanceModelDirect(ContextHandle context, [NativeTypeName("ALenum")] int distanceModel); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alDistanceModelDirect")] + void DistanceModelDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant distanceModel + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerFactor")] + void DopplerFactor([NativeTypeName("ALfloat")] float value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alDopplerFactorDirect")] + void DopplerFactorDirect(ContextHandle context, [NativeTypeName("ALfloat")] float value); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alDopplerVelocity")] + void DopplerVelocity([NativeTypeName("ALfloat")] float value); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectf")] + void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfDirect")] + void EffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectfv")] + 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")] + void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectfvDirect")] + void EffectfvDirect( + 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")] + void EffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffecti")] + void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectiDirect")] + void EffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alEffectiv")] + 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")] + void Effect( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEffectivDirect")] + void EffectivDirect( + 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")] + void EffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alEnable")] + void Enable([NativeTypeName("ALenum")] int capability); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnable")] + void Enable([NativeTypeName("ALenum")] Constant capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + void EnableDirect(ContextHandle context, [NativeTypeName("ALenum")] int capability); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEnableDirect")] + void EnableDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventCallbackDirectSOFT")] + 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")] + void EventCallbackDirectSOFT( + ContextHandle context, + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + Ref userParam + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")] + void EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + void* userParam + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventCallbackSOFT")] + void EventCallbackSOFT( + [NativeTypeName("ALEVENTPROCSOFT")] EventProcSOFT callback, + Ref userParam + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + 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")] + void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] Ref types, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlDirectSOFT")] + void EventControlDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + 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")] + void EventControlSOFT( + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("const ALenum *")] Ref types, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alEventControlSOFT")] + void EventControlSOFT( + [NativeTypeName("const ALenum *")] int types, + [NativeTypeName("ALboolean")] MaybeBool enable + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterf")] + void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfDirect")] + void FilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilterfv")] + 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")] + void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterfvDirect")] + void FilterfvDirect( + 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")] + void FilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteri")] + void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilteriDirect")] + void FilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alFilteriv")] + 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")] + void Filter( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alFilterivDirect")] + void FilterivDirect( + 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")] + void FilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + uint GenAuxiliaryEffectSlot(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + void GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* effectslots + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlots")] + void GenAuxiliaryEffectSlots( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effectslots + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + 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")] + void GenAuxiliaryEffectSlotsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effectslots + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenAuxiliaryEffectSlotsDirect")] + uint GenAuxiliaryEffectSlotsDirect(ContextHandle context); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenBuffers")] + uint GenBuffer(); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenBuffers")] + 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")] + void GenBuffers( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")] + void GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenBuffersDirect")] + void GenBuffersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + uint GenEffect(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + void GenEffects([NativeTypeName("ALsizei")] int n, [NativeTypeName("ALuint *")] uint* effects); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffects")] + void GenEffects( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effects + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + 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")] + void GenEffectsDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref effects + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenEffectsDirect")] + uint GenEffectsDirect(ContextHandle context); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + uint GenFilter(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + void GenFilters([NativeTypeName("ALsizei")] int n, [NativeTypeName("ALuint *")] uint* filters); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFilters")] + void GenFilters( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref filters + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + 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")] + void GenFiltersDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref filters + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenFiltersDirect")] + uint GenFiltersDirect(ContextHandle context); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSources")] + uint GenSource(); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGenSources")] + 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")] + void GenSources( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + void GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + void GenSourcesDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGenSourcesDirect")] + uint GenSourcesDirect(ContextHandle context); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")] + void GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotf")] + void GetAuxiliaryEffectSlotf( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfDirect")] + 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")] + void GetAuxiliaryEffectSlotfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")] + void GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfv")] + void GetAuxiliaryEffectSlotfv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotfvDirect")] + 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")] + void GetAuxiliaryEffectSlotfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")] + void GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSloti")] + void GetAuxiliaryEffectSloti( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiDirect")] + 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")] + void GetAuxiliaryEffectSlotiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")] + void GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotiv")] + void GetAuxiliaryEffectSlotiv( + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetAuxiliaryEffectSlotivDirect")] + 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")] + void GetAuxiliaryEffectSlotivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + MaybeBool GetBoolean([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + MaybeBool GetBooleanDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanDirect")] + sbyte GetBooleanDirectRaw(ContextHandle context, [NativeTypeName("ALenum")] int param1); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBoolean")] + sbyte GetBooleanRaw([NativeTypeName("ALenum")] int param0); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBooleanv")] + 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")] + void GetBoolean( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALboolean *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanv")] + sbyte GetBoolean(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] sbyte* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetBooleanvDirect")] + void GetBooleanvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALboolean *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3f")] + 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")] + void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3fDirect")] + void GetBuffer3FDirect( + 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")] + void GetBuffer3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBuffer3i")] + 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")] + void GetBuffer3( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3iDirect")] + void GetBuffer3IDirect( + 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")] + void GetBuffer3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrDirectSOFT")] + 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")] + void GetBuffer3PtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr0, + [NativeTypeName("ALvoid **")] Ref2D ptr1, + [NativeTypeName("ALvoid **")] Ref2D ptr2 + ); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBuffer3PtrSOFT")] + 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")] + void GetBuffer3PtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr0, + [NativeTypeName("ALvoid **")] Ref2D ptr1, + [NativeTypeName("ALvoid **")] Ref2D ptr2 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferf")] + 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")] + void GetBufferf( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferfDirect")] + 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")] + void GetBufferfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferfv")] + 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")] + void GetBufferfv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferfvDirect")] + 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")] + void GetBufferfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferi")] + 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")] + void GetBufferi( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferiDirect")] + 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")] + void GetBufferiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetBufferiv")] + 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")] + void GetBufferiv( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetBufferivDirect")] + 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")] + void GetBufferivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrDirectSOFT")] + 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")] + void GetBufferPtrDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr + ); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrSOFT")] + 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")] + void GetBufferPtrSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_callback_buffer"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvDirectSOFT")] + 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")] + void GetBufferPtrvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALvoid **")] Ref2D ptr + ); + + [SupportedApiProfile("al", ["AL_SOFT_callback_buffer"])] + [NativeFunction("openal", EntryPoint = "alGetBufferPtrvSOFT")] + 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")] + void GetBufferPtrvSOFT( + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALvoid **")] Ref2D ptr + ); + + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alGetBufferSamplesSOFT")] + 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")] + 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")] + 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")] + 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")] + 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogDirectEXT")] + 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + 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")] + 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + 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 + ); + + [return: NativeTypeName("ALuint")] + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDebugMessageLogEXT")] + 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 + ); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDouble")] + double GetDouble([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALdouble")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoubleDirect")] + double GetDoubleDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetDoublev")] + 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")] + void GetDouble( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDoublev")] + double GetDouble(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetDoublevDirect")] + void GetDoublevDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectf")] + void GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectf")] + void GetEffectf( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectfDirect")] + 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")] + void GetEffectfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectfv")] + void GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectfv")] + void GetEffectfv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectfvDirect")] + 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")] + void GetEffectfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffecti")] + void GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffecti")] + void GetEffecti( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectiDirect")] + 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")] + void GetEffectiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetEffectiv")] + void GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEffectiv")] + void GetEffectiv( + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetEffectivDirect")] + 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")] + void GetEffectivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effect, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetEnumValue")] + 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")] + int GetEnumValue([NativeTypeName("const ALchar *")] Ref ename); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")] + int GetEnumValueDirect(ContextHandle context, [NativeTypeName("const ALchar *")] sbyte* ename); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetEnumValueDirect")] + int GetEnumValueDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref ename + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetError")] + Constant GetError(); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + Constant GetErrorDirect(ContextHandle context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetErrorDirect")] + int GetErrorDirectRaw(ContextHandle context); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetError")] + int GetErrorRaw(); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterf")] + void GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* flValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterf")] + void GetFilterf( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref flValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterfDirect")] + 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")] + void GetFilterfDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilterfv")] + void GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilterfv")] + void GetFilterfv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterfvDirect")] + 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")] + void GetFilterfvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref pflValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteri")] + void GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* iValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilteri")] + void GetFilteri( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref iValue + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilteriDirect")] + 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")] + void GetFilteriDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValue + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alGetFilteriv")] + void GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* piValues + ); + + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFilteriv")] + void GetFilteriv( + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref piValues + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetFilterivDirect")] + 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")] + void GetFilterivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint filter, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref piValues + ); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloat")] + float GetFloat([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALfloat")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatDirect")] + float GetFloatDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetFloatv")] + 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")] + void GetFloat( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFloatv")] + float GetFloat(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetFloatvDirect")] + void GetFloatvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetInteger")] + int GetInteger([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALint")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegerDirect")] + int GetIntegerDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetIntegerv")] + 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")] + void GetInteger( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetIntegerv")] + int GetInteger(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetIntegervDirect")] + void GetIntegervDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3f")] + 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")] + void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3fDirect")] + void GetListener3FDirect( + 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")] + void GetListener3FDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListener3i")] + 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")] + void GetListener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListener3iDirect")] + void GetListener3IDirect( + 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")] + void GetListener3IDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerf")] + 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")] + void GetListenerf( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerf")] + float GetListenerf(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")] + void GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerfDirect")] + void GetListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListenerfv")] + 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")] + void GetListenerfv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerfv")] + float GetListenerfv(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")] + void GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerfvDirect")] + void GetListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneri")] + 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")] + void GetListeneri( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListeneri")] + int GetListeneri(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")] + void GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListeneriDirect")] + void GetListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetListeneriv")] + 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")] + void GetListeneriv( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListeneriv")] + int GetListeneriv(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")] + void GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetListenerivDirect")] + void GetListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + 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")] + void GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] Ref length, + [NativeTypeName("ALchar *")] Ref label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelDirectEXT")] + sbyte GetObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei *")] Ref length + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + 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")] + void GetObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int bufSize, + [NativeTypeName("ALsizei *")] Ref length, + [NativeTypeName("ALchar *")] Ref label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetObjectLabelEXT")] + sbyte GetObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei *")] Ref length + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")] + void* GetPointerDirectEXT(ContextHandle context, [NativeTypeName("ALenum")] int pname); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectEXT")] + Ptr GetPointerDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")] + void* GetPointerDirectSOFT(ContextHandle context, [NativeTypeName("ALenum")] int pname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerDirectSOFT")] + Ptr GetPointerDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + void* GetPointerEXT([NativeTypeName("ALenum")] int pname); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerEXT")] + Ptr GetPointerEXT([NativeTypeName("ALenum")] Constant pname); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + void* GetPointerSOFT([NativeTypeName("ALenum")] int pname); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointerSOFT")] + Ptr GetPointerSOFT([NativeTypeName("ALenum")] Constant pname); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")] + void GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectEXT")] + void GetPointervDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")] + void GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + void** values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_SOFT_events"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervDirectSOFT")] + void GetPointervDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + void GetPointerEXT([NativeTypeName("ALenum")] int pname, void** values); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervEXT")] + void GetPointerEXT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + void GetPointerSOFT([NativeTypeName("ALenum")] int pname, void** values); + + [SupportedApiProfile("al", ["AL_SOFT_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetPointervSOFT")] + void GetPointerSOFT( + [NativeTypeName("ALenum")] Constant pname, + Ref2D values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + void* GetProcAddress([NativeTypeName("const ALchar *")] sbyte* fname); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddress")] + Ptr GetProcAddress([NativeTypeName("const ALchar *")] Ref fname); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + void* GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* fname + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetProcAddressDirect")] + Ptr GetProcAddressDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref fname + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dDirectSOFT")] + void GetSource3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value1, + [NativeTypeName("ALdouble *")] double* value2, + [NativeTypeName("ALdouble *")] double* value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3dSOFT")] + void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value1, + [NativeTypeName("ALdouble *")] Ref value2, + [NativeTypeName("ALdouble *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3f")] + void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3f")] + void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3fDirect")] + void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3fDirect")] + void GetSource3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value1, + [NativeTypeName("ALfloat *")] Ref value2, + [NativeTypeName("ALfloat *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSource3i")] + void GetSource3( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3i")] + void GetSource3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64DirectSOFT")] + void GetSource3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value1, + [NativeTypeName("ALint64SOFT *")] long* value2, + [NativeTypeName("ALint64SOFT *")] long* value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSource3i64SOFT")] + void GetSource3SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value1, + [NativeTypeName("ALint64SOFT *")] Ref value2, + [NativeTypeName("ALint64SOFT *")] Ref value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSource3iDirect")] + void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSource3iDirect")] + void GetSource3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value1, + [NativeTypeName("ALint *")] Ref value2, + [NativeTypeName("ALint *")] Ref value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedDirectSOFT")] + void GetSourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedSOFT")] + void GetSourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] double* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvDirectSOFT")] + void GetSourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] double* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcedvSOFT")] + void GetSourcedvSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcef")] + void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcef")] + void GetSourcef( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefDirect")] + void GetSourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcefv")] + void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcefv")] + void GetSourcefv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcefvDirect")] + void GetSourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourcei")] + void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourcei")] + void GetSourcei( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64DirectSOFT")] + void GetSourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64SOFT")] + void GetSourcei64SOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] long* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vDirectSOFT")] + void GetSourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourcei64vSOFT")] + void GetSourcei64VSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceiDirect")] + void GetSourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetSourceiv")] + void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [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 = "alGetSourceiv")] + void GetSourceiv( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetSourceivDirect")] + void GetSourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint *")] Ref values + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetString")] + Ptr GetString([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + Ptr GetStringDirect(ContextHandle context, [NativeTypeName("ALenum")] int param1); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alGetStringDirect")] + sbyte* GetStringDirectRaw(ContextHandle context, [NativeTypeName("ALenum")] int param1); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + sbyte* GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_resampler"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiDirectSOFT")] + Ptr GetStringiDirectSOFT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + sbyte* GetStringSOFT( + [NativeTypeName("ALenum")] int pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_SOFT_source_resampler"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alGetStringiSOFT")] + Ptr GetStringSOFT( + [NativeTypeName("ALenum")] Constant pname, + [NativeTypeName("ALsizei")] int index + ); + + [return: NativeTypeName("const ALchar *")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alGetString")] + sbyte* GetStringRaw([NativeTypeName("ALenum")] int param0); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + MaybeBool IsAuxiliaryEffectSlot([NativeTypeName("ALuint")] uint effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + MaybeBool IsAuxiliaryEffectSlotDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlotDirect")] + sbyte IsAuxiliaryEffectSlotDirectRaw( + ContextHandle context, + [NativeTypeName("ALuint")] uint effectslot + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsAuxiliaryEffectSlot")] + sbyte IsAuxiliaryEffectSlotRaw([NativeTypeName("ALuint")] uint effectslot); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + MaybeBool IsBuffer([NativeTypeName("ALuint")] uint buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + MaybeBool IsBufferDirect(ContextHandle context, [NativeTypeName("ALuint")] uint buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsBufferDirect")] + sbyte IsBufferDirectRaw(ContextHandle context, [NativeTypeName("ALuint")] uint buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + MaybeBool IsBufferFormatSupporteSOFT([NativeTypeName("ALenum")] int format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_SOFT_buffer_samples"])] + [NativeFunction("openal", EntryPoint = "alIsBufferFormatSupportedSOFT")] + sbyte IsBufferFormatSupportedSOFTRaw([NativeTypeName("ALenum")] int format); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsBuffer")] + sbyte IsBufferRaw([NativeTypeName("ALuint")] uint buffer); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + MaybeBool IsEffect([NativeTypeName("ALuint")] uint effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + MaybeBool IsEffectDirect(ContextHandle context, [NativeTypeName("ALuint")] uint effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsEffectDirect")] + sbyte IsEffectDirectRaw(ContextHandle context, [NativeTypeName("ALuint")] uint effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsEffect")] + sbyte IsEffectRaw([NativeTypeName("ALuint")] uint effect); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + sbyte IsEnabled([NativeTypeName("ALenum")] int capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabled")] + MaybeBool IsEnabled( + [NativeTypeName("ALenum")] Constant capability + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + sbyte IsEnabledDirect(ContextHandle context, [NativeTypeName("ALenum")] int capability); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsEnabledDirect")] + MaybeBool IsEnabledDirect( + ContextHandle context, + [NativeTypeName("ALenum")] Constant capability + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + sbyte IsExtensionPresent([NativeTypeName("const ALchar *")] sbyte* extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresent")] + MaybeBool IsExtensionPresent([NativeTypeName("const ALchar *")] Ref extname); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + sbyte IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] sbyte* extname + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsExtensionPresentDirect")] + MaybeBool IsExtensionPresentDirect( + ContextHandle context, + [NativeTypeName("const ALchar *")] Ref extname + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + MaybeBool IsFilter([NativeTypeName("ALuint")] uint filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + MaybeBool IsFilterDirect(ContextHandle context, [NativeTypeName("ALuint")] uint filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context", "ALC_EXT_EFX"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alIsFilterDirect")] + sbyte IsFilterDirectRaw(ContextHandle context, [NativeTypeName("ALuint")] uint filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["ALC_EXT_EFX"])] + [NativeFunction("openal", EntryPoint = "alIsFilter")] + sbyte IsFilterRaw([NativeTypeName("ALuint")] uint filter); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSource")] + MaybeBool IsSource([NativeTypeName("ALuint")] uint source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + MaybeBool IsSourceDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alIsSourceDirect")] + sbyte IsSourceDirectRaw(ContextHandle context, [NativeTypeName("ALuint")] uint source); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alIsSource")] + sbyte IsSourceRaw([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListener3f")] + void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3fDirect")] + void Listener3FDirect( + ContextHandle context, + [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")] + [NativeFunction("openal", EntryPoint = "alListener3i")] + void Listener3( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListener3iDirect")] + void Listener3IDirect( + ContextHandle context, + [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")] + [NativeFunction("openal", EntryPoint = "alListenerf")] + void Listener([NativeTypeName("ALenum")] int param0, [NativeTypeName("ALfloat")] float value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfDirect")] + void ListenerfDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfv")] + void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerfvDirect")] + void ListenerfvDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneri")] + void Listener([NativeTypeName("ALenum")] int param0, [NativeTypeName("ALint")] int value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListeneriDirect")] + void ListeneriDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListeneriv")] + void Listener( + [NativeTypeName("ALenum")] int param0, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alListenerivDirect")] + void ListenerivDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelDirectEXT")] + void ObjectLabelDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + void ObjectLabelEXT( + [NativeTypeName("ALenum")] int identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alObjectLabelEXT")] + void ObjectLabelEXT( + [NativeTypeName("ALenum")] Constant identifier, + [NativeTypeName("ALuint")] uint name, + [NativeTypeName("const ALchar *")] sbyte label + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupDirectEXT")] + void PopDebugGroupDirectEXT(ContextHandle context); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPopDebugGroupEXT")] + void PopDebugGroupEXT(); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_deferred_updates"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesDirectSOFT")] + void ProcessUpdatesDirectSOFT(ContextHandle context); + + [SupportedApiProfile("al", ["AL_SOFT_deferred_updates"])] + [NativeFunction("openal", EntryPoint = "alProcessUpdatesSOFT")] + void ProcessUpdatesSOFT(); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug", "AL_EXT_direct_context"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupDirectEXT")] + void PushDebugGroupDirectEXT( + ContextHandle context, + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + void PushDebugGroupEXT( + [NativeTypeName("ALenum")] int source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] sbyte* message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("const ALchar *")] Ref message + ); + + [SupportedApiProfile("al", ["AL_EXT_debug"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alPushDebugGroupEXT")] + void PushDebugGroupEXT( + [NativeTypeName("ALenum")] Constant source, + [NativeTypeName("ALuint")] uint id, + [NativeTypeName("const ALchar *")] sbyte message + ); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStart")] + void RequestFoldbackStart( + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] float* mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [Transformed] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStartDirect")] + void RequestFoldbackStartDirect( + ContextHandle context, + [NativeTypeName("ALenum")] int mode, + [NativeTypeName("ALsizei")] int count, + [NativeTypeName("ALsizei")] int length, + [NativeTypeName("ALfloat *")] Ref mem, + [NativeTypeName("LPALFOLDBACKCALLBACK")] FoldbackCallback callback + ); + + [SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStop")] + void RequestFoldbackStop(); + + [SupportedApiProfile("al", ["AL_EXT_direct_context", "AL_EXT_FOLDBACK"], RequireAll = true)] + [NativeFunction("openal", EntryPoint = "alRequestFoldbackStopDirect")] + void RequestFoldbackStopDirect(ContextHandle context); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3dDirectSOFT")] + void Source3DDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3dSOFT")] + void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value1, + [NativeTypeName("ALdouble")] double value2, + [NativeTypeName("ALdouble")] double value3 + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSource3f")] + void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value1, + [NativeTypeName("ALfloat")] float value2, + [NativeTypeName("ALfloat")] float value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3fDirect")] + void Source3FDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [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")] + [NativeFunction("openal", EntryPoint = "alSource3i")] + void Source3( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSource3i64DirectSOFT")] + void Source3I64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSource3i64SOFT")] + void Source3Soft( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value1, + [NativeTypeName("ALint64SOFT")] long value2, + [NativeTypeName("ALint64SOFT")] long value3 + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSource3iDirect")] + void Source3IDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value1, + [NativeTypeName("ALint")] int value2, + [NativeTypeName("ALint")] int value3 + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedDirectSOFT")] + void SourcedDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALdouble")] double value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedSOFT")] + void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALdouble")] double value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] double* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvDirectSOFT")] + void SourcedvDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] double* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcedvSOFT")] + void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALdouble *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcef")] + void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefDirect")] + void SourcefDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALfloat")] float value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcefv")] + void Source( + [NativeTypeName("ALuint")] uint source, + [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 = "alSourcefv")] + void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] float* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcefvDirect")] + void SourcefvDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALfloat *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcei")] + void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64DirectSOFT")] + void Sourcei64DirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint64SOFT")] long value + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64SOFT")] + void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("ALint64SOFT")] long value + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] long* values + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_latency"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vDirectSOFT")] + void Sourcei64VDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_latency"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcei64vSOFT")] + void SourceSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceiDirect")] + void SourceiDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("ALint")] int value + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceiv")] + void Source( + [NativeTypeName("ALuint")] uint source, + [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 = "alSourceiv")] + void Source( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param1, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] int* values + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceivDirect")] + void SourceivDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALenum")] int param2, + [NativeTypeName("const ALint *")] Ref values + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePause")] + void SourcePause([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePauseDirect")] + void SourcePauseDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + void SourcePausev( + [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 = "alSourcePausev")] + void SourcePausev( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausev")] + void SourcePausev([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + void SourcePausevDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePausevDirect")] + void SourcePausevDirect(ContextHandle context, [NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlay")] + void SourcePlay([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeDirectSOFT")] + void SourcePlayAtTimeDirectSOFT( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimeSOFT")] + void SourcePlayAtTimeSOFT( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile( + "al", + ["AL_EXT_direct_context", "AL_SOFT_source_start_delay"], + RequireAll = true + )] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevDirectSOFT")] + void SourcePlayAtTimevDirectSOFT( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + void SourcePlayAtTimevSOFT( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_SOFT_source_start_delay"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayAtTimevSOFT")] + void SourcePlayAtTimevSOFT( + [NativeTypeName("const ALuint *")] uint sources, + [NativeTypeName("ALint64SOFT")] long start_time + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayDirect")] + void SourcePlayDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + void SourcePlayv( + [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 = "alSourcePlayv")] + void SourcePlayv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayv")] + void SourcePlayv([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + void SourcePlayvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourcePlayvDirect")] + void SourcePlayvDirect(ContextHandle context, [NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffers")] + void SourceQueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceQueueBuffersDirect")] + void SourceQueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("const ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewind")] + void SourceRewin([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindDirect")] + void SourceRewindDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + void SourceRewindv( + [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 = "alSourceRewindv")] + void SourceRewindv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindv")] + void SourceRewindv([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceRewindvDirect")] + void SourceRewindvDirect( + ContextHandle context, + [NativeTypeName("const ALuint *")] uint sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStop")] + void SourceStop([NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopDirect")] + void SourceStopDirect(ContextHandle context, [NativeTypeName("ALuint")] uint source); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + void SourceStopv( + [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 = "alSourceStopv")] + void SourceStopv( + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopv")] + void SourceStopv([NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + void SourceStopvDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref sources + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceStopvDirect")] + void SourceStopvDirect(ContextHandle context, [NativeTypeName("const ALuint *")] uint sources); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_0", "AL_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffers")] + void SourceUnqueueBuffers( + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] uint* buffers + ); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alSourceUnqueueBuffersDirect")] + void SourceUnqueueBuffersDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint source, + [NativeTypeName("ALsizei")] int nb, + [NativeTypeName("ALuint *")] Ref buffers + ); + + [SupportedApiProfile("al", ["AL_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alSpeedOfSound")] + void SpeedOfSound([NativeTypeName("ALfloat")] float value); + + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alSpeedOfSoundDirect")] + void SpeedOfSoundDirect(ContextHandle context, [NativeTypeName("ALfloat")] float value); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] int* pReserved + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetBufferModeDirect")] + int EAXGetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALuint")] uint buffer, + [NativeTypeName("ALint *")] Ref pReserved + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXGetDirect")] + int EAXGetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + sbyte EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] uint* buffers, + [NativeTypeName("ALint")] int value + ); + + [return: NativeTypeName("ALboolean")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetBufferModeDirect")] + MaybeBool EAXSetBufferModeDirect( + ContextHandle context, + [NativeTypeName("ALsizei")] int n, + [NativeTypeName("const ALuint *")] Ref buffers, + [NativeTypeName("ALint")] int value + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] System.Guid* property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] void* value, + [NativeTypeName("ALuint")] uint value_size + ); + + [return: NativeTypeName("ALenum")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "EAXSetDirect")] + int EAXSetDirect( + ContextHandle context, + [NativeTypeName("const struct _GUID *")] Ref property_set_id, + [NativeTypeName("ALuint")] uint property_id, + [NativeTypeName("ALuint")] uint source_id, + [NativeTypeName("ALvoid *")] Ref value, + [NativeTypeName("ALuint")] uint value_size + ); +} diff --git a/sources/OpenAL/OpenAL/al/IALContext.gen.cs b/sources/OpenAL/OpenAL/al/IALContext.gen.cs new file mode 100644 index 0000000000..a475690f1c --- /dev/null +++ b/sources/OpenAL/OpenAL/al/IALContext.gen.cs @@ -0,0 +1,838 @@ +// 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 interface IALContext +{ + public partial interface Static + { + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureCloseDevice")] + static abstract sbyte CaptureCloseDevice(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + static abstract DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] int format, + [NativeTypeName("ALCsizei")] int buffersize + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + static abstract DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] Constant format, + [NativeTypeName("ALCsizei")] int buffersize + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + static abstract void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + static abstract void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStart")] + static abstract void CaptureStart(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStop")] + static abstract void CaptureStop(DeviceHandle device); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCloseDevice")] + static abstract sbyte CloseDevice(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + static abstract ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attrlist + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + static abstract ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attrlist + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcDestroyContext")] + static abstract void DestroyContext(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDevicePauseSOFT")] + static abstract void DevicePauseSOFT(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDeviceResumeSOFT")] + static abstract void DeviceResumeSOFT(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + static abstract void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + void* userParam + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + static abstract void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + Ref userParam + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + static abstract sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] int* events, + [NativeTypeName("ALCboolean")] sbyte enable + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + static abstract sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] Ref events, + [NativeTypeName("ALCboolean")] sbyte enable + ); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + static abstract int EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] int eventType, + [NativeTypeName("ALCenum")] int deviceType + ); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + static abstract Constant EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] Constant eventType, + [NativeTypeName("ALCenum")] Constant deviceType + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetContextsDevice")] + static abstract DeviceHandle GetContextsDevice(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetCurrentContext")] + static abstract ContextHandle GetCurrentContext(); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + static abstract int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* enumname + ); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + static abstract int GetEnumValue( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref enumname + ); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetError")] + static abstract Constant GetError(DeviceHandle device); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetError")] + static abstract int GetErrorRaw(DeviceHandle device); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + static abstract void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + static abstract void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + static abstract long GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + static abstract void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] int* values + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + static abstract void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] Ref values + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + static abstract int GetInteger(DeviceHandle device, [NativeTypeName("ALCenum")] int param1); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + static abstract void* GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcname + ); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + static abstract Ptr GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcname + ); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + static abstract void* GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* funcName + ); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + static abstract Ptr GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcName + ); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetString")] + static abstract Ptr GetString( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1 + ); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + static abstract sbyte* GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int paramName, + [NativeTypeName("ALCsizei")] int index + ); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + static abstract Ptr GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] Constant paramName, + [NativeTypeName("ALCsizei")] int index + ); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetString")] + static abstract sbyte* GetStringRaw( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1 + ); + + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcGetThreadContext")] + static abstract ContextHandle GetThreadContext(); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + static abstract sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* extname + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + static abstract sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref extname + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + static abstract sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] int channels, + [NativeTypeName("ALCenum")] int type + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + static abstract sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] Constant channels, + [NativeTypeName("ALCenum")] Constant type + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + static abstract DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] sbyte* deviceName + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + static abstract DeviceHandle LoopbackOpenDeviceSOFT( + [NativeTypeName("const ALCchar *")] Ref deviceName + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcMakeContextCurrent")] + static abstract sbyte MakeContextCurrent(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + static abstract DeviceHandle OpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + static abstract DeviceHandle OpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcProcessContext")] + static abstract void ProcessContext(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + static abstract void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + static abstract void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + static abstract sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* deviceName, + [NativeTypeName("const ALCint *")] int* attribs + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + static abstract sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref deviceName, + [NativeTypeName("const ALCint *")] Ref attribs + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + static abstract sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attribs + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + static abstract sbyte ResetDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attribs + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcSetThreadContext")] + static abstract sbyte SetThreadContext(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcSuspendContext")] + static abstract void SuspendContext(ContextHandle context); + } + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureCloseDevice")] + sbyte CaptureCloseDevice(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] sbyte* devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] int format, + [NativeTypeName("ALCsizei")] int buffersize + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureOpenDevice")] + DeviceHandle CaptureOpenDevice( + [NativeTypeName("const ALCchar *")] Ref devicename, + [NativeTypeName("ALCuint")] uint frequency, + [NativeTypeName("ALCenum")] Constant format, + [NativeTypeName("ALCsizei")] int buffersize + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCaptureSamples")] + void CaptureSamples( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStart")] + void CaptureStart(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")] + [NativeFunction("openal", EntryPoint = "alcCaptureStop")] + void CaptureStop(DeviceHandle device); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCloseDevice")] + sbyte CloseDevice(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] int* attrlist + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcCreateContext")] + ContextHandle CreateContext( + DeviceHandle device, + [NativeTypeName("const ALCint *")] Ref attrlist + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcDestroyContext")] + void DestroyContext(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDevicePauseSOFT")] + void DevicePauseSOFT(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_SOFT_pause_device"])] + [NativeFunction("openal", EntryPoint = "alcDeviceResumeSOFT")] + void DeviceResumeSOFT(DeviceHandle device); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + void* userParam + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventCallbackSOFT")] + void EventCallbackSOFT( + [NativeTypeName("ALCEVENTPROCTYPESOFT")] ContextEventProcSOFT callback, + Ref userParam + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] int* events, + [NativeTypeName("ALCboolean")] sbyte enable + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventControlSOFT")] + sbyte EventControlSOFT( + [NativeTypeName("ALCsizei")] int count, + [NativeTypeName("const ALCenum *")] Ref events, + [NativeTypeName("ALCboolean")] sbyte enable + ); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + int EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] int eventType, + [NativeTypeName("ALCenum")] int deviceType + ); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_SOFT_system_events"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcEventIsSupportedSOFT")] + Constant EventIsSupporteSOFT( + [NativeTypeName("ALCenum")] Constant eventType, + [NativeTypeName("ALCenum")] Constant deviceType + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetContextsDevice")] + DeviceHandle GetContextsDevice(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetCurrentContext")] + ContextHandle GetCurrentContext(); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + int GetEnumValue(DeviceHandle device, [NativeTypeName("const ALCchar *")] sbyte* enumname); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetEnumValue")] + int GetEnumValue(DeviceHandle device, [NativeTypeName("const ALCchar *")] Ref enumname); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetError")] + Constant GetError(DeviceHandle device); + + [return: NativeTypeName("ALCenum")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetError")] + int GetErrorRaw(DeviceHandle device); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] long* values + ); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + void GetInteger64SOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int pname, + [NativeTypeName("ALsizei")] int size, + [NativeTypeName("ALCint64SOFT *")] Ref values + ); + + [SupportedApiProfile("al", ["ALC_SOFT_device_clock"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetInteger64vSOFT")] + long GetInteger64SOFT(DeviceHandle device, [NativeTypeName("ALCenum")] int pname); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] int* values + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + void GetInteger( + DeviceHandle device, + [NativeTypeName("ALCenum")] int param1, + [NativeTypeName("ALCsizei")] int size, + [NativeTypeName("ALCint *")] Ref values + ); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetIntegerv")] + int GetInteger(DeviceHandle device, [NativeTypeName("ALCenum")] int param1); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + void* GetProcAddress(DeviceHandle device, [NativeTypeName("const ALCchar *")] sbyte* funcname); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress")] + Ptr GetProcAddress( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcname + ); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + void* GetProcAddress2(DeviceHandle device, [NativeTypeName("const ALCchar *")] sbyte* funcName); + + [return: NativeTypeName("ALCvoid *")] + [SupportedApiProfile("al", ["AL_EXT_direct_context"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetProcAddress2")] + Ptr GetProcAddress2( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref funcName + ); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetString")] + Ptr GetString(DeviceHandle device, [NativeTypeName("ALCenum")] int param1); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + sbyte* GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] int paramName, + [NativeTypeName("ALCsizei")] int index + ); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcGetStringiSOFT")] + Ptr GetStringSOFT( + DeviceHandle device, + [NativeTypeName("ALCenum")] Constant paramName, + [NativeTypeName("ALCsizei")] int index + ); + + [return: NativeTypeName("const ALCchar *")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcGetString")] + sbyte* GetStringRaw(DeviceHandle device, [NativeTypeName("ALCenum")] int param1); + + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcGetThreadContext")] + ContextHandle GetThreadContext(); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* extname + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsExtensionPresent")] + sbyte IsExtensionPresent( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref extname + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] int channels, + [NativeTypeName("ALCenum")] int type + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcIsRenderFormatSupportedSOFT")] + sbyte IsRenderFormatSupporteSOFT( + DeviceHandle device, + [NativeTypeName("ALCsizei")] int freq, + [NativeTypeName("ALCenum")] Constant channels, + [NativeTypeName("ALCenum")] Constant type + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + DeviceHandle LoopbackOpenDeviceSOFT([NativeTypeName("const ALCchar *")] sbyte* deviceName); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcLoopbackOpenDeviceSOFT")] + DeviceHandle LoopbackOpenDeviceSOFT([NativeTypeName("const ALCchar *")] Ref deviceName); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcMakeContextCurrent")] + sbyte MakeContextCurrent(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + DeviceHandle OpenDevice([NativeTypeName("const ALCchar *")] sbyte* devicename); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcOpenDevice")] + DeviceHandle OpenDevice([NativeTypeName("const ALCchar *")] Ref devicename); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcProcessContext")] + void ProcessContext(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] void* buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [SupportedApiProfile("alc", ["ALC_SOFT_loopback"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcRenderSamplesSOFT")] + void RenderSamplesSOFT( + DeviceHandle device, + [NativeTypeName("ALCvoid *")] Ref buffer, + [NativeTypeName("ALCsizei")] int samples + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] sbyte* deviceName, + [NativeTypeName("const ALCint *")] int* attribs + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_reopen_device"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcReopenDeviceSOFT")] + sbyte ReopenDeviceSOFT( + DeviceHandle device, + [NativeTypeName("const ALCchar *")] Ref deviceName, + [NativeTypeName("const ALCint *")] Ref attribs + ); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + sbyte ResetDeviceSOFT(DeviceHandle device, [NativeTypeName("const ALCint *")] int* attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_SOFT_HRTF"])] + [Transformed] + [NativeFunction("openal", EntryPoint = "alcResetDeviceSOFT")] + sbyte ResetDeviceSOFT(DeviceHandle device, [NativeTypeName("const ALCint *")] Ref attribs); + + [return: NativeTypeName("ALCboolean")] + [SupportedApiProfile("alc", ["ALC_EXT_thread_local_context"])] + [NativeFunction("openal", EntryPoint = "alcSetThreadContext")] + sbyte SetThreadContext(ContextHandle context); + + [SupportedApiProfile("alc", ["ALC_VERSION_1_0", "ALC_VERSION_1_1"], MinVersion = "1.0")] + [NativeFunction("openal", EntryPoint = "alcSuspendContext")] + void SuspendContext(ContextHandle context); +} diff --git a/sources/SilkTouch/SilkTouch/Mods/AddApiProfiles.cs b/sources/SilkTouch/SilkTouch/Mods/AddApiProfiles.cs index dcb5f1e16b..d99b174d92 100644 --- a/sources/SilkTouch/SilkTouch/Mods/AddApiProfiles.cs +++ b/sources/SilkTouch/SilkTouch/Mods/AddApiProfiles.cs @@ -39,6 +39,13 @@ public record Configuration /// The API profile declarations. /// public ApiProfileDecl[]? Profiles { get; init; } + + /// + /// Whether to also search for s for files that do not match any + /// profiles in but that might match against an . + /// Defaults to true if is null or empty. + /// + public bool? SearchAllFiles { get; init; } } /// @@ -63,19 +70,24 @@ class Rewriter( private string? _currentParentSymbol; - private AttributeSyntax GetProfileAttribute(string? childSymbol) - { - Debug.Assert(Profile is not null); - return versionProviders - .GetMetadata( - jobKey, - _currentParentSymbol, - childSymbol, - x => x.Profile == Profile.Profile, - Profile - ) - .GetSupportedApiProfileAttribute(); - } + private IEnumerable GetProfileAttributes(string? childSymbol) => + Profile is null + ? versionProviders + .GetAllMetadata(jobKey, _currentParentSymbol, childSymbol) + .Select(x => x?.GetSupportedApiProfileAttribute()) + .OfType() + : + [ + versionProviders + .GetMetadata( + jobKey, + _currentParentSymbol, + childSymbol, + x => x.Profile == Profile.Profile, + Profile + ) + .GetSupportedApiProfileAttribute(), + ]; public override SyntaxNode? VisitDelegateDeclaration(DelegateDeclarationSyntax node) => Visit(node, node.Identifier.ToString(), base.VisitDelegateDeclaration); @@ -176,15 +188,9 @@ out var parentSymbolBefore ); var retNode = @base(node); _currentParentSymbol = parentSymbolBefore; - if (Profile is null) - { - return retNode; - } - - return retNode is T ret - ? ret.AddAttributeLists( - AttributeList(SingletonSeparatedList(GetProfileAttribute(null))) - ) + var attrs = SeparatedList(GetProfileAttributes(null)); + return retNode is T ret && attrs.Any() + ? ret.AddAttributeLists(AttributeList(attrs)) : retNode; } @@ -194,17 +200,11 @@ out var parentSymbolBefore // First, call the base visitor logic. var retNode = @base(node); - // If we have no profile to get information pertaining to the current profile (why are we even here?) - if (Profile is null || retNode is not T ret) - { - // early out, we can't do anything - return retNode; - } - // Add the attribute if this is the node we are visiting. - return ret.AddAttributeLists( - AttributeList(SingletonSeparatedList(GetProfileAttribute(name))) - ); + var attrs = SeparatedList(GetProfileAttributes(name)); + return retNode is T ret && attrs.Any() + ? ret.AddAttributeLists(AttributeList(attrs)) + : retNode; } } @@ -245,12 +245,26 @@ public override async Task ExecuteAsync(IModContext ctx, CancellationToken ct = path.StartsWith(x.SourceSubdirectory, StringComparison.OrdinalIgnoreCase) ) .MaxBy(x => x.SourceSubdirectory.Length); - if (rewriter.Profile is null) + if ( + rewriter.Profile is null + && !( + cfg.SearchAllFiles.GetValueOrDefault() + || (cfg.SearchAllFiles is null && cfg.Profiles is null or { Length: 0 }) + ) + ) { continue; } - logger.LogDebug("Identified profile {} for {}", rewriter.Profile, path); + if (rewriter.Profile is not null) + { + logger.LogDebug("Identified profile {} for {}", rewriter.Profile, path); + } + else + { + logger.LogDebug("No profile identified for {}", path); + } + ctx.SourceProject = doc.WithSyntaxRoot( rewriter.Visit(root).NormalizeWhitespace() ).Project; diff --git a/sources/SilkTouch/SilkTouch/Mods/AddVTables.cs b/sources/SilkTouch/SilkTouch/Mods/AddVTables.cs index c08e685dc8..737f3d9979 100644 --- a/sources/SilkTouch/SilkTouch/Mods/AddVTables.cs +++ b/sources/SilkTouch/SilkTouch/Mods/AddVTables.cs @@ -155,6 +155,13 @@ public override ClassDeclarationSyntax AddMethod(in VTableContext ctx) => .WithModifiers( TokenList(Token(SyntaxKind.PublicKeyword), Token(SyntaxKind.PartialKeyword)) ) + .WithBaseList( + BaseList( + SingletonSeparatedList( + SimpleBaseType(IdentifierName($"I{ctx.ClassName}.Static")) + ) + ) + ) .WithMembers( SingletonList( ConstructorDeclaration(Name) @@ -490,6 +497,7 @@ public override ClassDeclarationSyntax AddMethod(in VTableContext ctx) => class Rewriter(VTable[] vTables) : ModCSharpSyntaxRewriter { private InterfaceDeclarationSyntax? _currentInterface; + private ClassDeclarationSyntax? _currentClass; private VTable[] _vTables = vTables; private ClassDeclarationSyntax?[] _currentVTableOutputs = new ClassDeclarationSyntax?[ @@ -576,16 +584,18 @@ public Dictionary< return ret; } + private static string InterfaceKey(ClassDeclarationSyntax klass) => $"I{klass.Identifier}"; + public override SyntaxNode? VisitClassDeclaration(ClassDeclarationSyntax node) { - if (_currentInterface is not null) + if (_currentClass is not null) { return node; } // Get the interface containing the methods var ns = node.NamespaceFromSyntaxNode(); - var key = $"I{node.Identifier}"; + var key = InterfaceKey(node); var className = node.Identifier.ToString(); _fullClassName = $"{ns}.{node.Identifier}"; if (!_multiClass && _className is null) @@ -623,10 +633,18 @@ public Dictionary< FullClassNames[className] = _fullClassName; } - _currentInterface = NewInterface(key, node); + _currentClass = node; // Visit the class - this should record the methods. var ret = (ClassDeclarationSyntax)base.VisitClassDeclaration(node)!; + + _currentClass = null; + if (_currentInterface is null) // <-- there were no eligible methods. + { + // We shouldn't need to reset in this case. + return ret; + } + ret = ret.WithMembers( List( // _currentVTableOutputs contains the partials for the vtable implementations within this @@ -662,45 +680,45 @@ or SyntaxKind.InternalKeyword ); // Reset for the next partial. - _currentVTableOutputs.AsSpan().Clear(); InterfacePartials.Add((ns, _currentInterface)); _currentInterface = null; + _currentVTableOutputs.AsSpan().Clear(); return ret; + } - static InterfaceDeclarationSyntax NewInterface( - string key, - MemberDeclarationSyntax node - ) => - InterfaceDeclaration(key) - .WithModifiers( - TokenList( - node.Modifiers.Where(x => - x.Kind() - is SyntaxKind.PublicKeyword - or SyntaxKind.PrivateKeyword - or SyntaxKind.InternalKeyword - or SyntaxKind.ProtectedKeyword - or SyntaxKind.UnsafeKeyword - ) - .Concat(Enumerable.Repeat(Token(SyntaxKind.PartialKeyword), 1)) - ) + private static InterfaceDeclarationSyntax NewInterface( + string key, + MemberDeclarationSyntax node + ) => + InterfaceDeclaration(key) + .WithModifiers( + TokenList( + node.Modifiers.Where(x => + x.Kind() + is SyntaxKind.PublicKeyword + or SyntaxKind.PrivateKeyword + or SyntaxKind.InternalKeyword + or SyntaxKind.ProtectedKeyword + or SyntaxKind.UnsafeKeyword + ) + .Concat(Enumerable.Repeat(Token(SyntaxKind.PartialKeyword), 1)) ) - .AddMembers( - InterfaceDeclaration("Static") - .WithModifiers( - TokenList( - Token(SyntaxKind.PublicKeyword), - Token(SyntaxKind.PartialKeyword) - ) + ) + .AddMembers( + InterfaceDeclaration("Static") + .WithModifiers( + TokenList( + Token(SyntaxKind.PublicKeyword), + Token(SyntaxKind.PartialKeyword) ) - ); - } + ) + ); public override SyntaxNode? VisitMethodDeclaration(MethodDeclarationSyntax node) { var parent = node.FirstAncestorOrSelf(); if ( - _currentInterface is null + _currentClass is null || !node.AttributeLists.GetNativeFunctionInfo( out var lib, out var entryPoint, @@ -720,6 +738,7 @@ out var callConv } entryPoint ??= node.Identifier.ToString(); + _currentInterface ??= NewInterface(InterfaceKey(_currentClass), _currentClass); // Get the static interface within this interface var staticInterface = _currentInterface @@ -942,6 +961,11 @@ public IEnumerable> GetExtraFiles() continue; } + if (!EntryPoints.TryGetValue(nonInterface, out var entryPoints)) + { + continue; + } + var nonInterfaceIden = nonInterface[(nonInterface.LastIndexOf('.') + 1)..]; var ns = nonInterface[..nonInterface.LastIndexOf('.')]; var boilerplate = ClassDeclaration(nonInterfaceIden) @@ -959,12 +983,7 @@ public IEnumerable> GetExtraFiles() ) ) .Where(x => x is not null) - .Concat( - GenerateTopLevelBoilerplate( - nonInterfaceIden, - EntryPoints[nonInterface] - ) - )! + .Concat(GenerateTopLevelBoilerplate(nonInterfaceIden, entryPoints))! ) ) .WithParameterList( @@ -1301,6 +1320,13 @@ callConv is not null ) ) ); + + public void Reset() + { + InterfacePartials.Clear(); + ClassName = null; + _methods.Clear(); + } } /// @@ -1353,8 +1379,7 @@ public async Task ExecuteAsync(IModContext ctx, CancellationToken ct = default) continue; } - rw.InterfacePartials.Clear(); - rw.ClassName = null; + rw.Reset(); proj = doc.WithSyntaxRoot( rw.Visit(node)?.NormalizeWhitespace() ?? throw new InvalidOperationException("Visit returned null") diff --git a/sources/SilkTouch/SilkTouch/Mods/ChangeNativeClass.cs b/sources/SilkTouch/SilkTouch/Mods/ChangeNativeClass.cs new file mode 100644 index 0000000000..0437b88db0 --- /dev/null +++ b/sources/SilkTouch/SilkTouch/Mods/ChangeNativeClass.cs @@ -0,0 +1,414 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Diagnostics; +using System.Diagnostics.CodeAnalysis; +using System.Text.RegularExpressions; +using ClangSharp; +using Microsoft.CodeAnalysis; +using Microsoft.CodeAnalysis.CSharp; +using Microsoft.CodeAnalysis.CSharp.Syntax; +using Microsoft.Extensions.Logging; +using Microsoft.Extensions.Options; +using Silk.NET.Core; +using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; + +namespace Silk.NET.SilkTouch.Mods; + +/// +/// This mod is equivalent to , but with the ability to operate +/// on patterns rather than complete symbol names, allowing e.g. alc.* to be moved from AL (the +/// in this example) to ALContext (a new class in this +/// example). +/// +/// +/// It is expected that input sources to this mod are as close to their "native" form (as originally scraped) as +/// possible. s are not inspected for the purposes of +/// . Nested types are not supported at this time. Only static members are moved. +/// +/// The logger. +/// The configuration options. +[ModConfiguration] +public class ChangeNativeClass( + ILogger log, + IOptionsSnapshot options +) : IMod +{ + /// + /// Configuration for the mod. + /// + public class Configuration + { + /// + /// A map of native name patterns to class names. If the new class name contains ., it will be assumed to + /// be a fully qualified class name. Otherwise it shall carry the same namespace as the original class. + /// + public required Dictionary NewClasses { get; init; } + } + + /// + public async Task ExecuteAsync(IModContext ctx, CancellationToken ct = default) + { + // Get the config. + var cfg = options.Get(ctx.JobKey); + + // Compile all the patterns + var patterns = cfg + .NewClasses.Select(x => (Regex: new Regex(x.Key, RegexOptions.Compiled), x.Value)) + .ToList(); + var finder = new MatchFinder(patterns); + + // Remove all the members from the old classes. + var proj = ctx.SourceProject; + Debug.Assert(proj is not null); + foreach (var docId in ctx.SourceProject?.DocumentIds ?? []) + { + var doc = proj.GetDocument(docId)!; // <-- should defo exist + if (await doc.GetSyntaxTreeAsync(ct) is not { } tree) + { + continue; + } + + finder.CurrentDocument = doc; + proj = doc.WithSyntaxRoot( + finder.Visit(await tree.GetRootAsync(ct)) + ?? throw new InvalidOperationException($"{nameof(MatchFinder)} returned null.") + ).Project; + } + + var mover = new MemberMover(); + var membersToMove = new List(); + mover.Members = membersToMove; + foreach (var (fq, (decls, inbound)) in finder.Actions) + { + if (inbound is null or { Count: 0 }) + { + continue; + } + + mover.FullyQualifiedTargetType = fq; + var (syntaxKind, lastIndex) = + decls?.Select(x => x.Kind).Distinct().Select((x, i) => (x, i)).LastOrDefault() + ?? ((SyntaxKind?)null, 0); + if (lastIndex != 0) + { + log.LogWarning( + "Declarations for the fully-qualified destination type name \"{}\" were found with multiple " + + "different syntax kinds! This is not possible in valid C# and is undefined behaviour herein.", + fq + ); + } + + if (syntaxKind is null) + { + (syntaxKind, lastIndex) = inbound + .Select(x => x.TypeKind) + .Distinct() + .Select((x, i) => (x, i)) + .LastOrDefault(); + if (lastIndex != 0) + { + log.LogWarning( + "The APIs being moved to \"{}\" are coming from types with different syntax kinds (i.e. " + + "struct, class, etc). Given the destination type doesn't already exist, it will be " + + "inferred to be a class.", + fq + ); + syntaxKind = SyntaxKind.ClassDeclaration; + } + } + + syntaxKind ??= SyntaxKind.ClassDeclaration; + + // Where possible, we want to keep the declarations close to where they were originally declared. + foreach ( + var inDirectoryMemberMoves in inbound.GroupBy(x => + Path.GetDirectoryName(x.Document.FilePath) + ) + ) + { + // Find a declaration document in this directory. + var declDoc = decls?.FirstOrDefault(x => + Path.GetDirectoryName(x.Document.FilePath) == inDirectoryMemberMoves.Key + ); + + membersToMove.Clear(); + membersToMove.AddRange(inDirectoryMemberMoves.Select(x => x.MemberToMove)); + if (declDoc is null) + { + var name = fq.AsSpan(); + if (name.LastIndexOf('.') is not -1 and var idx) + { + name = name[(idx + 1)..]; + } + + var filename = $"{name}.gen.cs"; + proj = proj.AddDocument( + filename, + NewFile(membersToMove, syntaxKind.Value, fq, decls is not { Count: > 0 }), + filePath: Path.Join(inDirectoryMemberMoves.Key, filename) + ).Project; + } + else + { + var doc = + proj.GetDocument(declDoc.Value.Document.Id) + ?? throw new InvalidOperationException( + "Document was somehow removed since the first pass." + ); + proj = doc.WithSyntaxRoot( + mover.Visit(await doc.GetSyntaxRootAsync(ct)) + ?? throw new InvalidOperationException("Syntax root was somehow null.") + ).Project; + } + } + } + + ctx.SourceProject = proj; + } + + private static CompilationUnitSyntax NewFile( + IReadOnlyList members, + SyntaxKind syntaxKind, + ReadOnlySpan fq, + bool @new + ) + { + var nameStart = fq.LastIndexOf('.') + 1; + var name = fq[nameStart..]; + var ns = fq[..int.Max(nameStart - 1, 0)]; + TypeDeclarationSyntax type = syntaxKind switch + { + SyntaxKind.ClassDeclaration => ClassDeclaration(name.ToString()), + SyntaxKind.StructDeclaration => StructDeclaration(name.ToString()), + SyntaxKind.InterfaceDeclaration => InterfaceDeclaration(name.ToString()), + SyntaxKind.RecordDeclaration or SyntaxKind.RecordStructDeclaration => RecordDeclaration( + syntaxKind, + Token(SyntaxKind.RecordKeyword), + name.ToString() + ), + _ => throw new ArgumentOutOfRangeException(nameof(syntaxKind)), + }; + MemberDeclarationSyntax member = type.WithModifiers( + @new + ? TokenList( + Token(SyntaxKind.PublicKeyword), + Token(SyntaxKind.UnsafeKeyword), + Token(SyntaxKind.PartialKeyword) + ) + : TokenList(Token(SyntaxKind.UnsafeKeyword), Token(SyntaxKind.PartialKeyword)) + ) + .WithMembers(List(members)); + if (!ns.IsEmpty && !ns.IsWhiteSpace()) + { + member = FileScopedNamespaceDeclaration(ModUtils.NamespaceIntoIdentifierName(ns)) + .WithMembers(SingletonList(member)); + } + + return CompilationUnit() + .WithUsings(List(DistinctUsings(GetUsings(members)))) + .WithMembers(SingletonList(member)); + } + + private static IEnumerable GetUsings(IEnumerable members) => + members + .Select(x => x.Ancestors().Last()) + .OfType() + .Distinct() + .SelectMany(x => x.Usings); + + private static IEnumerable DistinctUsings( + IEnumerable usings + ) => usings.DistinctBy(y => y.Name?.ToString()); + + /// + /// Discover the classes, and also discover matching members. + /// + class MatchFinder(List<(Regex Regex, string Value)> patterns) : CSharpSyntaxRewriter + { + /// + /// A map of fully qualified class names to the declarations of those classes and the members that would like to + /// be moved to that class. + /// + public Dictionary< + string, + ( + List<(Document Document, SyntaxKind Kind)>? Declarations, + List<( + Document Document, + MemberDeclarationSyntax MemberToMove, + SyntaxKind TypeKind + )>? Inbound + ) + > Actions { get; } = []; + + private string? _currentNs; + private string? _currentFq; + private SyntaxKind? _currentTypeKind; + + public Document? CurrentDocument { get; set; } + + public override SyntaxNode? Visit(SyntaxNode? node) + { + // If we're not inside a type at the moment and we've encountered one... + if (_currentFq is null && node is TypeDeclarationSyntax type) + { + _currentNs = node.NamespaceFromSyntaxNode(); + _currentFq = $"{_currentNs}.{type.Identifier}".TrimStart('.'); + _currentTypeKind = type.Kind(); + + // _actions will already contain an entry for _currentFq if something wants to be moved there or we've + // visited another part. Otherwise, we need to add it. + if (!Actions.TryGetValue(_currentFq, out var current)) + { + Actions[_currentFq] = current = ([], null); + } + else if (current.Declarations is null) + { + Actions[_currentFq] = current = current with { Declarations = [] }; + } + + Debug.Assert(CurrentDocument is not null); + current.Declarations!.Add((CurrentDocument, type.Kind())); + + // Visit the members. Do not carry on to the next if, as that may end up renaming the container class + // (not what we want). + var ret = base.Visit(node); + _currentFq = null; + _currentNs = null; + _currentTypeKind = null; + return ret; + } + + SyntaxNode? member = null; + if ( + // This is a double negative so it's short-circuiting - likely worth it given how often visit is called. + !( + _currentFq is not null // <-- is the parent a type? + && ( + // is it a member we care about? + (member = node as MemberDeclarationSyntax) + is not (null or FieldDeclarationSyntax) // <-- we recurse into VariableDeclarators instead + || (member = node as VariableDeclaratorSyntax) is not null + || member + is VariableDeclaratorSyntax + { + Parent: not VariableDeclarationSyntax + or { Parent: not FieldDeclarationSyntax } + } + ) + ) + ) + { + var ret = base.Visit(node); + return ret is FieldDeclarationSyntax { Declaration.Variables.Count: 0 } + ? null + : ret; + } + + // Get the identifier of the member. + var identifier = member switch + { + VariableDeclaratorSyntax fld => fld.Identifier, + MethodDeclarationSyntax meth => meth.Identifier, + DelegateDeclarationSyntax del => del.Identifier, + EventDeclarationSyntax ev => ev.Identifier, + PropertyDeclarationSyntax prop => prop.Identifier, + BaseTypeDeclarationSyntax ty => ty.Identifier, + EnumMemberDeclarationSyntax enumerant => enumerant.Identifier, + _ => (SyntaxToken?)null, + }; + if (identifier is null) + { + // what? + return node; + } + + foreach (var (pattern, newClass) in patterns) + { + if (!pattern.IsMatch(identifier.Value.ToString())) + { + continue; + } + + // Get the new (destination) fully qualified class name. + var newFq = newClass; + if (!newFq.Contains('.')) + { + newFq = $"{_currentNs}.{newFq}"; + } + + // _actions will already contain an entry for _currentFq if we've visited that class already or + // something else wants to be moved there. + if (!Actions.TryGetValue(newFq, out var current)) + { + Actions[newFq] = current = (null, []); + } + else if (current.Inbound is null) + { + Actions[newFq] = current = current with { Inbound = [] }; + } + + // If it's a VariableDeclarator, we need to create a new FieldDeclarationSyntax for the field we're + // moving. + if ( + member is VariableDeclaratorSyntax + { + Parent: VariableDeclarationSyntax + { + Parent: BaseFieldDeclarationSyntax fld + } decl + } decla + ) + { + member = fld.WithDeclaration(decl.WithVariables(SingletonSeparatedList(decla))); + } + + Debug.Assert(CurrentDocument is not null); + current.Inbound!.Add( + (CurrentDocument, (MemberDeclarationSyntax)member, _currentTypeKind!.Value) + ); + return null; // <-- remove the member from the old type + } + + // Don't recurse, we're visiting a member. + return node; + } + } + + class MemberMover : CSharpSyntaxRewriter + { + public string? FullyQualifiedTargetType { get; set; } + public IReadOnlyList? Members { get; set; } + + [return: NotNullIfNotNull("node")] + public override SyntaxNode? Visit(SyntaxNode? node) + { + if (Members is null || FullyQualifiedTargetType is null) + { + return node; + } + + if ( + node is TypeDeclarationSyntax type + && $"{type.NamespaceFromSyntaxNode()}.{type.Identifier}" == FullyQualifiedTargetType + ) + { + return type.WithMembers(List(type.Members.Concat(Members))); + } + return base.Visit(node); + } + + public override SyntaxNode? VisitCompilationUnit(CompilationUnitSyntax node) + { + if (base.VisitCompilationUnit(node) is not CompilationUnitSyntax ret) + { + return null; + } + + return Members is not { Count: > 0 } + ? ret + : ret.WithUsings(List(DistinctUsings(ret.Usings.Concat(GetUsings(Members))))); + } + } +} diff --git a/sources/SilkTouch/SilkTouch/Mods/Common/MSBuildModContext.cs b/sources/SilkTouch/SilkTouch/Mods/Common/MSBuildModContext.cs index 8ae16a9b57..66639e3075 100644 --- a/sources/SilkTouch/SilkTouch/Mods/Common/MSBuildModContext.cs +++ b/sources/SilkTouch/SilkTouch/Mods/Common/MSBuildModContext.cs @@ -179,6 +179,11 @@ testDir is null ) ) { + logger.LogWarning( + "Invalid document \"{}\" ({}) generated, please check the syntax root and file path.", + doc.Name, + doc.Id + ); return; } diff --git a/sources/SilkTouch/SilkTouch/Mods/Common/ModLoader.cs b/sources/SilkTouch/SilkTouch/Mods/Common/ModLoader.cs index f6832b1528..a20497eab2 100644 --- a/sources/SilkTouch/SilkTouch/Mods/Common/ModLoader.cs +++ b/sources/SilkTouch/SilkTouch/Mods/Common/ModLoader.cs @@ -29,6 +29,7 @@ public class ModLoader nameof(ExtractNestedTyping) => typeof(ExtractNestedTyping), nameof(TransformProperties) => typeof(TransformProperties), nameof(ClangScraper) => typeof(ClangScraper), + nameof(ChangeNativeClass) => typeof(ChangeNativeClass), _ => null, }; } diff --git a/sources/SilkTouch/SilkTouch/Mods/Metadata/MetadataUtils.cs b/sources/SilkTouch/SilkTouch/Mods/Metadata/MetadataUtils.cs index 6c6fc06733..aef96a8147 100644 --- a/sources/SilkTouch/SilkTouch/Mods/Metadata/MetadataUtils.cs +++ b/sources/SilkTouch/SilkTouch/Mods/Metadata/MetadataUtils.cs @@ -123,14 +123,43 @@ out int outerCount string? childSymbol = null, Predicate? filter = default, T? defaultValue = default + ) => + GetAllMetadata(metadataProviders, jobKey, parentSymbol, childSymbol, filter) + .FirstOrDefault(defaultValue); + + /// + /// Gets all matching metadata items for a specific symbol. + /// + /// The metadata providers. + /// The current job key. + /// + /// The parent symbol, optionally containing the symbol identified by if provided. + /// Used as input to if + /// is not null, + /// otherwise. + /// + /// + /// The target symbol to get metadata for. If null, represents the target + /// symbol. Otherwise, this is used as input to . + /// + /// + /// Filters the resolved metadata. If null, the first matching metadata item shall be used. + /// + /// The type of the metadata. + /// The metadata item. + public static IEnumerable GetAllMetadata( + this IEnumerable>> metadataProviders, + string? jobKey, + string? parentSymbol = null, + string? childSymbol = null, + Predicate? filter = default ) { if (parentSymbol is null) { - return defaultValue; + yield break; } - T? parent = default; foreach (var apimd in metadataProviders) { if ( @@ -139,21 +168,20 @@ childSymbol is not null && vers.FirstOrDefault(x => filter?.Invoke(x) ?? true) is { } ver ) { - return ver; + yield return ver; + continue; } // parentVers.FirstOrDefault(x => x.Profile == Profile.Profile) ?? parent if ( apimd.TryGetSymbolMetadata(jobKey, parentSymbol, out var parentVers) - && (parent = parentVers.FirstOrDefault(x => filter?.Invoke(x) ?? true)) is not null + && parentVers.FirstOrDefault(x => filter?.Invoke(x) ?? true) is { } parent && childSymbol is null ) { - break; + yield return parent; } } - - return parent ?? defaultValue; } /// diff --git a/sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs b/sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs index bcc012dd2b..67a07075f9 100644 --- a/sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs +++ b/sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs @@ -1,15 +1,9 @@ -using System; -using System.Collections.Generic; +using System.Collections.Concurrent; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices; using System.Text.Json; using System.Text.Json.Serialization; using System.Text.RegularExpressions; -using System.Threading; -using System.Threading.Tasks; using System.Xml.Linq; using Humanizer; using Microsoft.CodeAnalysis; @@ -18,7 +12,6 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Silk.NET.Core; -using Silk.NET.SilkTouch.Clang; using Silk.NET.SilkTouch.Mods.Metadata; using Silk.NET.SilkTouch.Mods.Transformation; using Silk.NET.SilkTouch.Naming; @@ -42,7 +35,7 @@ public partial class MixKhronosData( IApiMetadataProvider, IApiMetadataProvider> { - internal Dictionary Jobs = new(); + internal ConcurrentDictionary Jobs = new(); private static readonly ICulturedStringTransformer _transformer = new NameUtils.NameTransformer( 4 ); @@ -53,7 +46,7 @@ public partial class MixKhronosData( { { "GLenum", "GLEnum" }, { "EGLenum", "EGLEnum" }, - { "GLbitfield", "GLEnum" } + { "GLbitfield", "GLEnum" }, }; internal class JobData @@ -162,6 +155,17 @@ public record Configuration /// Default namespace for enums. /// public string? Namespace { get; init; } + + /// + /// Whether Khronos-style extension naming conventions are not applicable here (e.g. OpenAL). + /// + public bool NonStandardExtensionNomenclature { get; init; } + + /// + /// Additional extension vendors to recognise, typically used in conjunction with + /// . + /// + public List? Vendors { get; init; } } /// @@ -184,7 +188,7 @@ public enum ExtensionVendorTrimmingMode /// /// Only trim Khronos/first-party extension vendor names i.e. KHR and ARB. /// - KhronosOnly + KhronosOnly, } private class ExtensionVendorTrimmingModeJsonConverter @@ -230,7 +234,7 @@ public async Task InitializeAsync(IModContext ctx, CancellationToken ct = defaul Configuration = currentConfig, TypeMap = currentConfig.TypeMap is not null ? new Dictionary(currentConfig.TypeMap) - : [] + : [], }; job.TypeMap.TryAdd("int8_t", "sbyte"); job.TypeMap.TryAdd("uint8_t", "byte"); @@ -252,7 +256,7 @@ public async Task InitializeAsync(IModContext ctx, CancellationToken ct = defaul logger.LogInformation("Reading Khronos XML from \"{}\"...", specPath); await using var fs = File.OpenRead(specPath); - var xml = await XDocument.LoadAsync(fs, LoadOptions.None, default); + var xml = await XDocument.LoadAsync(fs, LoadOptions.None, CancellationToken.None); var (apiSets, supportedApiProfiles) = EvaluateProfiles(xml); job.Vendors = [ @@ -260,12 +264,15 @@ .. xml.Element("registry") ?.Element("tags") ?.Elements("tag") .Attributes("name") - .Select(x => x.Value) ?? Enumerable.Empty(), - .. xml.Element("registry") - ?.Element("extensions") - ?.Elements("extension") - .Attributes("name") - .Select(x => x.Value.Split('_')[1].ToUpper()) ?? Enumerable.Empty() + .Select(x => x.Value) ?? [], + .. currentConfig.NonStandardExtensionNomenclature + ? [] + : xml.Element("registry") + ?.Element("extensions") + ?.Elements("extension") + .Attributes("name") + .Select(x => x.Value.Split('_')[1].ToUpper()) ?? [], + .. currentConfig.Vendors ?? [], ]; job.ApiSets = apiSets; job.SupportedApiProfiles = supportedApiProfiles; @@ -443,7 +450,7 @@ public SupportedApiProfileAttribute ToAttribute(string profile) => ImpliesSets = ImpliedSets?.ToArray(), MaxVersion = EndVersion?.ToString(), MinVersion = StartVersion?.ToString(), - RequireAll = RequireAll + RequireAll = RequireAll, }; } @@ -587,7 +594,7 @@ .. profileElement ) // <-- future proofing .Where(x => x != "compatibility") // <-- assuming default "gl" is "glcompatibility" .Select(x => $"{variant}{x}"), - .. profileVariations.TryGetValue(variant, out var v) ? v : [] + .. profileVariations.TryGetValue(variant, out var v) ? v : [], ]; } } @@ -709,11 +716,10 @@ private void EvaluateFeature( // Create a HashSet to store all the symbols in this feature. // If we're not using explicit dependencies, then we track the profile-wide symbol list. We assume that the // "number" order is being respected. - var symbols = explicitDependencies - ? inheritance[apiSet] = [] - : inheritance.TryGetValue(variant, out var syms) - ? syms - : inheritance[variant] = []; + var symbols = + explicitDependencies ? inheritance[apiSet] = [] + : inheritance.TryGetValue(variant, out var syms) ? syms + : inheritance[variant] = []; // If we're using implicit dependencies in the form of secondary APIs, the symbol changes we explicitly need to // inherit are contained in the pendingChanges dictionary for this variant. @@ -839,7 +845,7 @@ and var idx // The symbol has been removed, mark it with the end version. evals[idx] = evals[idx] with { - EndVersion = number + EndVersion = number, }; } } @@ -1183,6 +1189,8 @@ var ext in xml.Element("registry")?.Element("extensions")?.Elements("extension") } } + private bool _outputVendorInformationWarning = false; + /// public void Trim( string? container, @@ -1206,8 +1214,9 @@ ref string? identifiedPrefix ); } - if (job.Vendors?.Count is 0 or null) + if (job.Vendors?.Count is 0 or null && !_outputVendorInformationWarning) { + _outputVendorInformationWarning = true; logger.LogWarning( "No vendor information present, assuming no XML was provided? Extension trimming will be skipped." ); @@ -1241,7 +1250,7 @@ vendorSuffix is null job.Groups[current] = groupInfo = groupInfo with { - ExclusiveVendor = vendorSuffix + ExclusiveVendor = vendorSuffix, }; if (notSafeToTrim) @@ -1272,11 +1281,7 @@ vendorSuffix is null foreach (var (_, (current, previous)) in names) { var prev = previous?.FirstOrDefault(); - if ( - prev is not null - && current.AsSpan().Count('_') - prev.AsSpan().Count('_') <= 1 - && (current.Length <= 4 || (job.Vendors?.Contains(current) ?? false)) - ) + if (prev is not null && (job.Vendors?.Contains(current) ?? false)) { rewind = true; } @@ -1607,10 +1612,11 @@ is not { } newType static TypeSyntax PointerToGroupPointer(TypeSyntax original, string group) => original switch { - PointerTypeSyntax ptr - => ptr.WithElementType(PointerToGroupPointer(ptr.ElementType, group)), + PointerTypeSyntax ptr => ptr.WithElementType( + PointerToGroupPointer(ptr.ElementType, group) + ), PredefinedTypeSyntax or IdentifierNameSyntax => IdentifierName(group), - _ => throw new ArgumentOutOfRangeException(nameof(original)) + _ => throw new ArgumentOutOfRangeException(nameof(original)), }; TypeSyntax? GetTypeTransformation( @@ -1662,7 +1668,7 @@ ref bool anyNonTrivialParams 2 when otherGroup is not null => PointerToGroupPointer(type, group), 1 when otherGroup is not null => PointerToGroupPointer(type, otherGroup), 1 => PointerToGroupPointer(type, group), - _ => null + _ => null, }; } @@ -1750,8 +1756,8 @@ jobKey is null "(sh|ib|[tdrey]s|(?() : [groupName]) Namespace = enumNamespace is not null && groupInfo.Namespace == enumNamespace ? enumNamespace - : null + : null, } : new EnumGroup( group, diff --git a/sources/SilkTouch/SilkTouch/Mods/PrettifyNames.cs b/sources/SilkTouch/SilkTouch/Mods/PrettifyNames.cs index 97af583fd6..76c86da1cf 100644 --- a/sources/SilkTouch/SilkTouch/Mods/PrettifyNames.cs +++ b/sources/SilkTouch/SilkTouch/Mods/PrettifyNames.cs @@ -285,7 +285,6 @@ await RenameAllAsync( return comp.GetSymbolsWithName(x.Key, SymbolFilter.Type, ct) .OfType() .SelectMany(y => - [ .. Enumerable.SelectMany( [ @@ -297,7 +296,7 @@ .. Enumerable.SelectMany( ) : z ) ?? [], - .. x.Value.Functions ?? [] + .. x.Value.Functions ?? [], ], z => { @@ -310,7 +309,7 @@ .. y.GetMembers() z.MethodKind is MethodKind.Constructor or MethodKind.Destructor ) .Select(z => (z, x.Value.NewName)), - (y, x.Value.NewName) + (y, x.Value.NewName), ] ); }), @@ -433,7 +432,7 @@ private void Trim( container, globalPrefixHint, key, - names, + namesToTrim, prefixOverrides, nonDeterminant, ref identifiedPrefix @@ -533,7 +532,7 @@ out var dte { 2 => 2, // The original needs to be counted as a conflict in addition to this conflict > 2 => 1, // Just mark this conflict, original is already counted. - _ => 0 // No conflict to see here (not yet anyway, call it Schrodinger's Conflict) + _ => 0, // No conflict to see here (not yet anyway, call it Schrodinger's Conflict) }; if (discrimMatches.Count == 2 && ogTrimmingName is not null) @@ -949,7 +948,7 @@ public override SyntaxNode VisitMethodDeclaration(MethodDeclarationSyntax node) VariableDeclaratorSyntax v => v.Identifier.GetLocation(), ConstructorDeclarationSyntax c => c.Identifier.GetLocation(), DestructorDeclarationSyntax d => d.Identifier.GetLocation(), - _ => null + _ => null, }; private async Task RenameAllAsync( diff --git a/sources/SilkTouch/SilkTouch/Naming/NameTrimmer.cs b/sources/SilkTouch/SilkTouch/Naming/NameTrimmer.cs index f0c0a50e59..4f33b03868 100644 --- a/sources/SilkTouch/SilkTouch/Naming/NameTrimmer.cs +++ b/sources/SilkTouch/SilkTouch/Naming/NameTrimmer.cs @@ -146,7 +146,7 @@ hint is null // this was trimmingName originally. given that we're using trimming name to determine a prefix but then // using that prefix on the old primary, this could cause intended behaviour in some cases. there's probably // a better way to do this. (this is working around glDisablei -> glDisable -> Disablei). - names![originalName] = (oldPrimary[prefixLen..], sec); + names![originalName] = (oldPrimary[prefixLen..].Trim('_'), sec); } } @@ -182,6 +182,11 @@ hint is null bool naive ) { + if (container == "VocalMorpherPhoneme") + { + Debugger.Break(); + } + // If the type has no members, if (names is null || names.Count == 0) { diff --git a/tests/SilkTouch/SilkTouch/Khronos/MixKhronosDataTests.cs b/tests/SilkTouch/SilkTouch/Khronos/MixKhronosDataTests.cs index 88b41db2d6..ec96567642 100644 --- a/tests/SilkTouch/SilkTouch/Khronos/MixKhronosDataTests.cs +++ b/tests/SilkTouch/SilkTouch/Khronos/MixKhronosDataTests.cs @@ -17,6 +17,7 @@ using VerifyNUnit; using VerifyTests; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; +using NameTrimmer = Silk.NET.SilkTouch.Naming.NameTrimmer; namespace Silk.NET.SilkTouch.UnitTests.Khronos; @@ -62,7 +63,7 @@ private static IAsyncEnumerable TestCases() new NullLogger(), new Options { - Value = new MixKhronosData.Configuration { SpecPath = TestFile(x) } + Value = new MixKhronosData.Configuration { SpecPath = TestFile(x) }, } ); await mod.InitializeAsync(new DummyModContext()); @@ -78,7 +79,6 @@ private static IAsyncEnumerable RegressionTestCases() => .SelectAwait(async s => s[0] is "gl.xml" or "cl.xml" ? (object[]) - [ s[0], s[1], @@ -89,7 +89,7 @@ await Task.WhenAll( ) ) .Select(ReadProfile) - ) + ), ] : null ) @@ -152,11 +152,9 @@ var x in profiles ) { var key = ( - x.NativeName is "GLenum" - ? "GLEnum" - : x.NativeName.StartsWith("ErrorCodes") - ? "ErrorCodes" - : x.NativeName + x.NativeName is "GLenum" ? "GLEnum" + : x.NativeName.StartsWith("ErrorCodes") ? "ErrorCodes" + : x.NativeName ).Replace('.', '_').Trim(); key = key[(key.LastIndexOf(' ') + 1)..]; if (!baselineGroups.TryGetValue(key, out var constituents)) @@ -281,11 +279,10 @@ public void DependsStringParsing1() => .Options, Is.EquivalentTo( (IEnumerable) - [ "VK_KHR_depth_stencil_resolve+VK_KHR_get_physical_device_properties2", "VK_KHR_depth_stencil_resolve+VK_VERSION_1_1", - "VK_VERSION_1_2" + "VK_VERSION_1_2", ] ) ); @@ -300,11 +297,114 @@ public void DependsStringParsing2() => .Options, Is.EquivalentTo( (IEnumerable) - [ "VK_EXT_queue_family_foreign+VK_KHR_sampler_ycbcr_conversion+VK_KHR_external_memory+VK_KHR_dedicated_allocation", - "VK_EXT_queue_family_foreign+VK_VERSION_1_1" + "VK_EXT_queue_family_foreign+VK_VERSION_1_1", ] ) ); + + [Test] + public void OverzealousNameTrimming() + { + // This had an issue where GL_PIXEL_COUNT_NV and GL_PIXEL_COUNT_AVAILABLE_NV resulted in a trimming name of + // GL_PIXEL_COUNT_ resulting in GL_PIXEL_COUNT_NV becoming _NV which would in turn be turned into nothing. + var baseTrimmer = new NameTrimmer(); + var uut = new MixKhronosData(NullLogger.Instance, null!) + { + Jobs = + { + ["OpenGL"] = new MixKhronosData.JobData + { + Configuration = new MixKhronosData.Configuration + { + UseExtensionVendorTrimmings = MixKhronosData + .ExtensionVendorTrimmingMode + .None, + }, + Vendors = ["NV"], + Groups = + { + { + "OcclusionQueryParameterNameNV", + new MixKhronosData.EnumGroup( + "OcclusionQueryParameterNameNV", + "uint", + [], + false, + "NV", + "Silk.NET.OpenGL" + ) + }, + }, + }, + }, + }; + var names = new Dictionary?)> + { + { "GL_PIXEL_COUNT_NV", ("GL_PIXEL_COUNT_NV", []) }, + { "GL_PIXEL_COUNT_AVAILABLE_NV", ("GL_PIXEL_COUNT_AVAILABLE_NV", []) }, + }; + string? prefix = null; + baseTrimmer.Trim( + "OcclusionQueryParameterNameNV", + "gl", + "OpenGL", + names, + null, + null, + ref prefix + ); + uut.Trim("OcclusionQueryParameterNameNV", "gl", "OpenGL", names, null, null, ref prefix); + Assert.That(names["GL_PIXEL_COUNT_NV"].Item1, Is.EqualTo("PixelCount")); + Assert.That(names["GL_PIXEL_COUNT_AVAILABLE_NV"].Item1, Is.EqualTo("PixelCountAvailable")); + } + + [Test] + public void OverzealousNameTrimmingFixupIsNotOverzealousForOpenAL() + { + var baseTrimmer = new NameTrimmer(); + var uut = new MixKhronosData(NullLogger.Instance, null!) + { + Jobs = + { + ["OpenAL"] = new MixKhronosData.JobData + { + Configuration = new MixKhronosData.Configuration + { + UseExtensionVendorTrimmings = MixKhronosData + .ExtensionVendorTrimmingMode + .None, + }, + Vendors = ["SOFT"], + Groups = + { + { + "VocalMorpherPhoneme", + new MixKhronosData.EnumGroup( + "VocalMorpherPhoneme", + "uint", + [], + false, + null, + "Silk.NET.OpenAL" + ) + }, + }, + }, + }, + }; + var names = new Dictionary?)> + { + { "AL_VOCAL_MORPHER_PHONEME_A", ("AL_VOCAL_MORPHER_PHONEME_A", null) }, + { "AL_VOCAL_MORPHER_PHONEME_E", ("AL_VOCAL_MORPHER_PHONEME_E", null) }, + { "AL_VOCAL_MORPHER_PHONEME_I", ("AL_VOCAL_MORPHER_PHONEME_I", null) }, + }; + string? prefix = null; + baseTrimmer.Trim("VocalMorpherPhoneme", "al", "OpenAL", names, null, null, ref prefix); + uut.Trim("VocalMorpherPhoneme", "al", "OpenAL", names, null, null, ref prefix); + Assert.That(names["AL_VOCAL_MORPHER_PHONEME_A"].Item1, Is.EqualTo("A")); + Assert.That(names["AL_VOCAL_MORPHER_PHONEME_E"].Item1, Is.EqualTo("E")); + Assert.That(names["AL_VOCAL_MORPHER_PHONEME_I"].Item1, Is.EqualTo("I")); + } }