diff options
author | Mathieu Féry <[email protected]> | 2023-11-22 10:16:29 +0100 |
---|---|---|
committer | Mathieu Féry <[email protected]> | 2023-11-22 14:57:23 +0100 |
commit | ac87e953de99a165ca0d1adebc93678f28dfe094 (patch) | |
tree | 3ff2ca6282e44735f308dddde96d186ffc60fa7e /src/test/com/jogamp/openal | |
parent | 21079539c1f81bae9df328e6487e4d4d174b0b51 (diff) |
drop(eax): Remove support of legacy EAX extension
Diffstat (limited to 'src/test/com/jogamp/openal')
-rw-r--r-- | src/test/com/jogamp/openal/test/manual/OpenALTest.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/com/jogamp/openal/test/manual/OpenALTest.java b/src/test/com/jogamp/openal/test/manual/OpenALTest.java index a9481f6..c8eb535 100644 --- a/src/test/com/jogamp/openal/test/manual/OpenALTest.java +++ b/src/test/com/jogamp/openal/test/manual/OpenALTest.java @@ -47,9 +47,6 @@ import com.jogamp.openal.ALFactory; import com.jogamp.openal.ALVersion; import com.jogamp.openal.JoalVersion; import com.jogamp.openal.UnsupportedAudioFileException; -import com.jogamp.openal.eax.EAX; -import com.jogamp.openal.eax.EAXConstants; -import com.jogamp.openal.eax.EAXFactory; import com.jogamp.openal.test.resources.ResourceLocation; import com.jogamp.openal.util.WAVData; @@ -83,10 +80,6 @@ public class OpenALTest { alc.alcMakeContextCurrent(context); System.out.println("ALVersion: "+new ALVersion(al).toString()); - final boolean eaxPresent = al.alIsExtensionPresent("EAX2.0"); - final EAX eax = ( eaxPresent ) ? EAXFactory.getEAX() : null; - System.err.println("EAX present:" + eaxPresent + ", EAX retrieved: "+ (null != eax)); - final int[] buffers = new int[1]; al.alGenBuffers(1, buffers, 0); @@ -106,11 +99,6 @@ public class OpenALTest { al.alGetSourcei(sources[0], ALConstants.AL_LOOPING, loopArray, 0); System.err.println("Looping 1: " + (loopArray[0] == ALConstants.AL_TRUE)); - if (eaxPresent && null!=eax) { - final IntBuffer env = Buffers.newDirectIntBuffer(1); - env.put(EAXConstants.EAX_ENVIRONMENT_BATHROOM); - eax.setListenerProperty(EAXConstants.DSPROPERTY_EAXLISTENER_ENVIRONMENT, env); - } initialized = true; } |