aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/openal/util/ALAudioSink.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/openal/util/ALAudioSink.java')
-rw-r--r--src/java/com/jogamp/openal/util/ALAudioSink.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/openal/util/ALAudioSink.java b/src/java/com/jogamp/openal/util/ALAudioSink.java
index e579084..21fcce9 100644
--- a/src/java/com/jogamp/openal/util/ALAudioSink.java
+++ b/src/java/com/jogamp/openal/util/ALAudioSink.java
@@ -785,9 +785,9 @@ 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 Object userParam) {
+ final int length, final String message, final ALCcontext context) {
if( false ) {
- final com.jogamp.openal.ALContextKey k = new com.jogamp.openal.ALContextKey(userParam);
+ final com.jogamp.openal.ALContextKey k = new com.jogamp.openal.ALContextKey(context);
System.err.println("ALAudioSink.Event: type "+toHexString(eventType)+", obj "+toHexString(object)+", param "+param+
", msg[len "+length+", val '"+message+"'], userParam "+k);
}