From afa3632e8df813f54195c8a97833eff5c832d6ee Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sat, 10 Jul 2010 17:33:11 +0200 Subject: fixed alcGetString functionpointer mapping (gluegen does not handle method renames correctly). ALCImpl is now ALCAbstractImpl. "Custom code" is now in ALCImpl which extends ALCAbstractImpl. --- test/src/com/jogamp/openal/OpenALTest.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test/src/com/jogamp') diff --git a/test/src/com/jogamp/openal/OpenALTest.java b/test/src/com/jogamp/openal/OpenALTest.java index ec8d50f..69ee204 100644 --- a/test/src/com/jogamp/openal/OpenALTest.java +++ b/test/src/com/jogamp/openal/OpenALTest.java @@ -52,6 +52,18 @@ public class OpenALTest { ALCcontext context = alc.alcCreateContext(device, null); alc.alcMakeContextCurrent(context); AL al = ALFactory.getAL(); + + System.out.println("devices:"); + String[] devices = alc.alcGetDeviceSpecifiers(); + for (String name : devices) { + System.out.println(" "+name); + } + System.out.println("capture devices:"); + devices = alc.alcGetCaptureDeviceSpecifiers(); + for (String name : devices) { + System.out.println(" "+name); + } + boolean eaxPresent = al.alIsExtensionPresent("EAX2.0"); System.out.println("EAX present:" + eaxPresent); -- cgit v1.2.3