Page 1 of 1

when to call libvlc_audio_get_track_count ?

Posted: 27 Jan 2016 14:35
by dongxf
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.

Re: when to call libvlc_audio_get_track_count ?

Posted: 27 Jan 2016 15:14
by RĂ©mi Denis-Courmont
ESAdded

Re: when to call libvlc_audio_get_track_count ?

Posted: 28 Jan 2016 12:40
by dongxf
ESAdded
I searched the whole vlc2.1.3 sources, did not find any information about ESAdded, could you tell me some detail ? thanks !

Re: when to call libvlc_audio_get_track_count ?

Posted: 28 Jun 2016 09:42
by Jean-Baptiste Kempf
libvlc_MediaPlayerESAdded