Page 1 of 1

ActiveX detect end of stream

Posted: 28 Oct 2006 08:51
by JumpyVLC
Hello,
I'm making an audio player with VB 2005 and I was thinking of using VLC ActiveX.

This is how I open an audio file and start playing it:

Code: Select all

VLC.playlistClear() VLC.addTarget("D:\Track03.MP3", Nothing, AXVLC.VLCPlaylistMode.VLCPlayListInsert, 0) VLC.play()
But how can I detect the end of the audio track??
The pauseEvent, playEvent and stopEvent did not seem to work. And I could not find an event for end of stream!

Or should I use another component, since I do not need to use the built in playlist functions included in the ActiveX plugin?

PS: I have AutoLoop and AutoPlay disabled.[/code]