Adjusting volume in VLC using a C-program

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
pete^
New Cone
New Cone
Posts: 4
Joined: 25 May 2005 15:04

Adjusting volume in VLC using a C-program

Postby pete^ » 25 May 2005 15:34

Hi, I am a newbie programmer and I have written a C-program that open sound and video files in VLC(Using CreateProcess). I wonder how I can use the C-program to control the volume level in VLC. Do I use the console with the rc interface? How do I communicate between the C-program and the VLC console?

thanks in advance

pete

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 01 Jun 2005 17:37

Hello,

If you use the --rc-host 127.0.0.1:port command line option, you should be able to send commands to the rc interface using a tcp socket connected to 127.0.0.1:port (socket(), connect() and send() calls in C)
Zorglub
Clément Stenac

pete^
New Cone
New Cone
Posts: 4
Joined: 25 May 2005 15:04

Postby pete^ » 01 Jun 2005 21:09

It finally worked, thanks :)

pete


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests