diff options
author | Sven Gothel <[email protected]> | 2023-08-01 19:51:56 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-08-01 19:51:56 +0200 |
commit | 8ccdfe89171e33b58d3f4324be6ca85f5b11b7aa (patch) | |
tree | 1da5686a5ee5f9b35427f2113ed7be1261a3a189 /src/java | |
parent | 2d3237ef72a0ce908f1ca61e4f151e01dc8e27f3 (diff) |
AudioSystem3D.checkAL*Error(): Close single quote in error message
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/jogamp/openal/sound3d/AudioSystem3D.java | 4 |
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); } |