]> git.sesse.net Git - vlc/commitdiff
bindings/java: callback/events usage has changed. For the time being, send an exception.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 5 Aug 2007 23:06:07 +0000 (23:06 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 5 Aug 2007 23:06:07 +0000 (23:06 +0000)
bindings/java/src/callback-jni.cc

index b0149e7211b4df26327bce1e05a90e2c39e718a2..b759c71a25903c05f134868f88ced9bab1f47caf 100644 (file)
@@ -56,11 +56,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Audio__1install_1callback( JNIEnv
        wakeupListenersMethod = env->GetStaticMethodID(audioClass, "wakeupListeners", "()V");
     }
 
-    libvlc_event_add_callback( ( libvlc_instance_t* ) instance,
-                              libvlc_VolumeChanged,
-                              volumeChangedCallback,
-                              NULL,
-                              &exception );
+    libvlc_exception_raise( &exception, "not implemented" );
     CHECK_EXCEPTION ;
 }