Commit 4fc9bd19 authored by Filippo Carone's avatar Filippo Carone

volumelistener moved to listener package

parent be07ad94
......@@ -29,11 +29,12 @@ EXTRA_DIST+= \
org/videolan/jvlc/Video.java \
org/videolan/jvlc/VLCException.java \
org/videolan/jvlc/VLMIntf.java \
org/videolan/jvlc/VLM.java
org/videolan/jvlc/VLM.java \
org/videolan/jvlc/listener/VolumeListener.java
if BUILD_JAVA
OBJECTS = org/videolan/jvlc/VLM.class org/videolan/jvlc/VLCException.class org/videolan/jvlc/Playlist.class org/videolan/jvlc/AudioIntf.class org/videolan/jvlc/Audio.class org/videolan/jvlc/InputIntf.class org/videolan/jvlc/Input.class org/videolan/jvlc/PlaylistIntf.class org/videolan/jvlc/VideoIntf.class org/videolan/jvlc/JVLCCanvas.class org/videolan/jvlc/Video.class org/videolan/jvlc/JLibVLC.class org/videolan/jvlc/JVLC.class org/videolan/jvlc/JVLCPanel.class org/videolan/jvlc/VLMIntf.class org/videolan/jvlc/GenericVideoWidget.class
OBJECTS = org/videolan/jvlc/VLM.class org/videolan/jvlc/VLCException.class org/videolan/jvlc/Playlist.class org/videolan/jvlc/AudioIntf.class org/videolan/jvlc/Audio.class org/videolan/jvlc/InputIntf.class org/videolan/jvlc/Input.class org/videolan/jvlc/PlaylistIntf.class org/videolan/jvlc/VideoIntf.class org/videolan/jvlc/JVLCCanvas.class org/videolan/jvlc/Video.class org/videolan/jvlc/JLibVLC.class org/videolan/jvlc/JVLC.class org/videolan/jvlc/JVLCPanel.class org/videolan/jvlc/VLMIntf.class org/videolan/jvlc/GenericVideoWidget.class org/videolan/jvlc/listener/VolumeListener.class
PROCESSOR_FAMILY = `uname -m | sed -e 's/^i.86/i386/' | sed -e 's/^x86_64/amd64/'`
......
import org.videolan.jvlc.AudioIntf;
import org.videolan.jvlc.JVLC;
import org.videolan.jvlc.VLCException;
import org.videolan.jvlc.VolumeListener;
import org.videolan.jvlc.listener.VolumeListener;
public class VLCExample
......@@ -87,7 +87,7 @@ public class VLCExample
jvlc.audio.addVolumeListener(new VolumeListener()
{
public void volumeChanged() {
System.out.println("====> From the listener: volume changed");
System.out.println("====> From the listener: volume changed.");
}
});
......
......@@ -6,6 +6,8 @@ import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import org.videolan.jvlc.listener.VolumeListener;
public class Audio implements AudioIntf {
private long libvlcInstance;
......
package org.videolan.jvlc;
package org.videolan.jvlc.listener;
public interface VolumeListener {
......
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