title: Change Audio Stream in VideoLan DotNet for WPF
body: <p>We're using <a href="http://vlcdotnet.codeplex.com/" rel="nofollow">VideoLan DotNet for WPF</a> to play DVD movies in our WPF application. Some movies have multiple audio stream. (for example in multiple languages) How can we choose the desired audio stream?<br>
  While searching <a href="https://wiki.videolan.org/VlcUserControl.cs/" rel="nofollow">VideoLan's Wiki</a>, I found this:</p>
  
  <pre><code>[Browsable(false)]
          [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
          public int AudioTrack
          {
              get
              {
                  return this.nativeVlc.GetVlcObjectInt(ObjectType.VLC_OBJECT_INPUT, "audio-es", -1);
              }
              set
              {
                  this.nativeVlc.SetVlcObjectInt(ObjectType.VLC_OBJECT_INPUT, "audio-es", value);
              }
          }
  </code></pre>
  
  <p>But I can't find the same property in the project I'm using (Vlc.DotNet)<br>
  So how can I detect how many audio streams exist and choose one?</p>