Skip to content

Commit 8d44a2e

Browse files
committed
Use new al.xml
1 parent 02d382c commit 8d44a2e

106 files changed

Lines changed: 4694 additions & 3410 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

eng/submodules/openal-soft

Submodule openal-soft updated 186 files

generator.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@
165165
"AddIncludes",
166166
"ClangScraper",
167167
"ChangeNativeClass",
168+
"AddApiProfiles",
169+
"MixKhronosData",
168170
"ExtractNestedTyping",
169171
"TransformHandles",
170172
"TransformFunctions",
@@ -184,7 +186,21 @@
184186
"EFX_REVERB_PRESET_.*": "EfxReverbPreset"
185187
}
186188
},
187-
"_TODO_Add_MixKhronosData_once_OpenAL_Soft_has_a_Khronos_style_spec": {},
189+
"MixKhronosData": {
190+
"UseDataTypeTrimmings": true,
191+
"SpecPath": "eng/submodules/openal-soft/registry/xml/al.xml",
192+
"EnumNativeTypeNames": {
193+
"ALenum": "ALEnum",
194+
"ALCenum": "ALCEnum"
195+
},
196+
"Namespace": "Silk.NET.OpenAL",
197+
"NonStandardExtensionNomenclature": true,
198+
"Vendors": [
199+
"SOFT",
200+
"LOKI",
201+
"EXT"
202+
]
203+
},
188204
"AddVTables": {
189205
"VTables": [
190206
{
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// Generated using the OpenAL Soft headers and corresponding dependencies.
4+
// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
5+
// being header-derived only, implementations of the headers may have a less permissive license.
6+
using System;
7+
using System.Diagnostics;
8+
using System.Runtime.CompilerServices;
9+
using System.Runtime.InteropServices;
10+
11+
namespace Silk.NET.OpenAL;
12+
13+
[Transformed]
14+
public enum ALCEnum : uint
15+
{
16+
False = unchecked((uint)0),
17+
True = unchecked((uint)1),
18+
Frequency = unchecked((uint)0x1007),
19+
Refresh = unchecked((uint)0x1008),
20+
Sync = unchecked((uint)0x1009),
21+
NoError = unchecked((uint)0),
22+
InvalidDevice = unchecked((uint)0xA001),
23+
InvalidContEXT = unchecked((uint)0xA002),
24+
InvalidEnum = unchecked((uint)0xA003),
25+
InvalidValue = unchecked((uint)0xA004),
26+
OutOfMemory = unchecked((uint)0xA005),
27+
MajorVersion = unchecked((uint)0x1000),
28+
MinorVersion = unchecked((uint)0x1001),
29+
AttributesSize = unchecked((uint)0x1002),
30+
AllAttributes = unchecked((uint)0x1003),
31+
DefaultDeviceSpecifier = unchecked((uint)0x1004),
32+
DeviceSpecifier = unchecked((uint)0x1005),
33+
Extensions = unchecked((uint)0x1006),
34+
MonoSources = unchecked((uint)0x1010),
35+
StereoSources = unchecked((uint)0x1011),
36+
CaptureDeviceSpecifier = unchecked((uint)0x310),
37+
CaptureDefaultDeviceSpecifier = unchecked((uint)0x311),
38+
CaptureSamples = unchecked((uint)0x312),
39+
DefaultAllDevicesSpecifier = unchecked((uint)0x1012),
40+
AllDevicesSpecifier = unchecked((uint)0x1013),
41+
ChanMainLOKI = unchecked((uint)0x500001),
42+
ChanPcmLOKI = unchecked((uint)0x500002),
43+
ChanCdLOKI = unchecked((uint)0x500003),
44+
Connected = unchecked((uint)0x313),
45+
FormatChannelsSOFT = unchecked((uint)0x1990),
46+
FormatTypeSOFT = unchecked((uint)0x1991),
47+
ByteSOFT = unchecked((uint)0x1400),
48+
UnsignedByteSOFT = unchecked((uint)0x1401),
49+
ShortSOFT = unchecked((uint)0x1402),
50+
UnsignedShortSOFT = unchecked((uint)0x1403),
51+
IntSOFT = unchecked((uint)0x1404),
52+
UnsignedIntSOFT = unchecked((uint)0x1405),
53+
FloatSOFT = unchecked((uint)0x1406),
54+
MonoSOFT = unchecked((uint)0x1500),
55+
StereoSOFT = unchecked((uint)0x1501),
56+
QuadSOFT = unchecked((uint)0x1503),
57+
X5Point1Soft = unchecked((uint)0x1504),
58+
X6Point1Soft = unchecked((uint)0x1505),
59+
X7Point1Soft = unchecked((uint)0x1506),
60+
HrtfSOFT = unchecked((uint)0x1992),
61+
DontCareSOFT = unchecked((uint)0x0002),
62+
HrtfStatusSOFT = unchecked((uint)0x1993),
63+
HrtfDisabledSOFT = unchecked((uint)0x0000),
64+
HrtfEnabledSOFT = unchecked((uint)0x0001),
65+
HrtfDeniedSOFT = unchecked((uint)0x0002),
66+
HrtfRequiredSOFT = unchecked((uint)0x0003),
67+
HrtfHeadphonesDetectedSOFT = unchecked((uint)0x0004),
68+
HrtfUnsupportedFormatSOFT = unchecked((uint)0x0005),
69+
NumHrtfSpecifiersSOFT = unchecked((uint)0x1994),
70+
HrtfSpecifierSOFT = unchecked((uint)0x1995),
71+
HrtfIdSOFT = unchecked((uint)0x1996),
72+
OutputLimiterSOFT = unchecked((uint)0x199A),
73+
DeviceClockSOFT = unchecked((uint)0x1600),
74+
DeviceLatencySOFT = unchecked((uint)0x1601),
75+
DeviceClockLatencySOFT = unchecked((uint)0x1602),
76+
AmbisonicLayoutSOFT = unchecked((uint)0x1997),
77+
AmbisonicScalingSOFT = unchecked((uint)0x1998),
78+
AmbisonicOrderSOFT = unchecked((uint)0x1999),
79+
MaxAmbisonicOrderSOFT = unchecked((uint)0x199B),
80+
Bformat3DSOFT = unchecked((uint)0x1507),
81+
FumaSOFT = unchecked((uint)0x0000),
82+
AcnSOFT = unchecked((uint)0x0001),
83+
Sn3DSOFT = unchecked((uint)0x0001),
84+
N3DSoft = unchecked((uint)0x0002),
85+
OutputModeSOFT = unchecked((uint)0x19AC),
86+
AnySOFT = unchecked((uint)0x19AD),
87+
StereoBasicSOFT = unchecked((uint)0x19AE),
88+
StereoUhjSOFT = unchecked((uint)0x19AF),
89+
StereoHrtfSOFT = unchecked((uint)0x19B2),
90+
Surround5X1Soft = unchecked((uint)0x1504),
91+
Surround6X1Soft = unchecked((uint)0x1505),
92+
Surround7X1Soft = unchecked((uint)0x1506),
93+
ContextFlagsEXT = unchecked((uint)0x19CF),
94+
ContextDebugBitEXT = unchecked((uint)0x0001),
95+
PlaybackDeviceSOFT = unchecked((uint)0x19D4),
96+
CaptureDeviceSOFT = unchecked((uint)0x19D5),
97+
EventTypeDefaultDeviceChangedSOFT = unchecked((uint)0x19D6),
98+
EventTypeDeviceAddedSOFT = unchecked((uint)0x19D7),
99+
EventTypeDeviceRemovedSOFT = unchecked((uint)0x19D8),
100+
EventSupportedSOFT = unchecked((uint)0x19D9),
101+
EventNotSupportedSOFT = unchecked((uint)0x19DA),
102+
}

0 commit comments

Comments
 (0)