Commit c58f0546 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

bindings/java: callback/events usage has changed. For the time being, send an exception.

parent 3f75f779
...@@ -56,11 +56,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Audio__1install_1callback( JNIEnv ...@@ -56,11 +56,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Audio__1install_1callback( JNIEnv
wakeupListenersMethod = env->GetStaticMethodID(audioClass, "wakeupListeners", "()V"); wakeupListenersMethod = env->GetStaticMethodID(audioClass, "wakeupListeners", "()V");
} }
libvlc_event_add_callback( ( libvlc_instance_t* ) instance, libvlc_exception_raise( &exception, "not implemented" );
libvlc_VolumeChanged,
volumeChangedCallback,
NULL,
&exception );
CHECK_EXCEPTION ; CHECK_EXCEPTION ;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment