aboutsummaryrefslogtreecommitdiffstats
path: root/test/src/com/jogamp/openal/OpenALTest.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-07-08 22:07:12 +0200
committerMichael Bien <[email protected]>2010-07-08 22:07:12 +0200
commitd02a2933f7e7a2b27be6dc1cfe0ebfa09f9b5100 (patch)
tree78d8a0acde3fe4951dc51b9ca55c73b551580dbf /test/src/com/jogamp/openal/OpenALTest.java
parent588415cd169046436a3f1586526cc29d660a59a7 (diff)
removed BufferUtils since we have now Buffers in gluegen-rt.
Diffstat (limited to 'test/src/com/jogamp/openal/OpenALTest.java')
-rw-r--r--test/src/com/jogamp/openal/OpenALTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/com/jogamp/openal/OpenALTest.java b/test/src/com/jogamp/openal/OpenALTest.java
index 7826899..23512a4 100644
--- a/test/src/com/jogamp/openal/OpenALTest.java
+++ b/test/src/com/jogamp/openal/OpenALTest.java
@@ -33,9 +33,9 @@ package com.jogamp.openal;
* design, construction, operation or maintenance of any nuclear facility.
*/
+import com.jogamp.common.nio.Buffers;
import java.nio.*;
-import com.jogamp.openal.*;
import com.jogamp.openal.eax.*;
import com.jogamp.openal.util.*;
@@ -73,7 +73,7 @@ public class OpenALTest {
System.out.println("Looping 2: " + (loopBuffer[0] == AL.AL_TRUE));
if (eaxPresent) {
- IntBuffer env = BufferUtils.newIntBuffer(1);
+ IntBuffer env = Buffers.newDirectIntBuffer(1);
env.put(EAX.EAX_ENVIRONMENT_BATHROOM);
eax.setListenerProperty(
EAX.DSPROPERTY_EAXLISTENER_ENVIRONMENT,