Page 1 of 1

C# & ActiveX : How to choose audio channel

Posted: 05 Jul 2006 20:53
by NewZ
First, Thanks everybody who try to start coding VLC with C# and put example codes here,
Now I can get it start.

Anyway, I don't know how to select audio channel to play.
Just like in VLC player, from menu Audio > Audio Channels > Stereo,Left,Right.
I really have no idea how to code it.

Are there any document about VLC ActiveX? any sdk?

could someone pls point me to the API guide

Posted: 20 Jul 2006 22:02
by tckitty
I would like to use the VLC media player but to control it programmatically. Can someone please tell me where I can find the API guide and the required ActiveX/dll for the VLC media? Thank you!

Posted: 23 Jul 2006 04:33
by Jack L
Try looking at this page http://people.videolan.org/~dionoea/vlc-plugin-demo/

Call up the http demo and look at the source code.

You can also look at the wiki for videolan and search for activeX. You will see some information on the control and what you can do.

Unfortunatly the documentation is sketchy and not always correct.

Posted: 24 Jul 2006 10:50
by Quovodis
the current documentation is either in the forum or the wiki, and we encourage users to update the wiki themselves, as developers don't usually have the time to write documentation, the ActiveX wiki is located

http://wiki.videolan.org/index.php/ActiveX

Posted: 24 Jul 2006 14:01
by Jack L
Quovodis,

I would be happy to update the wiki but I am having problems figuring out all the methods, settings, and variables for the activeX control.

If you have anything you could send me on what the settings are I will test them and add to the wiki.

One thing I do have is some sample code that I have developed. Would that be appropriate for the wiki?

An example of one problem is the documentation for setVariable says is
"Assigns a value to a variable that is defined in libvlc.c - controlname.setVariable name as String, value"
I don't know what variables are in libvlc.c. Is there any way to get this list?[/i]