title: How to play an internal sound with BackgroundMediaPlayer from my Universal Windows App
body: <p>I'm creating a timer in C#. When the timer finishes the user will get a notification.</p>
  
  <p>If my app is gets suspended, I schedule a notification with the <code>ToastNotificationManager</code> and in the toast XML set the sound to an internal sound, e.g.:</p>
  
  <pre><code>&lt;audio src='ms-winsoundevent:Notification.Looping.Alarm10' loop='true'/&gt;
  </code></pre>
  
  <p>However if my app runs in the foreground I don't want to schedule a notification, but just play the sound with the BackgroundMediaPlayer.</p>
  
  <p>Of course I want to use the same alarm sound, as in the notification. But I haven't found a way to address the internal sounds there. </p>
  
  <p>I've found this:</p>
  
  <pre><code>BackgroundMediaPlayer.Current.SetUriSource(new Uri("ms-appx:///Assets/Sounds/alarm01.wav"));
              BackgroundMediaPlayer.Current.Play();
  </code></pre>
  
  <p>But this would require me to copy all system sounds to my app and I don't want to do that, since it would increase the size.</p>