aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Féry <[email protected]>2023-12-04 17:14:48 +0100
committerMathieu Féry <[email protected]>2023-12-05 13:55:40 +0100
commit41a2967c25a3be64733262eb8b1f1c6b23cfd1dc (patch)
tree0bef72efbbea9ec228060ccd180444ebba6811fb
parentc989989b1221639933aeabebd65d5453eac0b0a7 (diff)
feat(alc): Fix typo of following methods in ALC api :
* aclEnumerationExtIsPresent -> alcEnumerationExtIsPresent * aclEnumerateAllExtIsPresent -> alcEnumerateAllExtIsPresent
-rw-r--r--make/config/joal-alc-CustomJavaCode.java4
-rw-r--r--src/java/com/jogamp/openal/JoalVersion.java8
-rw-r--r--src/java/jogamp/openal/ALCImpl.java4
3 files changed, 8 insertions, 8 deletions
diff --git a/make/config/joal-alc-CustomJavaCode.java b/make/config/joal-alc-CustomJavaCode.java
index 6615c01..e5b4e1f 100644
--- a/make/config/joal-alc-CustomJavaCode.java
+++ b/make/config/joal-alc-CustomJavaCode.java
@@ -1,8 +1,8 @@
/** Specify if ALC_ENUMERATION_EXT is present */
-public boolean aclEnumerationExtIsPresent();
+public boolean alcEnumerationExtIsPresent();
/** Specify if ALC_ENUMERATE_ALL_EXT is present */
-public boolean aclEnumerateAllExtIsPresent();
+public boolean alcEnumerateAllExtIsPresent();
/** Specify if call of alGetString(device, param) must
must retrun a double null terminted string */
diff --git a/src/java/com/jogamp/openal/JoalVersion.java b/src/java/com/jogamp/openal/JoalVersion.java
index 77dcabf..2181242 100644
--- a/src/java/com/jogamp/openal/JoalVersion.java
+++ b/src/java/com/jogamp/openal/JoalVersion.java
@@ -129,8 +129,8 @@ public class JoalVersion extends JogampVersion {
alv.toString(true, sb);
sb.append("AL_EXTENSIONS ").append(al.alGetString(ALConstants.AL_EXTENSIONS));
sb.append(Platform.getNewline());
- final boolean enumerationExtIsPresent = alc.aclEnumerationExtIsPresent();
- final boolean enumerateAllExtIsPresent = alc.aclEnumerateAllExtIsPresent();
+ final boolean enumerationExtIsPresent = alc.alcEnumerationExtIsPresent();
+ final boolean enumerateAllExtIsPresent = alc.alcEnumerateAllExtIsPresent();
final String enumExtAvailInfo = "(enumExt[def "+enumerationExtIsPresent+", all "+enumerateAllExtIsPresent+"])";
{
final int[] iversion = { 0, 0 };
@@ -268,8 +268,8 @@ public class JoalVersion extends JogampVersion {
}
public static void devicesToString(final StringBuilder sb, final ALC alc) {
- final boolean enumerationExtIsPresent = alc.aclEnumerationExtIsPresent();
- final boolean enumerateAllExtIsPresent = alc.aclEnumerateAllExtIsPresent();
+ final boolean enumerationExtIsPresent = alc.alcEnumerationExtIsPresent();
+ final boolean enumerateAllExtIsPresent = alc.alcEnumerateAllExtIsPresent();
final String enumExtAvailInfo = "(enumExt[def "+enumerationExtIsPresent+", all "+enumerateAllExtIsPresent+"])";
if (!enumerationExtIsPresent && !enumerateAllExtIsPresent) {
diff --git a/src/java/jogamp/openal/ALCImpl.java b/src/java/jogamp/openal/ALCImpl.java
index 6dc775c..0e85780 100644
--- a/src/java/jogamp/openal/ALCImpl.java
+++ b/src/java/jogamp/openal/ALCImpl.java
@@ -18,12 +18,12 @@ import java.util.ArrayList;
*/
public class ALCImpl extends ALCAbstractImpl {
@Override
- public boolean aclEnumerationExtIsPresent() {
+ public boolean alcEnumerationExtIsPresent() {
return alcIsExtensionPresent(null, ALHelpers.ALC_ENUMERATION_EXT);
}
@Override
- public boolean aclEnumerateAllExtIsPresent() {
+ public boolean alcEnumerateAllExtIsPresent() {
return alcIsExtensionPresent(null, ALHelpers.ALC_ENUMERATE_ALL_EXT);
}