Simple WinRT component for playing sound effects using XAudio2. Based on the MSDN XAudio2 sample but makes it easier to use. Supports Windows 8.1+ and Windows Phone 8.1+.
- Extremely easy to use
- Supports playing multiple sounds at the same time (unlike MediaElement)
- Abstracts away the complexities of DirectX
Em.Media.Playback.AudioPlayer player = new Em.Media.Playback.AudioPlayer();
player.PlaySound(new Uri("ms-appx:///Assets/your-sound.wav"));
Comments and pull requests are more than welcome.