Postby mangokm40 » 04 Feb 2013 14:40
"Worked perfectly 2.0.0-2.0.4, 2.0.5 - not. Did API changed or what ?"
I am also having an issue. In 2.0.5, libvlc_audio_set_track() is returning 0, even when it fails to change the audio track. It also fails to change to track 0.
In a situation with where libvlc_audio_get_track_count() tells me there are 3 tracks, I get the following:
libvlc_audio_set_track(media_player, -6) ; // returns 0, no change in track
libvlc_audio_set_track(media_player, 2) ; // returns 0, current track becomes track #2
libvlc_audio_set_track(media_player, 1) ; // returns 0, current track becomes track #1
libvlc_audio_set_track(media_player, 0) ; // returns 0, no change in track
libvlc_audio_set_track(media_player, 3) ; // returns 0, no change in track
libvlc_audio_set_track(media_player, 5) ; // returns 0, no change in track