aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-08-01 19:51:56 +0200
committerSven Gothel <[email protected]>2023-08-01 19:51:56 +0200
commit8ccdfe89171e33b58d3f4324be6ca85f5b11b7aa (patch)
tree1da5686a5ee5f9b35427f2113ed7be1261a3a189 /src/java/com
parent2d3237ef72a0ce908f1ca61e4f151e01dc8e27f3 (diff)
AudioSystem3D.checkAL*Error(): Close single quote in error message
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/jogamp/openal/sound3d/AudioSystem3D.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java b/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java
index 0d35da6..017252f 100644
--- a/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java
+++ b/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java
@@ -139,7 +139,7 @@ public class AudioSystem3D {
public static boolean checkALError(final String prefix, final boolean verbose, final boolean throwException) {
final int alErr = al.alGetError();
if( ALConstants.AL_NO_ERROR != alErr ) {
- final String msg = prefix+": AL error 0x"+Integer.toHexString(alErr)+", '"+al.alGetString(alErr);
+ final String msg = prefix+": AL error 0x"+Integer.toHexString(alErr)+", '"+al.alGetString(alErr)+"'";
if( verbose ) {
System.err.println(msg);
}
@@ -162,7 +162,7 @@ public class AudioSystem3D {
final ALCdevice alcDevice = null != device ? device.getALDevice() : null;
final int alcErr = alc.alcGetError( alcDevice );
if( ALCConstants.ALC_NO_ERROR != alcErr ) {
- final String msg = prefix+": ALC error 0x"+Integer.toHexString(alcErr)+", "+alc.alcGetString(alcDevice, alcErr);
+ final String msg = prefix+": ALC error 0x"+Integer.toHexString(alcErr)+", '"+alc.alcGetString(alcDevice, alcErr)+"'";
if( verbose ) {
System.err.println(msg);
}