Get the current time of a track and print it
Posted: 18 Jun 2017 00:31
Hello, iam new into the libVLC developement, and iam actualy writing an audio reader using gtk+ and libvlc.
My actual problème is how can i catch the time of the music track iam playing and how can i print it on my mainwindow's program.
i get the time of the track by using libvlc_clock() function, but i dunno how can i print it in my mainwindow.i also wonder how to get the total music time of the track.
I searched in the doc of libvlc but iam a bit lost, so anyone can give me some help, that will be nice.
Thanks !
My actual problème is how can i catch the time of the music track iam playing and how can i print it on my mainwindow's program.
i get the time of the track by using libvlc_clock() function, but i dunno how can i print it in my mainwindow.i also wonder how to get the total music time of the track.
I searched in the doc of libvlc but iam a bit lost, so anyone can give me some help, that will be nice.
Thanks !