aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/openal/sound3d/Context.java
diff options
context:
space:
mode:
authorSven Gothel <sgothel@jausoft.com>2023-12-02 21:57:24 +0100
committerSven Gothel <sgothel@jausoft.com>2023-12-02 21:57:24 +0100
commit7171b103eb7a62226595c7b6621ca1de63d41e65 (patch)
tree8beeb18f7dfe9ac78ddd6d97281e7d4570d04604 /src/java/com/jogamp/openal/sound3d/Context.java
parentd6293dc4e8e97a046ed605782f17993d429720c3 (diff)
Bump OpenAL-Soft to git 571b546f35eead77ce109f8d4dd6c3de3199d573 2023-11-25, post v1.23.1; Adding 2 extensions (ALExt)
New extensions: - ALC_EXT_debug - AL_EXT_debug - ALC_SOFT_system_events Testing: - ALDebugExtTest contains minimal test for - ALC_EXT_debug - AL_EXT_debug +++ commit 1aaf4f070011490bcece50394b9b32dfa593fd9e (HEAD -> master) Merge: 6e7cee4f 571b546f Author: Sven Gothel <sgothel@jausoft.com> Date: Tue Nov 28 12:51:46 2023 +0100 Merge remote-tracking branch 'upstream/master' commit 571b546f35eead77ce109f8d4dd6c3de3199d573 (upstream/master) Author: Chris Robinson <chris.kcat@gmail.com> Date: Sat Nov 25 22:09:28 2023 -0800 Update some in-progress format enums
Diffstat (limited to 'src/java/com/jogamp/openal/sound3d/Context.java')
-rw-r--r--src/java/com/jogamp/openal/sound3d/Context.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/java/com/jogamp/openal/sound3d/Context.java b/src/java/com/jogamp/openal/sound3d/Context.java
index 7e20263..48cbbe6 100644
--- a/src/java/com/jogamp/openal/sound3d/Context.java
+++ b/src/java/com/jogamp/openal/sound3d/Context.java
@@ -101,6 +101,14 @@ public final class Context {
}
/**
+ * Returns whether `AL_EXT_debug` is available for the current context.
+ * @see Device#isDebugAvail()
+ */
+ public boolean isDebugAvail() {
+ return AudioSystem3D.al.alIsExtensionPresent(ALHelpers.AL_EXT_debug);
+ }
+
+ /**
* Creates the internal {@link ALCcontext} instance if {@link #getALContext()} is null
* @param attributes lost of {@link ALCcontext} attributes for context creation
* @return true if the internal context has been successfully created, otherwise false