From d6293dc4e8e97a046ed605782f17993d429720c3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 2 Dec 2023 18:43:47 +0100 Subject: Bug 1481: ALAudioSink: Adopt to GlueGen's PascalString Change --- src/java/com/jogamp/openal/util/ALAudioSink.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/com/jogamp/openal/util/ALAudioSink.java b/src/java/com/jogamp/openal/util/ALAudioSink.java index 22695ae..9f9dd1e 100644 --- a/src/java/com/jogamp/openal/util/ALAudioSink.java +++ b/src/java/com/jogamp/openal/util/ALAudioSink.java @@ -721,11 +721,11 @@ public final class ALAudioSink implements AudioSink { @SuppressWarnings("unused") @Override public void callback(final int eventType, final int object, final int param, - final int length, final String message, final ALCcontext context) { + final String message, final ALCcontext context) { if( false ) { final com.jogamp.openal.ALContextKey k = new com.jogamp.openal.ALContextKey(context); logout.println("ALAudioSink.Event: type "+toHexString(eventType)+", obj "+toHexString(object)+", param "+param+ - ", msg[len "+length+", val '"+message+"'], userParam "+k); + ", msg '"+message+"', userParam "+k); } if( ALExtConstants.AL_EVENT_TYPE_BUFFER_COMPLETED_SOFT == eventType && alSource.getID() == object ) @@ -735,7 +735,7 @@ public final class ALAudioSink implements AudioSink { final com.jogamp.openal.ALContextKey k = new com.jogamp.openal.ALContextKey(context); logout.println("ALAudioSink.Event: type "+toHexString(eventType)+", obj "+toHexString(object)+ ", eventReleasedBuffers +"+param+" -> "+(eventReleasedBuffers + param)+ - ", msg[len "+length+", val '"+message+"'], userParam "+k); + ", msg '"+message+"', userParam "+k); } eventReleasedBuffers += param; eventReleasedBuffersLock.notifyAll(); -- cgit v1.2.3