when to call libvlc_audio_get_track_count ?
Posted: 27 Jan 2016 14:35
Hi,
I need to get audio track infomations ASAP when I play a media file, I found when I call libvlc_audio_get_track_count just after play, it returns 0. I have to wait for about 2 seconds to get the correct result.
Does anyone know if there is a event to notify me it's ready to call libvlc_audio_get_track_count ?
Thanks.
I need to get audio track infomations ASAP when I play a media file, I found when I call libvlc_audio_get_track_count just after play, it returns 0. I have to wait for about 2 seconds to get the correct result.
Does anyone know if there is a event to notify me it's ready to call libvlc_audio_get_track_count ?
Thanks.