Commit 7a3174e0 authored by Rémi Duraffort's avatar Rémi Duraffort

jvlc_audio: add missing function (get_track_count).

parent e143f0ec
...@@ -72,6 +72,12 @@ public class Audio ...@@ -72,6 +72,12 @@ public class Audio
return jvlc.getLibvlc().libvlc_audio_get_track(mediaInstance.getInstance(), exception); return jvlc.getLibvlc().libvlc_audio_get_track(mediaInstance.getInstance(), exception);
} }
public int getTrackCount(MediaPlayer mediaInstance)
{
libvlc_exception_t exception = new libvlc_exception_t();
return jvlc.getLibvlc().libvlc_audio_get_track_count(mediaInstance.getInstance(), exception);
}
public void setTrack(MediaPlayer mediaInstance, int track) public void setTrack(MediaPlayer mediaInstance, int track)
{ {
libvlc_exception_t exception = new libvlc_exception_t(); libvlc_exception_t exception = new libvlc_exception_t();
......
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