Page 1 of 1
libvlc events and callbacks
Posted: 01 Mar 2008 02:10
by Kairos
I've downloaded the source and binaries for vlc 0.8.6e and have been using those to create a .net Interop wrapper for most functions defined in the new API
here. For the most part, everything works fine in the application I'm writing. The problem is that the new API doesn't seem to have any events or callbacks defined. How am I supposed to know when a file has finished playing? I could poll the libvlc, but I would have to do it every couple hundred milliseconds. With .net's overhead when using interop, I'm afraid to do this. It could easily tax slower cpus. To make things more confusing I've found
this page which lists an event manager that I could use, but I can't find it anywhere in the code (along with a lot of other structures listed on that page).
Re: libvlc events and callbacks
Posted: 01 Mar 2008 03:22
by Jean-Baptiste Kempf
the doxygen page is about the trunk version, which is NOT 0.8.6e, but 0.9.0.
Re: libvlc events and callbacks
Posted: 01 Mar 2008 04:43
by Kairos
Ah yes, I found daily builds and the SVN in the trunk, but no official release so I'm guessing its not stable yet? I'd much rather use the 0.9.0 version, how far away is that from a stable release? I know how its bad to ask when, but if the API isn't going to change and the release is within the next 3 months or so then I'd probably just use that version. Please forgive my questions if they seem dumb, I just started playing with vlc yesterday.
Re: libvlc events and callbacks
Posted: 01 Mar 2008 17:10
by Jean-Baptiste Kempf
This is a tricky question.
We are trying to freeze in the next days...
Re: libvlc events and callbacks
Posted: 20 Apr 2008 17:31
by anolae
Hello,
I hope you don't mind my bringing this topic up. I was just wondering how far you've gone with events. I have been trying to play around with them, but I can't seem to have them working properly.
Thanks for your time.
anolae