toggle or switch audio tracks
Posted: 09 Sep 2010 23:35
Hello,
I am a newbie in VLC and C#. But I would like to create a custom media player using C# and libVLC.net. I got this great project from here: viewtopic.php?f=32&t=58438 and after testing, debugging and trying to understands some of the code. I have a question and hope that somebody could help me.
I want to create a button click event that when I click it..I toggle or switch the audio from audio 1 to audio 2. Or from audio 2 to audio 1. Does anybody has the snippet code that I can use to play with? Ultimately, I want to set the player to play the audio stream that I specify. But at this moment. I'll just work a little at a time.
Thank you and greatly appreciated for your help...
I am a newbie in VLC and C#. But I would like to create a custom media player using C# and libVLC.net. I got this great project from here: viewtopic.php?f=32&t=58438 and after testing, debugging and trying to understands some of the code. I have a question and hope that somebody could help me.
I want to create a button click event that when I click it..I toggle or switch the audio from audio 1 to audio 2. Or from audio 2 to audio 1. Does anybody has the snippet code that I can use to play with? Ultimately, I want to set the player to play the audio stream that I specify. But at this moment. I'll just work a little at a time.
Thank you and greatly appreciated for your help...