c# and activex audio channel
Posted: 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); <=== ???
}
}
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); <=== ???
}
}