aboutsummaryrefslogtreecommitdiffstats
path: root/test/src/com/jogamp/openal
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-10 17:33:11 +0200
committerMichael Bien <[email protected]>2010-07-10 17:33:11 +0200
commitafa3632e8df813f54195c8a97833eff5c832d6ee (patch)
tree7ca4afd776f7c12919d598622b9498797273afd4 /test/src/com/jogamp/openal
parent728c9b6e348520d778009f42633ea9f6e0e782a1 (diff)
fixed alcGetString functionpointer mapping (gluegen does not handle method renames correctly).
ALCImpl is now ALCAbstractImpl. "Custom code" is now in ALCImpl which extends ALCAbstractImpl.
Diffstat (limited to 'test/src/com/jogamp/openal')
-rw-r--r--test/src/com/jogamp/openal/OpenALTest.java12
1 files changed, 12 insertions, 0 deletions
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);