title: MediaPlayer Universal Windows App
body: <p>I started to develop application using xamarin, and one of projects inside my solution is UWP. </p>
  
  <p>I need to play sound there when someone clicked button, I'm using MediaPlayer to achieve my goal, and on windows 10 (desktop) it works fine, but on my Windows Mobile 10 (Lumia 930) it starts with long delay (about 1 second).</p>
  
  <p>Below I provide my code to play audio source:</p>
  
  <pre><code>MediaPlayer _player = BackgroundMediaPlayer.Current;
  _player.SetUriSource(new Uri(String.Format("ms-appx:///Assets/Sound/5s.wav", UriKind.Absolute)));            
  _player.Play();
  </code></pre>
  
  <p><strong>My Question is:</strong></p>
  
  <p>Is there any other way to play audio in UWP than MediaPlayer?</p>