how to set the audio channel c#

This forum is about all development around libVLC.
tsuncp
New Cone
New Cone
Posts: 2
Joined: 25 Feb 2014 12:02

how to set the audio channel c#

Postby tsuncp » 25 Feb 2014 12:12

i can play the video
however i cant set the audio channel to 3

always return -1 ..

Code: Select all

[DllImport("libvlc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] [SuppressUnmanagedCodeSecurity] public static extern int libvlc_audio_set_channel(IntPtr libvlc_media_player, int channel);

tsuncp
New Cone
New Cone
Posts: 2
Joined: 25 Feb 2014 12:02

Re: how to set the audio channel c#

Postby tsuncp » 26 Feb 2014 17:40

Found out the reason.

Need to ensure the video is playing , and wait some time , maybe delay 1 second to apply the change


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 44 guests