aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-12-02 18:43:47 +0100
committerSven Gothel <[email protected]>2023-12-02 18:43:47 +0100
commitd6293dc4e8e97a046ed605782f17993d429720c3 (patch)
tree42afb408cad6f98285893d99d3112f33320c4d64
parentb16c704e64b49af03064aa9154eff431e142b204 (diff)
Bug 1481: ALAudioSink: Adopt to GlueGen's PascalString Change
-rw-r--r--src/java/com/jogamp/openal/util/ALAudioSink.java6
1 files 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();