Skip to content

Simple WinRT component for playing sound effects using XAudio2

License

Notifications You must be signed in to change notification settings

mztan/audioplayer

Repository files navigation

audioplayer

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+.

Features

  • Extremely easy to use
  • Supports playing multiple sounds at the same time (unlike MediaElement)
  • Abstracts away the complexities of DirectX

Usage

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.

About

Simple WinRT component for playing sound effects using XAudio2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published