c# and activex audio channel

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
caosu
New Cone
New Cone
Posts: 1
Joined: 20 Jan 2015 04:53

c# and activex audio channel

Postby caosu » 20 Jan 2015 05:10

Is there any documentation on how to change the audio channel in C#.
Sample code works with toggleMute() but cannot find anything about toggleAudioChannel()?

Thanks.



private void button1_Click(object sender, RoutedEventArgs e)
{
System.Windows.Forms.OpenFileDialog ofd = new System.Windows.Forms.OpenFileDialog();
ofd.ShowDialog();
if (ofd.FileName != "")
{
string fileName = @"file:///" + ofd.FileName;

vlc.addTarget(fileName, ":audio-track=0", AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);

vlc.play();
}
}

private void button2_Click(object sender, RoutedEventArgs e)
{
if (vlc.Playing == true) {
vlc.toggleMute();
vlc.setVariable(":audio-track", 2); <=== ???
}
}

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 41 guests