AvailableAudioStreams

Mar 30, 2012 at 1:39 PM
Edited Mar 30, 2012 at 1:40 PM

Hi,

I am using a custom media plugin.

My SMF player is not showing the audio combobox with multiple tracks in it. I have verified that the clip I am playing actually has multiple language audio tracks using Windows Media Player.

What could be the reason?

Thanks.

 

Apr 5, 2012 at 3:41 PM

One simple reason: you're using a WMV file? Multiple audio streams are not supported out of the box by SMF.

I'm using MediaElement.AudioStreamCount and MediaElement.AudioStreamIndex to get/set those, with quite a lot of custom logic. There might be a better way though.