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

jvlc_audio: add missing function (get_track_count).

parent e143f0ec
......@@ -60,7 +60,7 @@ public class Audio
*/
public final int DOLBY_CHANNEL = 5;
public Audio(JVLC jvlc)
{
this.jvlc = jvlc;
......@@ -72,6 +72,12 @@ public class Audio
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)
{
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