This project has moved and is read-only. For the latest updates, please go here.

Playing ogg from resources

May 25, 2015 at 4:53 PM
Edited May 25, 2015 at 4:56 PM
Hello everyone!

I need to integrate my OGGs in the app (as content). That seems OK, but I need to play those files, too! And (probably I'm just stupid) I can't make NVorbis to play from MemoryStream or directly from Properties.Resources.background. Could somebody explain me how to do it? (Of course I can use NAudio compatiblity layer (already made a "self-fork" of my project with it), but the sound is awful; however, by that I can play my files from resources)
By the way, how can I make loop playback of the file?

Thanks in advance!