@@ -185,7 +185,7 @@ MaybeBool<sbyte> enable
185185 [ SupportedApiProfile ( "alc" , [ "ALC_SOFT_system_events" ] ) ]
186186 [ NativeFunction ( "openal" , EntryPoint = "alcEventIsSupportedSOFT" ) ]
187187 public static Constant < int , ALCEnum , EventSupportSOFT > EventIsSupportedSOFT (
188- Constant < int , EventTypeSOFT > eventType ,
188+ Constant < int , ALCEnum , SystemEventTypeSOFT > eventType ,
189189 Constant < int , ALCEnum , DeviceTypeSOFT > deviceType
190190 ) =>
191191 ( Constant < int , ALCEnum , EventSupportSOFT > )
@@ -223,8 +223,8 @@ public static int GetEnumValue(DeviceHandle device, Ref<sbyte> enumname)
223223 [ NativeName ( "alcGetError" ) ]
224224 [ SupportedApiProfile ( "alc" , [ "ALC_VERSION_1_0" , "ALC_VERSION_1_1" ] , MinVersion = "1.0" ) ]
225225 [ NativeFunction ( "openal" , EntryPoint = "alcGetError" ) ]
226- public static Constant < int , ErrorCode > GetError ( DeviceHandle device ) =>
227- ( Constant < int , ErrorCode > ) ( int ) GetErrorRaw ( device ) ;
226+ public static Constant < int , ALCEnum , ContextErrorCode > GetError ( DeviceHandle device ) =>
227+ ( Constant < int , ALCEnum , ContextErrorCode > ) ( int ) GetErrorRaw ( device ) ;
228228
229229 [ NativeName ( "alcGetError" ) ]
230230 [ DllImport ( "openal" , ExactSpelling = true , EntryPoint = "alcGetError" ) ]
@@ -797,7 +797,7 @@ public int EventIsSupportedSOFT(int eventType, int deviceType) =>
797797 MethodImplOptions . AggressiveInlining | MethodImplOptions . AggressiveOptimization
798798 ) ]
799799 public Constant < int , ALCEnum , EventSupportSOFT > EventIsSupportedSOFT (
800- Constant < int , EventTypeSOFT > eventType ,
800+ Constant < int , ALCEnum , SystemEventTypeSOFT > eventType ,
801801 Constant < int , ALCEnum , DeviceTypeSOFT > deviceType
802802 ) => T . EventIsSupportedSOFT ( eventType , deviceType ) ;
803803
@@ -842,7 +842,8 @@ public int GetEnumValue(DeviceHandle device, Ref<sbyte> enumname) =>
842842 [ MethodImpl (
843843 MethodImplOptions . AggressiveInlining | MethodImplOptions . AggressiveOptimization
844844 ) ]
845- public Constant < int , ErrorCode > GetError ( DeviceHandle device ) => T . GetError ( device ) ;
845+ public Constant < int , ALCEnum , ContextErrorCode > GetError ( DeviceHandle device ) =>
846+ T . GetError ( device ) ;
846847
847848 [ NativeName ( "alcGetError" ) ]
848849 [ SupportedApiProfile ( "alc" , [ "ALC_VERSION_1_0" , "ALC_VERSION_1_1" ] , MinVersion = "1.0" ) ]
@@ -1424,7 +1425,7 @@ public static int EventIsSupportedSOFT(int eventType, int deviceType) =>
14241425 MethodImplOptions . AggressiveInlining | MethodImplOptions . AggressiveOptimization
14251426 ) ]
14261427 public static Constant < int , ALCEnum , EventSupportSOFT > EventIsSupportedSOFT (
1427- Constant < int , EventTypeSOFT > eventType ,
1428+ Constant < int , ALCEnum , SystemEventTypeSOFT > eventType ,
14281429 Constant < int , ALCEnum , DeviceTypeSOFT > deviceType
14291430 ) => Underlying . Value ! . EventIsSupportedSOFT ( eventType , deviceType ) ;
14301431
@@ -1474,7 +1475,7 @@ public static int GetEnumValue(DeviceHandle device, Ref<sbyte> enumname)
14741475 [ MethodImpl (
14751476 MethodImplOptions . AggressiveInlining | MethodImplOptions . AggressiveOptimization
14761477 ) ]
1477- public static Constant < int , ErrorCode > GetError ( DeviceHandle device ) =>
1478+ public static Constant < int , ALCEnum , ContextErrorCode > GetError ( DeviceHandle device ) =>
14781479 Underlying . Value ! . GetError ( device ) ;
14791480
14801481 [ NativeName ( "alcGetError" ) ]
@@ -2337,7 +2338,7 @@ public static int EventIsSupportedSOFT(int eventType, int deviceType) =>
23372338 [ NativeFunction ( "openal" , EntryPoint = "alcEventIsSupportedSOFT" ) ]
23382339 [ MethodImpl ( MethodImplOptions . AggressiveInlining | MethodImplOptions . AggressiveOptimization ) ]
23392340 Constant < int , ALCEnum , EventSupportSOFT > IALContext . EventIsSupportedSOFT (
2340- Constant < int , EventTypeSOFT > eventType ,
2341+ Constant < int , ALCEnum , SystemEventTypeSOFT > eventType ,
23412342 Constant < int , ALCEnum , DeviceTypeSOFT > deviceType
23422343 ) =>
23432344 ( Constant < int , ALCEnum , EventSupportSOFT > )
@@ -2348,7 +2349,7 @@ Constant<int, ALCEnum, DeviceTypeSOFT> deviceType
23482349 [ NativeFunction ( "openal" , EntryPoint = "alcEventIsSupportedSOFT" ) ]
23492350 [ MethodImpl ( MethodImplOptions . AggressiveInlining | MethodImplOptions . AggressiveOptimization ) ]
23502351 public static Constant < int , ALCEnum , EventSupportSOFT > EventIsSupportedSOFT (
2351- Constant < int , EventTypeSOFT > eventType ,
2352+ Constant < int , ALCEnum , SystemEventTypeSOFT > eventType ,
23522353 Constant < int , ALCEnum , DeviceTypeSOFT > deviceType
23532354 ) => ThisThread . EventIsSupportedSOFT ( eventType , deviceType ) ;
23542355
@@ -2434,14 +2435,14 @@ public static int GetEnumValue(DeviceHandle device, Ref<sbyte> enumname) =>
24342435 [ SupportedApiProfile ( "alc" , [ "ALC_VERSION_1_0" , "ALC_VERSION_1_1" ] , MinVersion = "1.0" ) ]
24352436 [ NativeFunction ( "openal" , EntryPoint = "alcGetError" ) ]
24362437 [ MethodImpl ( MethodImplOptions . AggressiveInlining | MethodImplOptions . AggressiveOptimization ) ]
2437- Constant < int , ErrorCode > IALContext . GetError ( DeviceHandle device ) =>
2438- ( Constant < int , ErrorCode > ) ( int ) ( ( IALContext ) this ) . GetErrorRaw ( device ) ;
2438+ Constant < int , ALCEnum , ContextErrorCode > IALContext . GetError ( DeviceHandle device ) =>
2439+ ( Constant < int , ALCEnum , ContextErrorCode > ) ( int ) ( ( IALContext ) this ) . GetErrorRaw ( device ) ;
24392440
24402441 [ NativeName ( "alcGetError" ) ]
24412442 [ SupportedApiProfile ( "alc" , [ "ALC_VERSION_1_0" , "ALC_VERSION_1_1" ] , MinVersion = "1.0" ) ]
24422443 [ NativeFunction ( "openal" , EntryPoint = "alcGetError" ) ]
24432444 [ MethodImpl ( MethodImplOptions . AggressiveInlining | MethodImplOptions . AggressiveOptimization ) ]
2444- public static Constant < int , ErrorCode > GetError ( DeviceHandle device ) =>
2445+ public static Constant < int , ALCEnum , ContextErrorCode > GetError ( DeviceHandle device ) =>
24452446 ThisThread . GetError ( device ) ;
24462447
24472448 [ NativeName ( "alcGetError" ) ]
0 commit comments