Home > other >  WPF to mp3
WPF to mp3

Time:03-10

Using WPF play mp3 have what good way of a network address, do not install third-party tools, had better not rely on Windows media player, currently in use is
 var player=new MediaPlayer (); 
Player. Open (new Uri (http://xxxx.mp3));
Player. MediaFailed +=(s, e)=& gt; {
Var x=e;
};
Player. MediaOpened +=(s, e)=& gt; {

Player, Play ();
};

This a 2 seconds of audio to load all five or six seconds (speed is good)
  • Related