How can I play a OGG sound file inside of my desktop WPF application?
Question
I just want a sound to play whenever a user clicks a button. Said sound is in OGG format.
Any help? :D
I tried using MediaPlayer, but that seems to be only for videos.
Solution
I really doubt there is native OGG format support in WPF. But you can find something in the Net... It looks like this CodeProject article is what you are looking for: .NET Implementation of an Ogg Vorbis Player.
Cheers
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow