aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-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,