I would like to use the resource files in C# to play a .wav in Directx, but it only accepts a string argument. Is there any way to use Namespace.Properties.Resources. Thanks for any help.
You can always open the stream from the resource file and save it as a file in a temp location before you play it. When the program exits you can delete the temp directory with all the audio files in it if you choose.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.