mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-21 12:42:15 +00:00
Add missing OpenAL bindings to fix SoundPhysics (#75)
* Add missing OpenAL EFX bindings and a couple of AL/ALC10 functions * Log the classloader and transformer exclusions for easier post-mortem debugging.
This commit is contained in:
1 parent
3bb91b8631
commit
4cf597e9b3
5 files changed
+717
-8
No files matched your search
@@ -45,6 +45,27 @@ public class ALC10 {
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
public static void alcDestroyContext(org.lwjglx.openal.ALCcontext ctx) {
|
||||
org.lwjgl.openal.ALC10.alcDestroyContext(ctx.context);
|
||||
}
|
||||
|
||||
public static org.lwjglx.openal.ALCdevice alcGetContextsDevice(org.lwjglx.openal.ALCcontext ctx) {
|
||||
final long devId = org.lwjgl.openal.ALC10.alcGetContextsDevice(ctx.context);
|
||||
return new ALCdevice(devId);
|
||||
}
|
||||
|
||||
public static int alcMakeContextCurrent(org.lwjglx.openal.ALCcontext ctx) {
|
||||
return org.lwjgl.openal.ALC10.alcMakeContextCurrent(ctx.context) ? ALC_TRUE : ALC_FALSE;
|
||||
}
|
||||
|
||||
public static void alcProcessContext(org.lwjglx.openal.ALCcontext ctx) {
|
||||
org.lwjgl.openal.ALC10.alcProcessContext(ctx.context);
|
||||
}
|
||||
|
||||
public static void alcSuspendContext(org.lwjglx.openal.ALCcontext ctx) {
|
||||
org.lwjgl.openal.ALC10.alcSuspendContext(ctx.context);
|
||||
}
|
||||
|
||||
public static int alcGetEnumValue(org.lwjglx.openal.ALCdevice device, java.lang.String enumName) {
|
||||
|
||||
int returnValue = org.lwjgl.openal.ALC10.alcGetEnumValue(device.device, enumName);
|
||||
|
||||
Reference in new issue
Block a user